• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "type": "Program",
3  "statements": [
4    {
5      "type": "TSInterfaceDeclaration",
6      "body": {
7        "type": "TSInterfaceBody",
8        "body": [],
9        "loc": {
10          "start": {
11            "line": 21,
12            "column": 20,
13            "program": "exports.ets"
14          },
15          "end": {
16            "line": 21,
17            "column": 22,
18            "program": "exports.ets"
19          }
20        }
21      },
22      "id": {
23        "type": "Identifier",
24        "name": "I",
25        "decorators": [],
26        "loc": {
27          "start": {
28            "line": 21,
29            "column": 18,
30            "program": "exports.ets"
31          },
32          "end": {
33            "line": 21,
34            "column": 19,
35            "program": "exports.ets"
36          }
37        }
38      },
39      "extends": [],
40      "loc": {
41        "start": {
42          "line": 21,
43          "column": 8,
44          "program": "exports.ets"
45        },
46        "end": {
47          "line": 22,
48          "column": 7,
49          "program": "exports.ets"
50        }
51      }
52    },
53    {
54      "type": "ClassDeclaration",
55      "definition": {
56        "id": {
57          "type": "Identifier",
58          "name": "C",
59          "decorators": [],
60          "loc": {
61            "start": {
62              "line": 22,
63              "column": 14,
64              "program": "exports.ets"
65            },
66            "end": {
67              "line": 22,
68              "column": 15,
69              "program": "exports.ets"
70            }
71          }
72        },
73        "superClass": null,
74        "implements": [],
75        "body": [
76          {
77            "type": "MethodDefinition",
78            "key": {
79              "type": "Identifier",
80              "name": "constructor",
81              "decorators": [],
82              "loc": {
83                "start": {
84                  "line": 22,
85                  "column": 17,
86                  "program": "exports.ets"
87                },
88                "end": {
89                  "line": 22,
90                  "column": 17,
91                  "program": "exports.ets"
92                }
93              }
94            },
95            "kind": "constructor",
96            "static": false,
97            "optional": false,
98            "computed": false,
99            "value": {
100              "type": "FunctionExpression",
101              "function": {
102                "type": "ScriptFunction",
103                "id": {
104                  "type": "Identifier",
105                  "name": "constructor",
106                  "decorators": [],
107                  "loc": {
108                    "start": {
109                      "line": 22,
110                      "column": 17,
111                      "program": "exports.ets"
112                    },
113                    "end": {
114                      "line": 22,
115                      "column": 17,
116                      "program": "exports.ets"
117                    }
118                  }
119                },
120                "generator": false,
121                "async": false,
122                "expression": false,
123                "params": [],
124                "body": {
125                  "type": "BlockStatement",
126                  "statements": [],
127                  "loc": {
128                    "start": {
129                      "line": 22,
130                      "column": 17,
131                      "program": "exports.ets"
132                    },
133                    "end": {
134                      "line": 22,
135                      "column": 17,
136                      "program": "exports.ets"
137                    }
138                  }
139                },
140                "loc": {
141                  "start": {
142                    "line": 22,
143                    "column": 17,
144                    "program": "exports.ets"
145                  },
146                  "end": {
147                    "line": 22,
148                    "column": 17,
149                    "program": "exports.ets"
150                  }
151                }
152              },
153              "loc": {
154                "start": {
155                  "line": 22,
156                  "column": 17,
157                  "program": "exports.ets"
158                },
159                "end": {
160                  "line": 22,
161                  "column": 17,
162                  "program": "exports.ets"
163                }
164              }
165            },
166            "overloads": [],
167            "decorators": [],
168            "loc": {
169              "start": {
170                "line": 1,
171                "column": 1,
172                "program": null
173              },
174              "end": {
175                "line": 1,
176                "column": 1,
177                "program": null
178              }
179            }
180          }
181        ],
182        "loc": {
183          "start": {
184            "line": 22,
185            "column": 16,
186            "program": "exports.ets"
187          },
188          "end": {
189            "line": 24,
190            "column": 7,
191            "program": "exports.ets"
192          }
193        }
194      },
195      "loc": {
196        "start": {
197          "line": 22,
198          "column": 8,
199          "program": "exports.ets"
200        },
201        "end": {
202          "line": 24,
203          "column": 7,
204          "program": "exports.ets"
205        }
206      }
207    },
208    {
209      "type": "TSTypeAliasDeclaration",
210      "id": {
211        "type": "Identifier",
212        "name": "STD_Number_Name",
213        "decorators": [],
214        "loc": {
215          "start": {
216            "line": 24,
217            "column": 13,
218            "program": "exports.ets"
219          },
220          "end": {
221            "line": 24,
222            "column": 28,
223            "program": "exports.ets"
224          }
225        }
226      },
227      "typeAnnotation": {
228        "type": "ETSPrimitiveType",
229        "loc": {
230          "start": {
231            "line": 24,
232            "column": 31,
233            "program": "exports.ets"
234          },
235          "end": {
236            "line": 24,
237            "column": 37,
238            "program": "exports.ets"
239          }
240        }
241      },
242      "loc": {
243        "start": {
244          "line": 24,
245          "column": 8,
246          "program": "exports.ets"
247        },
248        "end": {
249          "line": 24,
250          "column": 38,
251          "program": "exports.ets"
252        }
253      }
254    },
255    {
256      "type": "ClassDeclaration",
257      "definition": {
258        "id": {
259          "type": "Identifier",
260          "name": "ETSGLOBAL",
261          "decorators": [],
262          "loc": {
263            "start": {
264              "line": 1,
265              "column": 1,
266              "program": "exports.ets"
267            },
268            "end": {
269              "line": 1,
270              "column": 1,
271              "program": "exports.ets"
272            }
273          }
274        },
275        "superClass": null,
276        "implements": [],
277        "body": [
278          {
279            "type": "MethodDefinition",
280            "key": {
281              "type": "Identifier",
282              "name": "main",
283              "decorators": [],
284              "loc": {
285                "start": {
286                  "line": 1,
287                  "column": 1,
288                  "program": null
289                },
290                "end": {
291                  "line": 1,
292                  "column": 1,
293                  "program": null
294                }
295              }
296            },
297            "kind": "method",
298            "accessibility": "public",
299            "static": true,
300            "optional": false,
301            "computed": false,
302            "value": {
303              "type": "FunctionExpression",
304              "function": {
305                "type": "ScriptFunction",
306                "id": {
307                  "type": "Identifier",
308                  "name": "main",
309                  "decorators": [],
310                  "loc": {
311                    "start": {
312                      "line": 1,
313                      "column": 1,
314                      "program": null
315                    },
316                    "end": {
317                      "line": 1,
318                      "column": 1,
319                      "program": null
320                    }
321                  }
322                },
323                "generator": false,
324                "async": false,
325                "expression": false,
326                "params": [],
327                "body": {
328                  "type": "BlockStatement",
329                  "statements": [],
330                  "loc": {
331                    "start": {
332                      "line": 1,
333                      "column": 1,
334                      "program": null
335                    },
336                    "end": {
337                      "line": 1,
338                      "column": 1,
339                      "program": null
340                    }
341                  }
342                },
343                "loc": {
344                  "start": {
345                    "line": 1,
346                    "column": 1,
347                    "program": null
348                  },
349                  "end": {
350                    "line": 1,
351                    "column": 1,
352                    "program": null
353                  }
354                }
355              },
356              "loc": {
357                "start": {
358                  "line": 1,
359                  "column": 1,
360                  "program": null
361                },
362                "end": {
363                  "line": 1,
364                  "column": 1,
365                  "program": null
366                }
367              }
368            },
369            "overloads": [],
370            "decorators": [],
371            "loc": {
372              "start": {
373                "line": 1,
374                "column": 1,
375                "program": "exports.ets"
376              },
377              "end": {
378                "line": 1,
379                "column": 1,
380                "program": "exports.ets"
381              }
382            }
383          },
384          {
385            "type": "MethodDefinition",
386            "key": {
387              "type": "Identifier",
388              "name": "_$init$_",
389              "decorators": [],
390              "loc": {
391                "start": {
392                  "line": 1,
393                  "column": 1,
394                  "program": null
395                },
396                "end": {
397                  "line": 1,
398                  "column": 1,
399                  "program": null
400                }
401              }
402            },
403            "kind": "method",
404            "accessibility": "public",
405            "static": true,
406            "optional": false,
407            "computed": false,
408            "value": {
409              "type": "FunctionExpression",
410              "function": {
411                "type": "ScriptFunction",
412                "id": {
413                  "type": "Identifier",
414                  "name": "_$init$_",
415                  "decorators": [],
416                  "loc": {
417                    "start": {
418                      "line": 1,
419                      "column": 1,
420                      "program": null
421                    },
422                    "end": {
423                      "line": 1,
424                      "column": 1,
425                      "program": null
426                    }
427                  }
428                },
429                "generator": false,
430                "async": false,
431                "expression": false,
432                "params": [],
433                "body": {
434                  "type": "BlockStatement",
435                  "statements": [
436                    {
437                      "type": "ExpressionStatement",
438                      "expression": {
439                        "type": "AssignmentExpression",
440                        "operator": "=",
441                        "left": {
442                          "type": "Identifier",
443                          "name": "a",
444                          "decorators": [],
445                          "loc": {
446                            "start": {
447                              "line": 16,
448                              "column": 12,
449                              "program": "exports.ets"
450                            },
451                            "end": {
452                              "line": 16,
453                              "column": 13,
454                              "program": "exports.ets"
455                            }
456                          }
457                        },
458                        "right": {
459                          "type": "NumberLiteral",
460                          "value": 11,
461                          "loc": {
462                            "start": {
463                              "line": 16,
464                              "column": 16,
465                              "program": "exports.ets"
466                            },
467                            "end": {
468                              "line": 16,
469                              "column": 18,
470                              "program": "exports.ets"
471                            }
472                          }
473                        },
474                        "loc": {
475                          "start": {
476                            "line": 16,
477                            "column": 12,
478                            "program": "exports.ets"
479                          },
480                          "end": {
481                            "line": 16,
482                            "column": 18,
483                            "program": "exports.ets"
484                          }
485                        }
486                      },
487                      "loc": {
488                        "start": {
489                          "line": 16,
490                          "column": 12,
491                          "program": "exports.ets"
492                        },
493                        "end": {
494                          "line": 16,
495                          "column": 18,
496                          "program": "exports.ets"
497                        }
498                      }
499                    }
500                  ],
501                  "loc": {
502                    "start": {
503                      "line": 1,
504                      "column": 1,
505                      "program": null
506                    },
507                    "end": {
508                      "line": 1,
509                      "column": 1,
510                      "program": null
511                    }
512                  }
513                },
514                "loc": {
515                  "start": {
516                    "line": 1,
517                    "column": 1,
518                    "program": null
519                  },
520                  "end": {
521                    "line": 1,
522                    "column": 1,
523                    "program": null
524                  }
525                }
526              },
527              "loc": {
528                "start": {
529                  "line": 1,
530                  "column": 1,
531                  "program": null
532                },
533                "end": {
534                  "line": 1,
535                  "column": 1,
536                  "program": null
537                }
538              }
539            },
540            "overloads": [],
541            "decorators": [],
542            "loc": {
543              "start": {
544                "line": 1,
545                "column": 1,
546                "program": "exports.ets"
547              },
548              "end": {
549                "line": 1,
550                "column": 1,
551                "program": "exports.ets"
552              }
553            }
554          },
555          {
556            "type": "ClassProperty",
557            "key": {
558              "type": "Identifier",
559              "name": "a",
560              "decorators": [],
561              "loc": {
562                "start": {
563                  "line": 16,
564                  "column": 12,
565                  "program": "exports.ets"
566                },
567                "end": {
568                  "line": 16,
569                  "column": 13,
570                  "program": "exports.ets"
571                }
572              }
573            },
574            "value": {
575              "type": "NumberLiteral",
576              "value": 11,
577              "loc": {
578                "start": {
579                  "line": 16,
580                  "column": 16,
581                  "program": "exports.ets"
582                },
583                "end": {
584                  "line": 16,
585                  "column": 18,
586                  "program": "exports.ets"
587                }
588              }
589            },
590            "accessibility": "public",
591            "static": true,
592            "readonly": false,
593            "declare": false,
594            "optional": false,
595            "computed": false,
596            "definite": false,
597            "decorators": [],
598            "loc": {
599              "start": {
600                "line": 16,
601                "column": 12,
602                "program": "exports.ets"
603              },
604              "end": {
605                "line": 16,
606                "column": 18,
607                "program": "exports.ets"
608              }
609            }
610          },
611          {
612            "type": "ClassProperty",
613            "key": {
614              "type": "Identifier",
615              "name": "b",
616              "decorators": [],
617              "loc": {
618                "start": {
619                  "line": 17,
620                  "column": 14,
621                  "program": "exports.ets"
622                },
623                "end": {
624                  "line": 17,
625                  "column": 15,
626                  "program": "exports.ets"
627                }
628              }
629            },
630            "value": {
631              "type": "NumberLiteral",
632              "value": 12,
633              "loc": {
634                "start": {
635                  "line": 17,
636                  "column": 18,
637                  "program": "exports.ets"
638                },
639                "end": {
640                  "line": 17,
641                  "column": 20,
642                  "program": "exports.ets"
643                }
644              }
645            },
646            "accessibility": "public",
647            "static": true,
648            "readonly": false,
649            "declare": false,
650            "optional": false,
651            "computed": false,
652            "definite": false,
653            "decorators": [],
654            "loc": {
655              "start": {
656                "line": 17,
657                "column": 14,
658                "program": "exports.ets"
659              },
660              "end": {
661                "line": 17,
662                "column": 20,
663                "program": "exports.ets"
664              }
665            }
666          },
667          {
668            "type": "MethodDefinition",
669            "key": {
670              "type": "Identifier",
671              "name": "f",
672              "decorators": [],
673              "loc": {
674                "start": {
675                  "line": 19,
676                  "column": 17,
677                  "program": "exports.ets"
678                },
679                "end": {
680                  "line": 19,
681                  "column": 18,
682                  "program": "exports.ets"
683                }
684              }
685            },
686            "kind": "method",
687            "accessibility": "public",
688            "static": true,
689            "optional": false,
690            "computed": false,
691            "value": {
692              "type": "FunctionExpression",
693              "function": {
694                "type": "ScriptFunction",
695                "id": {
696                  "type": "Identifier",
697                  "name": "f",
698                  "decorators": [],
699                  "loc": {
700                    "start": {
701                      "line": 19,
702                      "column": 17,
703                      "program": "exports.ets"
704                    },
705                    "end": {
706                      "line": 19,
707                      "column": 18,
708                      "program": "exports.ets"
709                    }
710                  }
711                },
712                "generator": false,
713                "async": false,
714                "expression": false,
715                "params": [],
716                "returnType": {
717                  "type": "ETSPrimitiveType",
718                  "loc": {
719                    "start": {
720                      "line": 19,
721                      "column": 22,
722                      "program": "exports.ets"
723                    },
724                    "end": {
725                      "line": 19,
726                      "column": 26,
727                      "program": "exports.ets"
728                    }
729                  }
730                },
731                "body": {
732                  "type": "BlockStatement",
733                  "statements": [],
734                  "loc": {
735                    "start": {
736                      "line": 19,
737                      "column": 27,
738                      "program": "exports.ets"
739                    },
740                    "end": {
741                      "line": 19,
742                      "column": 29,
743                      "program": "exports.ets"
744                    }
745                  }
746                },
747                "loc": {
748                  "start": {
749                    "line": 19,
750                    "column": 17,
751                    "program": "exports.ets"
752                  },
753                  "end": {
754                    "line": 19,
755                    "column": 29,
756                    "program": "exports.ets"
757                  }
758                }
759              },
760              "loc": {
761                "start": {
762                  "line": 19,
763                  "column": 17,
764                  "program": "exports.ets"
765                },
766                "end": {
767                  "line": 19,
768                  "column": 29,
769                  "program": "exports.ets"
770                }
771              }
772            },
773            "overloads": [],
774            "decorators": [],
775            "loc": {
776              "start": {
777                "line": 19,
778                "column": 8,
779                "program": "exports.ets"
780              },
781              "end": {
782                "line": 19,
783                "column": 29,
784                "program": "exports.ets"
785              }
786            }
787          }
788        ],
789        "loc": {
790          "start": {
791            "line": 1,
792            "column": 1,
793            "program": "exports.ets"
794          },
795          "end": {
796            "line": 1,
797            "column": 1,
798            "program": "exports.ets"
799          }
800        }
801      },
802      "loc": {
803        "start": {
804          "line": 1,
805          "column": 1,
806          "program": "exports.ets"
807        },
808        "end": {
809          "line": 1,
810          "column": 1,
811          "program": "exports.ets"
812        }
813      }
814    }
815  ],
816  "loc": {
817    "start": {
818      "line": 1,
819      "column": 1,
820      "program": "exports.ets"
821    },
822    "end": {
823      "line": 25,
824      "column": 1,
825      "program": "exports.ets"
826    }
827  }
828}
829