{ "type": "Script", "span": { "start": 1, "end": 124, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 7, "end": 8, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 1, "end": 25, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 11, "end": 23, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 11, "end": 14, "ctxt": 0 }, "value": "foo", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 14, "end": 22, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 16, "end": 22, "ctxt": 0 }, "kind": "string" } }, "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": "VariableDeclaration", "span": { "start": 27, "end": 36, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 31, "end": 35, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 31, "end": 32, "ctxt": 0 }, "value": "c", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 32, "end": 35, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 34, "end": 35, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 34, "end": 35, "ctxt": 0 }, "value": "C", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 37, "end": 58, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 41, "end": 57, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 41, "end": 42, "ctxt": 0 }, "value": "r", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 45, "end": 57, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 45, "end": 55, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 45, "end": 46, "ctxt": 0 }, "value": "c", "optional": false }, "property": { "type": "Identifier", "span": { "start": 47, "end": 55, "ctxt": 0 }, "value": "toString", "optional": false } }, "arguments": [], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 59, "end": 89, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 63, "end": 88, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 63, "end": 65, "ctxt": 0 }, "value": "r2", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 68, "end": 88, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 68, "end": 84, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 68, "end": 69, "ctxt": 0 }, "value": "c", "optional": false }, "property": { "type": "Identifier", "span": { "start": 70, "end": 84, "ctxt": 0 }, "value": "hasOwnProperty", "optional": false } }, "arguments": [ { "spread": null, "expression": { "type": "StringLiteral", "span": { "start": 85, "end": 87, "ctxt": 0 }, "value": "", "raw": "''" } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 90, "end": 108, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 94, "end": 107, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 94, "end": 95, "ctxt": 0 }, "value": "o", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 95, "end": 103, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 97, "end": 103, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 97, "end": 103, "ctxt": 0 }, "value": "Object", "optional": false }, "typeParams": null } } }, "init": { "type": "Identifier", "span": { "start": 106, "end": 107, "ctxt": 0 }, "value": "c", "optional": false }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 109, "end": 124, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 113, "end": 123, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 113, "end": 115, "ctxt": 0 }, "value": "o2", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 115, "end": 119, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 117, "end": 119, "ctxt": 0 }, "members": [] } } }, "init": { "type": "Identifier", "span": { "start": 122, "end": 123, "ctxt": 0 }, "value": "c", "optional": false }, "definite": false } ] } ], "interpreter": null }