{ "type": "Script", "span": { "start": 0, "end": 361, "ctxt": 0 }, "body": [ { "type": "TsModuleDeclaration", "span": { "start": 0, "end": 85, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 7, "end": 8, "ctxt": 0 }, "value": "A", "optional": false }, "body": { "type": "TsNamespaceDeclaration", "span": { "start": 9, "end": 85, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 9, "end": 10, "ctxt": 0 }, "value": "B", "optional": false }, "body": { "type": "TsNamespaceDeclaration", "span": { "start": 11, "end": 85, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 11, "end": 12, "ctxt": 0 }, "value": "C", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 13, "end": 85, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 19, "end": 83, "ctxt": 0 }, "declaration": { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 32, "end": 37, "ctxt": 0 }, "value": "Point", "optional": false }, "declare": false, "span": { "start": 26, "end": 83, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 48, "end": 58, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 48, "end": 49, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 49, "end": 57, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 51, "end": 57, "ctxt": 0 }, "kind": "number" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassProperty", "span": { "start": 67, "end": 77, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 67, "end": 68, "ctxt": 0 }, "value": "y", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 68, "end": 76, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 70, "end": 76, "ctxt": 0 }, "kind": "number" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } } ] } } } }, { "type": "TsModuleDeclaration", "span": { "start": 87, "end": 197, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 94, "end": 95, "ctxt": 0 }, "value": "A", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 96, "end": 197, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 102, "end": 195, "ctxt": 0 }, "declaration": { "type": "TsModuleDeclaration", "span": { "start": 109, "end": 195, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 116, "end": 117, "ctxt": 0 }, "value": "B", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 118, "end": 195, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 128, "end": 189, "ctxt": 0 }, "declaration": { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 141, "end": 142, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 135, "end": 189, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 166, "end": 179, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 166, "end": 170, "ctxt": 0 }, "value": "name", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 170, "end": 178, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 172, "end": 178, "ctxt": 0 }, "kind": "string" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } } ] } } } ] } }, { "type": "TsModuleDeclaration", "span": { "start": 199, "end": 275, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 206, "end": 208, "ctxt": 0 }, "value": "M2", "optional": false }, "body": { "type": "TsNamespaceDeclaration", "span": { "start": 209, "end": 275, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 209, "end": 210, "ctxt": 0 }, "value": "X", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 211, "end": 275, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 217, "end": 273, "ctxt": 0 }, "declaration": { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 230, "end": 235, "ctxt": 0 }, "value": "Point", "optional": false }, "declare": false, "span": { "start": 224, "end": 273, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 246, "end": 256, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 246, "end": 247, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 247, "end": 255, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 249, "end": 255, "ctxt": 0 }, "kind": "number" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassProperty", "span": { "start": 257, "end": 267, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 257, "end": 258, "ctxt": 0 }, "value": "y", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 258, "end": 266, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 260, "end": 266, "ctxt": 0 }, "kind": "number" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } } ] } } }, { "type": "TsModuleDeclaration", "span": { "start": 277, "end": 361, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 284, "end": 286, "ctxt": 0 }, "value": "M2", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 287, "end": 361, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 293, "end": 359, "ctxt": 0 }, "declaration": { "type": "TsModuleDeclaration", "span": { "start": 300, "end": 359, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 307, "end": 308, "ctxt": 0 }, "value": "X", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 309, "end": 359, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 319, "end": 344, "ctxt": 0 }, "declaration": { "type": "VariableDeclaration", "span": { "start": 326, "end": 344, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 330, "end": 343, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 330, "end": 335, "ctxt": 0 }, "value": "Point", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 335, "end": 343, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 337, "end": 343, "ctxt": 0 }, "kind": "number" } } }, "init": null, "definite": false } ] } } ] } } } ] } } ], "interpreter": null }