{ "type": "Script", "span": { "start": 25, "end": 471, "ctxt": 0 }, "body": [ { "type": "TsModuleDeclaration", "span": { "start": 25, "end": 113, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 32, "end": 33, "ctxt": 0 }, "value": "A", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 34, "end": 113, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 40, "end": 111, "ctxt": 0 }, "declaration": { "type": "TsModuleDeclaration", "span": { "start": 47, "end": 111, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 54, "end": 59, "ctxt": 0 }, "value": "Point", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 60, "end": 111, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 70, "end": 105, "ctxt": 0 }, "declaration": { "type": "VariableDeclaration", "span": { "start": 77, "end": 105, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 81, "end": 104, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 81, "end": 87, "ctxt": 0 }, "value": "Origin", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 90, "end": 104, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 92, "end": 93, "ctxt": 0 }, "value": "x", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 95, "end": 96, "ctxt": 0 }, "value": 0.0, "raw": "0" } }, { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 98, "end": 99, "ctxt": 0 }, "value": "y", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 101, "end": 102, "ctxt": 0 }, "value": 0.0, "raw": "0" } } ] }, "definite": false } ] } } ] } } } ] } }, { "type": "TsModuleDeclaration", "span": { "start": 141, "end": 254, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 148, "end": 149, "ctxt": 0 }, "value": "A", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 150, "end": 254, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 190, "end": 252, "ctxt": 0 }, "declaration": { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 206, "end": 211, "ctxt": 0 }, "value": "Point", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 197, "end": 252, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 214, "end": 252, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 224, "end": 246, "ctxt": 0 }, "argument": { "type": "ObjectExpression", "span": { "start": 231, "end": 245, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 233, "end": 234, "ctxt": 0 }, "value": "x", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 236, "end": 237, "ctxt": 0 }, "value": 0.0, "raw": "0" } }, { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 239, "end": 240, "ctxt": 0 }, "value": "y", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 242, "end": 243, "ctxt": 0 }, "value": 0.0, "raw": "0" } } ] } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } } ] } }, { "type": "TsModuleDeclaration", "span": { "start": 280, "end": 471, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 287, "end": 288, "ctxt": 0 }, "value": "B", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 289, "end": 471, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 296, "end": 367, "ctxt": 0 }, "declaration": { "type": "TsModuleDeclaration", "span": { "start": 303, "end": 367, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 310, "end": 315, "ctxt": 0 }, "value": "Point", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 316, "end": 367, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 326, "end": 361, "ctxt": 0 }, "declaration": { "type": "VariableDeclaration", "span": { "start": 333, "end": 361, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 337, "end": 360, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 337, "end": 343, "ctxt": 0 }, "value": "Origin", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 346, "end": 360, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 348, "end": 349, "ctxt": 0 }, "value": "x", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 351, "end": 352, "ctxt": 0 }, "value": 0.0, "raw": "0" } }, { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 354, "end": 355, "ctxt": 0 }, "value": "y", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 357, "end": 358, "ctxt": 0 }, "value": 0.0, "raw": "0" } } ] }, "definite": false } ] } } ] } } }, { "type": "ExportDeclaration", "span": { "start": 407, "end": 469, "ctxt": 0 }, "declaration": { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 423, "end": 428, "ctxt": 0 }, "value": "Point", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 414, "end": 469, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 431, "end": 469, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 441, "end": 463, "ctxt": 0 }, "argument": { "type": "ObjectExpression", "span": { "start": 448, "end": 462, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 450, "end": 451, "ctxt": 0 }, "value": "x", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 453, "end": 454, "ctxt": 0 }, "value": 0.0, "raw": "0" } }, { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 456, "end": 457, "ctxt": 0 }, "value": "y", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 459, "end": 460, "ctxt": 0 }, "value": 0.0, "raw": "0" } } ] } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } } ] } } ], "interpreter": null }