{ "type": "Program", "statements": [ { "type": "TSModuleDeclaration", "id": { "type": "StringLiteral", "value": "ModuleSub", "loc": { "start": { "line": 18, "column": 16 }, "end": { "line": 18, "column": 27 } } }, "body": { "type": "TSModuleBlock", "body": [ { "type": "TSImportEqualsDeclaration", "id": { "type": "Identifier", "name": "TargetModule", "loc": { "start": { "line": 19, "column": 12 }, "end": { "line": 19, "column": 24 } } }, "moduleReference": { "type": "TSExternalModuleReference", "expression": { "type": "StringLiteral", "value": "TargetModule", "loc": { "start": { "line": 19, "column": 35 }, "end": { "line": 19, "column": 49 } } }, "loc": { "start": { "line": 19, "column": 27 }, "end": { "line": 19, "column": 50 } } }, "isExport": false, "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 51 } } }, { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "ModuleSub", "loc": { "start": { "line": 20, "column": 11 }, "end": { "line": 20, "column": 20 } } }, "superClass": null, "implements": [], "constructor": { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "constructor", "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 20 } } }, "kind": "constructor", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [], "loc": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 23 } } }, "loc": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 23 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 23 } } }, "body": [ { "type": "ClassProperty", "key": { "type": "Identifier", "name": "StaticVar", "loc": { "start": { "line": 21, "column": 23 }, "end": { "line": 21, "column": 32 } } }, "accessibility": "public", "static": true, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 21, "column": 34 }, "end": { "line": 21, "column": 40 } } }, "decorators": [], "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 32 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "InsVar", "loc": { "start": { "line": 22, "column": 16 }, "end": { "line": 22, "column": 22 } } }, "accessibility": "public", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 22, "column": 24 }, "end": { "line": 22, "column": 30 } } }, "decorators": [], "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 22 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "main", "loc": { "start": { "line": 23, "column": 16 }, "end": { "line": 23, "column": 20 } } }, "accessibility": "public", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "TSTypeReference", "typeName": { "type": "Identifier", "name": "TargetModule", "loc": { "start": { "line": 23, "column": 22 }, "end": { "line": 23, "column": 34 } } }, "loc": { "start": { "line": 23, "column": 22 }, "end": { "line": 23, "column": 34 } } }, "decorators": [], "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 20 } } } ], "indexSignatures": [], "loc": { "start": { "line": 20, "column": 21 }, "end": { "line": 25, "column": 6 } } }, "decorators": [], "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 25, "column": 6 } } }, { "type": "TSExportAssignment", "declaration": { "type": "Identifier", "name": "ModuleSub", "loc": { "start": { "line": 26, "column": 14 }, "end": { "line": 26, "column": 23 } } }, "loc": { "start": { "line": 26, "column": 5 }, "end": { "line": 26, "column": 24 } } } ], "loc": { "start": { "line": 18, "column": 28 }, "end": { "line": 27, "column": 2 } } }, "declare": true, "global": false, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 29, "column": 8 } } }, { "type": "TSModuleDeclaration", "id": { "type": "StringLiteral", "value": "TargetModule", "loc": { "start": { "line": 29, "column": 16 }, "end": { "line": 29, "column": 30 } } }, "body": { "type": "TSModuleBlock", "body": [ { "type": "TSImportEqualsDeclaration", "id": { "type": "Identifier", "name": "ModuleSub", "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 21 } } }, "moduleReference": { "type": "TSExternalModuleReference", "expression": { "type": "StringLiteral", "value": "ModuleSub", "loc": { "start": { "line": 30, "column": 32 }, "end": { "line": 30, "column": 43 } } }, "loc": { "start": { "line": 30, "column": 24 }, "end": { "line": 30, "column": 44 } } }, "isExport": false, "loc": { "start": { "line": 30, "column": 5 }, "end": { "line": 30, "column": 45 } } }, { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "TargetModule", "loc": { "start": { "line": 31, "column": 11 }, "end": { "line": 31, "column": 23 } } }, "superClass": null, "implements": [], "constructor": { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "constructor", "loc": { "start": { "line": 33, "column": 9 }, "end": { "line": 33, "column": 20 } } }, "kind": "constructor", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [], "loc": { "start": { "line": 33, "column": 20 }, "end": { "line": 33, "column": 23 } } }, "loc": { "start": { "line": 33, "column": 20 }, "end": { "line": 33, "column": 23 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 33, "column": 9 }, "end": { "line": 33, "column": 23 } } }, "body": [ { "type": "ClassProperty", "key": { "type": "Identifier", "name": "moduleSub", "loc": { "start": { "line": 32, "column": 16 }, "end": { "line": 32, "column": 25 } } }, "accessibility": "public", "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "TSTypeReference", "typeName": { "type": "Identifier", "name": "ModuleSub", "loc": { "start": { "line": 32, "column": 27 }, "end": { "line": 32, "column": 36 } } }, "loc": { "start": { "line": 32, "column": 27 }, "end": { "line": 32, "column": 36 } } }, "decorators": [], "loc": { "start": { "line": 32, "column": 9 }, "end": { "line": 32, "column": 25 } } } ], "indexSignatures": [], "loc": { "start": { "line": 31, "column": 24 }, "end": { "line": 34, "column": 6 } } }, "decorators": [], "loc": { "start": { "line": 31, "column": 5 }, "end": { "line": 34, "column": 6 } } }, { "type": "TSExportAssignment", "declaration": { "type": "Identifier", "name": "TargetModule", "loc": { "start": { "line": 35, "column": 14 }, "end": { "line": 35, "column": 26 } } }, "loc": { "start": { "line": 35, "column": 5 }, "end": { "line": 35, "column": 27 } } } ], "loc": { "start": { "line": 29, "column": 31 }, "end": { "line": 36, "column": 2 } } }, "declare": true, "global": false, "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 37, "column": 1 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 37, "column": 1 } } }