{ "type": "Module", "span": { "start": 58, "end": 316, "ctxt": 0 }, "body": [ { "type": "ExportDefaultDeclaration", "span": { "start": 58, "end": 87, "ctxt": 0 }, "decl": { "type": "ClassExpression", "identifier": { "type": "Identifier", "span": { "start": 79, "end": 83, "ctxt": 0 }, "value": "Decl", "optional": false }, "span": { "start": 73, "end": 87, "ctxt": 0 }, "decorators": [], "body": [], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } }, { "type": "TsInterfaceDeclaration", "span": { "start": 89, "end": 139, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 99, "end": 103, "ctxt": 0 }, "value": "Decl", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 104, "end": 139, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 110, "end": 121, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 110, "end": 112, "ctxt": 0 }, "value": "p1", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 112, "end": 120, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 114, "end": 120, "ctxt": 0 }, "kind": "number" } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 126, "end": 137, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 126, "end": 128, "ctxt": 0 }, "value": "p2", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 128, "end": 136, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 130, "end": 136, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] } }, { "type": "TsModuleDeclaration", "span": { "start": 141, "end": 183, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 151, "end": 155, "ctxt": 0 }, "value": "Decl", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 156, "end": 183, "ctxt": 0 }, "body": [ { "type": "TsInterfaceDeclaration", "span": { "start": 162, "end": 181, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 172, "end": 173, "ctxt": 0 }, "value": "I", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 174, "end": 181, "ctxt": 0 }, "body": [] } } ] } }, { "type": "ImportDeclaration", "span": { "start": 205, "end": 228, "ctxt": 0 }, "specifiers": [ { "type": "ImportDefaultSpecifier", "span": { "start": 212, "end": 218, "ctxt": 0 }, "local": { "type": "Identifier", "span": { "start": 212, "end": 218, "ctxt": 0 }, "value": "Entity", "optional": false } } ], "source": { "type": "StringLiteral", "span": { "start": 224, "end": 228, "ctxt": 0 }, "value": "m1", "raw": "\"m1\"" }, "typeOnly": false, "asserts": null }, { "type": "ExpressionStatement", "span": { "start": 230, "end": 239, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 230, "end": 238, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 230, "end": 236, "ctxt": 0 }, "value": "Entity", "optional": false }, "arguments": [], "typeArguments": null } }, { "type": "VariableDeclaration", "span": { "start": 241, "end": 255, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 245, "end": 254, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 245, "end": 246, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 246, "end": 254, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 248, "end": 254, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 248, "end": 254, "ctxt": 0 }, "value": "Entity", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 256, "end": 272, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 260, "end": 271, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 260, "end": 261, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 261, "end": 271, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 263, "end": 271, "ctxt": 0 }, "typeName": { "type": "TsQualifiedName", "left": { "type": "Identifier", "span": { "start": 263, "end": 269, "ctxt": 0 }, "value": "Entity", "optional": false }, "right": { "type": "Identifier", "span": { "start": 270, "end": 271, "ctxt": 0 }, "value": "I", "optional": false } }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 273, "end": 294, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 277, "end": 293, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 277, "end": 278, "ctxt": 0 }, "value": "z", "optional": false, "typeAnnotation": null }, "init": { "type": "NewExpression", "span": { "start": 281, "end": 293, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 285, "end": 291, "ctxt": 0 }, "value": "Entity", "optional": false }, "arguments": [], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 295, "end": 316, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 299, "end": 316, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 299, "end": 302, "ctxt": 0 }, "value": "sum", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 305, "end": 316, "ctxt": 0 }, "operator": "+", "left": { "type": "MemberExpression", "span": { "start": 305, "end": 309, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 305, "end": 306, "ctxt": 0 }, "value": "z", "optional": false }, "property": { "type": "Identifier", "span": { "start": 307, "end": 309, "ctxt": 0 }, "value": "p1", "optional": false } }, "right": { "type": "MemberExpression", "span": { "start": 312, "end": 316, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 312, "end": 313, "ctxt": 0 }, "value": "z", "optional": false }, "property": { "type": "Identifier", "span": { "start": 314, "end": 316, "ctxt": 0 }, "value": "p2", "optional": false } } }, "definite": false } ] } ], "interpreter": null }