{ "type": "Script", "span": { "start": 1, "end": 219, "ctxt": 0 }, "body": [ { "type": "TsModuleDeclaration", "span": { "start": 1, "end": 97, "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": 97, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 16, "end": 59, "ctxt": 0 }, "declaration": { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 29, "end": 34, "ctxt": 0 }, "value": "Point", "optional": false }, "declare": false, "span": { "start": 23, "end": 59, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 37, "end": 47, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 37, "end": 38, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 38, "end": 46, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 40, "end": 46, "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": 48, "end": 57, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 48, "end": 49, "ctxt": 0 }, "value": "y", "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 } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } }, { "type": "ExportDeclaration", "span": { "start": 64, "end": 85, "ctxt": 0 }, "declaration": { "type": "VariableDeclaration", "span": { "start": 71, "end": 85, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 75, "end": 84, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 75, "end": 80, "ctxt": 0 }, "value": "Point", "optional": false, "typeAnnotation": null }, "init": { "type": "NumericLiteral", "span": { "start": 83, "end": 84, "ctxt": 0 }, "value": 1.0, "raw": "1" }, "definite": false } ] } } ] } }, { "type": "TsModuleDeclaration", "span": { "start": 99, "end": 190, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 106, "end": 108, "ctxt": 0 }, "value": "M2", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 109, "end": 190, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 115, "end": 162, "ctxt": 0 }, "declaration": { "type": "TsInterfaceDeclaration", "span": { "start": 122, "end": 162, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 132, "end": 137, "ctxt": 0 }, "value": "Point", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 138, "end": 162, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 140, "end": 150, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 140, "end": 141, "ctxt": 0 }, "value": "x", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 141, "end": 149, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 143, "end": 149, "ctxt": 0 }, "kind": "number" } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 151, "end": 160, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 151, "end": 152, "ctxt": 0 }, "value": "y", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 152, "end": 160, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 154, "end": 160, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] } } }, { "type": "ExportDeclaration", "span": { "start": 167, "end": 188, "ctxt": 0 }, "declaration": { "type": "VariableDeclaration", "span": { "start": 174, "end": 188, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 178, "end": 187, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 178, "end": 183, "ctxt": 0 }, "value": "Point", "optional": false, "typeAnnotation": null }, "init": { "type": "NumericLiteral", "span": { "start": 186, "end": 187, "ctxt": 0 }, "value": 1.0, "raw": "1" }, "definite": false } ] } } ] } }, { "type": "VariableDeclaration", "span": { "start": 192, "end": 203, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 196, "end": 202, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 196, "end": 197, "ctxt": 0 }, "value": "m", "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 200, "end": 202, "ctxt": 0 }, "value": "M2", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 204, "end": 219, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 208, "end": 218, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 208, "end": 209, "ctxt": 0 }, "value": "p", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 209, "end": 218, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 211, "end": 218, "ctxt": 0 }, "typeName": { "type": "TsQualifiedName", "left": { "type": "Identifier", "span": { "start": 211, "end": 212, "ctxt": 0 }, "value": "m", "optional": false }, "right": { "type": "Identifier", "span": { "start": 213, "end": 218, "ctxt": 0 }, "value": "Point", "optional": false } }, "typeParams": null } } }, "init": null, "definite": false } ] } ], "interpreter": null }