{ "type": "Script", "span": { "start": 0, "end": 227, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 6, "end": 7, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "span": { "start": 0, "end": 54, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 15, "end": 51, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 15, "end": 18, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 15, "end": 51, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 21, "end": 51, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 32, "end": 44, "ctxt": 0 }, "argument": { "type": "ThisExpression", "span": { "start": 39, "end": 43, "ctxt": 0 } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 62, "end": 63, "ctxt": 0 }, "value": "B", "optional": false }, "declare": false, "span": { "start": 56, "end": 120, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 81, "end": 117, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 81, "end": 84, "ctxt": 0 }, "value": "bar", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 81, "end": 117, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 87, "end": 117, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 98, "end": 110, "ctxt": 0 }, "argument": { "type": "ThisExpression", "span": { "start": 105, "end": 109, "ctxt": 0 } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": { "type": "Identifier", "span": { "start": 72, "end": 73, "ctxt": 0 }, "value": "A", "optional": false }, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 128, "end": 129, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 122, "end": 186, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 147, "end": 183, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 147, "end": 150, "ctxt": 0 }, "value": "baz", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 147, "end": 183, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 153, "end": 183, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 164, "end": 176, "ctxt": 0 }, "argument": { "type": "ThisExpression", "span": { "start": 171, "end": 175, "ctxt": 0 } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": { "type": "Identifier", "span": { "start": 138, "end": 139, "ctxt": 0 }, "value": "B", "optional": false }, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "VariableDeclaration", "span": { "start": 188, "end": 197, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 192, "end": 196, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 192, "end": 193, "ctxt": 0 }, "value": "c", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 193, "end": 196, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 195, "end": 196, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 195, "end": 196, "ctxt": 0 }, "value": "C", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 199, "end": 227, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 203, "end": 226, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 203, "end": 204, "ctxt": 0 }, "value": "z", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 207, "end": 226, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 207, "end": 224, "ctxt": 0 }, "object": { "type": "CallExpression", "span": { "start": 207, "end": 220, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 207, "end": 218, "ctxt": 0 }, "object": { "type": "CallExpression", "span": { "start": 207, "end": 214, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 207, "end": 212, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 207, "end": 208, "ctxt": 0 }, "value": "c", "optional": false }, "property": { "type": "Identifier", "span": { "start": 209, "end": 212, "ctxt": 0 }, "value": "foo", "optional": false } }, "arguments": [], "typeArguments": null }, "property": { "type": "Identifier", "span": { "start": 215, "end": 218, "ctxt": 0 }, "value": "bar", "optional": false } }, "arguments": [], "typeArguments": null }, "property": { "type": "Identifier", "span": { "start": 221, "end": 224, "ctxt": 0 }, "value": "baz", "optional": false } }, "arguments": [], "typeArguments": null }, "definite": false } ] } ], "interpreter": null }