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