{ "type": "Module", "span": { "start": 59, "end": 374, "ctxt": 0 }, "body": [ { "type": "ExportDefaultDeclaration", "span": { "start": 59, "end": 107, "ctxt": 0 }, "decl": { "type": "FunctionExpression", "identifier": { "type": "Identifier", "span": { "start": 83, "end": 87, "ctxt": 0 }, "value": "Decl", "optional": false }, "params": [], "decorators": [], "span": { "start": 74, "end": 107, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 90, "end": 107, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 96, "end": 105, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 103, "end": 104, "ctxt": 0 }, "value": 0.0, "raw": "0" } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } }, { "type": "ExportDeclaration", "span": { "start": 109, "end": 166, "ctxt": 0 }, "declaration": { "type": "TsInterfaceDeclaration", "span": { "start": 116, "end": 166, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 126, "end": 130, "ctxt": 0 }, "value": "Decl", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 131, "end": 166, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 137, "end": 148, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 137, "end": 139, "ctxt": 0 }, "value": "p1", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 139, "end": 147, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 141, "end": 147, "ctxt": 0 }, "kind": "number" } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 153, "end": 164, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 153, "end": 155, "ctxt": 0 }, "value": "p2", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 155, "end": 163, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 157, "end": 163, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] } } }, { "type": "ExportDeclaration", "span": { "start": 168, "end": 264, "ctxt": 0 }, "declaration": { "type": "TsModuleDeclaration", "span": { "start": 175, "end": 264, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 185, "end": 189, "ctxt": 0 }, "value": "Decl", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 190, "end": 264, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 196, "end": 214, "ctxt": 0 }, "declaration": { "type": "VariableDeclaration", "span": { "start": 203, "end": 214, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 207, "end": 213, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 207, "end": 208, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "init": { "type": "NumericLiteral", "span": { "start": 211, "end": 213, "ctxt": 0 }, "value": 10.0, "raw": "10" }, "definite": false } ] } }, { "type": "ExportDeclaration", "span": { "start": 219, "end": 237, "ctxt": 0 }, "declaration": { "type": "VariableDeclaration", "span": { "start": 226, "end": 237, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 230, "end": 236, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 230, "end": 231, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": null }, "init": { "type": "NumericLiteral", "span": { "start": 234, "end": 236, "ctxt": 0 }, "value": 20.0, "raw": "20" }, "definite": false } ] } }, { "type": "TsInterfaceDeclaration", "span": { "start": 243, "end": 262, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 253, "end": 254, "ctxt": 0 }, "value": "I", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 255, "end": 262, "ctxt": 0 }, "body": [] } } ] } } }, { "type": "ImportDeclaration", "span": { "start": 286, "end": 309, "ctxt": 0 }, "specifiers": [ { "type": "ImportDefaultSpecifier", "span": { "start": 293, "end": 299, "ctxt": 0 }, "local": { "type": "Identifier", "span": { "start": 293, "end": 299, "ctxt": 0 }, "value": "Entity", "optional": false } } ], "source": { "type": "StringLiteral", "span": { "start": 305, "end": 309, "ctxt": 0 }, "value": "m1", "raw": "\"m1\"" }, "typeOnly": false, "asserts": null }, { "type": "ExpressionStatement", "span": { "start": 311, "end": 320, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 311, "end": 319, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 311, "end": 317, "ctxt": 0 }, "value": "Entity", "optional": false }, "arguments": [], "typeArguments": null } }, { "type": "VariableDeclaration", "span": { "start": 322, "end": 336, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 326, "end": 335, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 326, "end": 327, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 327, "end": 335, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 329, "end": 335, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 329, "end": 335, "ctxt": 0 }, "value": "Entity", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 337, "end": 353, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 341, "end": 352, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 341, "end": 342, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 342, "end": 352, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 344, "end": 352, "ctxt": 0 }, "typeName": { "type": "TsQualifiedName", "left": { "type": "Identifier", "span": { "start": 344, "end": 350, "ctxt": 0 }, "value": "Entity", "optional": false }, "right": { "type": "Identifier", "span": { "start": 351, "end": 352, "ctxt": 0 }, "value": "I", "optional": false } }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 355, "end": 364, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 355, "end": 363, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 355, "end": 361, "ctxt": 0 }, "value": "Entity", "optional": false }, "property": { "type": "Identifier", "span": { "start": 362, "end": 363, "ctxt": 0 }, "value": "x", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 365, "end": 374, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 365, "end": 373, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 365, "end": 371, "ctxt": 0 }, "value": "Entity", "optional": false }, "property": { "type": "Identifier", "span": { "start": 372, "end": 373, "ctxt": 0 }, "value": "y", "optional": false } } } ], "interpreter": null }