{ "type": "Script", "span": { "start": 1, "end": 297, "ctxt": 0 }, "body": [ { "type": "TsModuleDeclaration", "span": { "start": 1, "end": 165, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 8, "end": 9, "ctxt": 0 }, "value": "M", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 10, "end": 165, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 16, "end": 37, "ctxt": 0 }, "declaration": { "type": "VariableDeclaration", "span": { "start": 23, "end": 37, "ctxt": 0 }, "kind": "var", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 35, "end": 36, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 35, "end": 36, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] } }, { "type": "ExportDeclaration", "span": { "start": 42, "end": 70, "ctxt": 0 }, "declaration": { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 66, "end": 67, "ctxt": 0 }, "value": "f", "optional": false }, "declare": true, "params": [], "decorators": [], "span": { "start": 49, "end": 70, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": null } }, { "type": "ExportDeclaration", "span": { "start": 75, "end": 101, "ctxt": 0 }, "declaration": { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 96, "end": 97, "ctxt": 0 }, "value": "C", "optional": false }, "declare": true, "span": { "start": 82, "end": 101, "ctxt": 0 }, "decorators": [], "body": [], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } }, { "type": "ExportDeclaration", "span": { "start": 106, "end": 131, "ctxt": 0 }, "declaration": { "type": "TsEnumDeclaration", "span": { "start": 113, "end": 131, "ctxt": 0 }, "declare": true, "isConst": false, "id": { "type": "Identifier", "span": { "start": 126, "end": 127, "ctxt": 0 }, "value": "E", "optional": false }, "members": [] } }, { "type": "ExportDeclaration", "span": { "start": 136, "end": 163, "ctxt": 0 }, "declaration": { "type": "TsModuleDeclaration", "span": { "start": 143, "end": 163, "ctxt": 0 }, "declare": true, "global": false, "id": { "type": "Identifier", "span": { "start": 158, "end": 159, "ctxt": 0 }, "value": "M", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 160, "end": 163, "ctxt": 0 }, "body": [] } } } ] } }, { "type": "TsModuleDeclaration", "span": { "start": 167, "end": 297, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 174, "end": 176, "ctxt": 0 }, "value": "M2", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 177, "end": 297, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 183, "end": 197, "ctxt": 0 }, "kind": "var", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 195, "end": 196, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 195, "end": 196, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 219, "end": 220, "ctxt": 0 }, "value": "f", "optional": false }, "declare": true, "params": [], "decorators": [], "span": { "start": 202, "end": 223, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 242, "end": 243, "ctxt": 0 }, "value": "C", "optional": false }, "declare": true, "span": { "start": 228, "end": 247, "ctxt": 0 }, "decorators": [], "body": [], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "TsEnumDeclaration", "span": { "start": 252, "end": 270, "ctxt": 0 }, "declare": true, "isConst": false, "id": { "type": "Identifier", "span": { "start": 265, "end": 266, "ctxt": 0 }, "value": "E", "optional": false }, "members": [] }, { "type": "TsModuleDeclaration", "span": { "start": 275, "end": 295, "ctxt": 0 }, "declare": true, "global": false, "id": { "type": "Identifier", "span": { "start": 290, "end": 291, "ctxt": 0 }, "value": "M", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 292, "end": 295, "ctxt": 0 }, "body": [] } } ] } } ], "interpreter": null }