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