{ "type": "Module", "span": { "start": 58, "end": 504, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 58, "end": 68, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 62, "end": 67, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 62, "end": 63, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": null }, "init": { "type": "NumericLiteral", "span": { "start": 66, "end": 67, "ctxt": 0 }, "value": 1.0 }, "definite": false } ] }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 78, "end": 79, "ctxt": 0 }, "value": "f", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 69, "end": 85, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 82, "end": 85, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 92, "end": 93, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 86, "end": 97, "ctxt": 0 }, "decorators": [], "body": [], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "TsInterfaceDeclaration", "span": { "start": 98, "end": 113, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 108, "end": 109, "ctxt": 0 }, "value": "I", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 110, "end": 113, "ctxt": 0 }, "body": [] } }, { "type": "TsEnumDeclaration", "span": { "start": 114, "end": 136, "ctxt": 0 }, "declare": false, "isConst": false, "id": { "type": "Identifier", "span": { "start": 119, "end": 120, "ctxt": 0 }, "value": "E", "optional": false }, "members": [ { "type": "TsEnumMember", "span": { "start": 127, "end": 128, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 127, "end": 128, "ctxt": 0 }, "value": "A", "optional": false }, "init": null }, { "type": "TsEnumMember", "span": { "start": 130, "end": 131, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 130, "end": 131, "ctxt": 0 }, "value": "B", "optional": false }, "init": null }, { "type": "TsEnumMember", "span": { "start": 133, "end": 134, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 133, "end": 134, "ctxt": 0 }, "value": "C", "optional": false }, "init": null } ] }, { "type": "TsEnumDeclaration", "span": { "start": 137, "end": 165, "ctxt": 0 }, "declare": false, "isConst": true, "id": { "type": "Identifier", "span": { "start": 148, "end": 149, "ctxt": 0 }, "value": "D", "optional": false }, "members": [ { "type": "TsEnumMember", "span": { "start": 156, "end": 157, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 156, "end": 157, "ctxt": 0 }, "value": "A", "optional": false }, "init": null }, { "type": "TsEnumMember", "span": { "start": 159, "end": 160, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 159, "end": 160, "ctxt": 0 }, "value": "B", "optional": false }, "init": null }, { "type": "TsEnumMember", "span": { "start": 162, "end": 163, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 162, "end": 163, "ctxt": 0 }, "value": "C", "optional": false }, "init": null } ] }, { "type": "TsModuleDeclaration", "span": { "start": 166, "end": 196, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 173, "end": 174, "ctxt": 0 }, "value": "M", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 175, "end": 196, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 181, "end": 194, "ctxt": 0 }, "declaration": { "type": "VariableDeclaration", "span": { "start": 188, "end": 194, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 192, "end": 193, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 192, "end": 193, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] } } ] } }, { "type": "TsModuleDeclaration", "span": { "start": 197, "end": 240, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 204, "end": 205, "ctxt": 0 }, "value": "N", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 206, "end": 240, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 212, "end": 238, "ctxt": 0 }, "declaration": { "type": "TsInterfaceDeclaration", "span": { "start": 219, "end": 238, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 229, "end": 230, "ctxt": 0 }, "value": "I", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 231, "end": 238, "ctxt": 0 }, "body": [] } } } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 241, "end": 257, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 246, "end": 247, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 250, "end": 256, "ctxt": 0 }, "kind": "number" } }, { "type": "TsImportEqualsDeclaration", "span": { "start": 258, "end": 273, "ctxt": 0 }, "declare": false, "isExport": false, "isTypeOnly": false, "id": { "type": "Identifier", "span": { "start": 265, "end": 266, "ctxt": 0 }, "value": "a", "optional": false }, "moduleRef": { "type": "TsQualifiedName", "left": { "type": "Identifier", "span": { "start": 269, "end": 270, "ctxt": 0 }, "value": "M", "optional": false }, "right": { "type": "Identifier", "span": { "start": 271, "end": 272, "ctxt": 0 }, "value": "x", "optional": false } } }, { "type": "ExportNamedDeclaration", "span": { "start": 275, "end": 315, "ctxt": 0 }, "specifiers": [ { "type": "ExportSpecifier", "span": { "start": 284, "end": 285, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 284, "end": 285, "ctxt": 0 }, "value": "v", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 287, "end": 288, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 287, "end": 288, "ctxt": 0 }, "value": "f", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 290, "end": 291, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 290, "end": 291, "ctxt": 0 }, "value": "C", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 293, "end": 294, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 293, "end": 294, "ctxt": 0 }, "value": "I", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 296, "end": 297, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 296, "end": 297, "ctxt": 0 }, "value": "E", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 299, "end": 300, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 299, "end": 300, "ctxt": 0 }, "value": "D", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 302, "end": 303, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 302, "end": 303, "ctxt": 0 }, "value": "M", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 305, "end": 306, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 305, "end": 306, "ctxt": 0 }, "value": "N", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 308, "end": 309, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 308, "end": 309, "ctxt": 0 }, "value": "T", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 311, "end": 312, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 311, "end": 312, "ctxt": 0 }, "value": "a", "optional": false }, "exported": null, "isTypeOnly": false } ], "source": null, "typeOnly": false, "asserts": null }, { "type": "ExportNamedDeclaration", "span": { "start": 337, "end": 389, "ctxt": 0 }, "specifiers": [ { "type": "ExportSpecifier", "span": { "start": 346, "end": 347, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 346, "end": 347, "ctxt": 0 }, "value": "v", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 349, "end": 350, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 349, "end": 350, "ctxt": 0 }, "value": "f", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 352, "end": 353, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 352, "end": 353, "ctxt": 0 }, "value": "C", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 355, "end": 356, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 355, "end": 356, "ctxt": 0 }, "value": "I", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 358, "end": 359, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 358, "end": 359, "ctxt": 0 }, "value": "E", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 361, "end": 362, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 361, "end": 362, "ctxt": 0 }, "value": "D", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 364, "end": 365, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 364, "end": 365, "ctxt": 0 }, "value": "M", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 367, "end": 368, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 367, "end": 368, "ctxt": 0 }, "value": "N", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 370, "end": 371, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 370, "end": 371, "ctxt": 0 }, "value": "T", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 373, "end": 374, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 373, "end": 374, "ctxt": 0 }, "value": "a", "optional": false }, "exported": null, "isTypeOnly": false } ], "source": { "type": "StringLiteral", "span": { "start": 382, "end": 388, "ctxt": 0 }, "value": "./t1", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } }, "typeOnly": false, "asserts": null }, { "type": "ImportDeclaration", "span": { "start": 411, "end": 463, "ctxt": 0 }, "specifiers": [ { "type": "ImportSpecifier", "span": { "start": 420, "end": 421, "ctxt": 0 }, "local": { "type": "Identifier", "span": { "start": 420, "end": 421, "ctxt": 0 }, "value": "v", "optional": false }, "imported": null, "isTypeOnly": false }, { "type": "ImportSpecifier", "span": { "start": 423, "end": 424, "ctxt": 0 }, "local": { "type": "Identifier", "span": { "start": 423, "end": 424, "ctxt": 0 }, "value": "f", "optional": false }, "imported": null, "isTypeOnly": false }, { "type": "ImportSpecifier", "span": { "start": 426, "end": 427, "ctxt": 0 }, "local": { "type": "Identifier", "span": { "start": 426, "end": 427, "ctxt": 0 }, "value": "C", "optional": false }, "imported": null, "isTypeOnly": false }, { "type": "ImportSpecifier", "span": { "start": 429, "end": 430, "ctxt": 0 }, "local": { "type": "Identifier", "span": { "start": 429, "end": 430, "ctxt": 0 }, "value": "I", "optional": false }, "imported": null, "isTypeOnly": false }, { "type": "ImportSpecifier", "span": { "start": 432, "end": 433, "ctxt": 0 }, "local": { "type": "Identifier", "span": { "start": 432, "end": 433, "ctxt": 0 }, "value": "E", "optional": false }, "imported": null, "isTypeOnly": false }, { "type": "ImportSpecifier", "span": { "start": 435, "end": 436, "ctxt": 0 }, "local": { "type": "Identifier", "span": { "start": 435, "end": 436, "ctxt": 0 }, "value": "D", "optional": false }, "imported": null, "isTypeOnly": false }, { "type": "ImportSpecifier", "span": { "start": 438, "end": 439, "ctxt": 0 }, "local": { "type": "Identifier", "span": { "start": 438, "end": 439, "ctxt": 0 }, "value": "M", "optional": false }, "imported": null, "isTypeOnly": false }, { "type": "ImportSpecifier", "span": { "start": 441, "end": 442, "ctxt": 0 }, "local": { "type": "Identifier", "span": { "start": 441, "end": 442, "ctxt": 0 }, "value": "N", "optional": false }, "imported": null, "isTypeOnly": false }, { "type": "ImportSpecifier", "span": { "start": 444, "end": 445, "ctxt": 0 }, "local": { "type": "Identifier", "span": { "start": 444, "end": 445, "ctxt": 0 }, "value": "T", "optional": false }, "imported": null, "isTypeOnly": false }, { "type": "ImportSpecifier", "span": { "start": 447, "end": 448, "ctxt": 0 }, "local": { "type": "Identifier", "span": { "start": 447, "end": 448, "ctxt": 0 }, "value": "a", "optional": false }, "imported": null, "isTypeOnly": false } ], "source": { "type": "StringLiteral", "span": { "start": 456, "end": 462, "ctxt": 0 }, "value": "./t1", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } }, "typeOnly": false, "asserts": null }, { "type": "ExportNamedDeclaration", "span": { "start": 464, "end": 504, "ctxt": 0 }, "specifiers": [ { "type": "ExportSpecifier", "span": { "start": 473, "end": 474, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 473, "end": 474, "ctxt": 0 }, "value": "v", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 476, "end": 477, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 476, "end": 477, "ctxt": 0 }, "value": "f", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 479, "end": 480, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 479, "end": 480, "ctxt": 0 }, "value": "C", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 482, "end": 483, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 482, "end": 483, "ctxt": 0 }, "value": "I", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 485, "end": 486, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 485, "end": 486, "ctxt": 0 }, "value": "E", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 488, "end": 489, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 488, "end": 489, "ctxt": 0 }, "value": "D", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 491, "end": 492, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 491, "end": 492, "ctxt": 0 }, "value": "M", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 494, "end": 495, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 494, "end": 495, "ctxt": 0 }, "value": "N", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 497, "end": 498, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 497, "end": 498, "ctxt": 0 }, "value": "T", "optional": false }, "exported": null, "isTypeOnly": false }, { "type": "ExportSpecifier", "span": { "start": 500, "end": 501, "ctxt": 0 }, "orig": { "type": "Identifier", "span": { "start": 500, "end": 501, "ctxt": 0 }, "value": "a", "optional": false }, "exported": null, "isTypeOnly": false } ], "source": null, "typeOnly": false, "asserts": null } ], "interpreter": null }