{ "type": "Script", "span": { "start": 1, "end": 180, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 7, "end": 11, "ctxt": 0 }, "value": "Base", "optional": false }, "declare": false, "span": { "start": 1, "end": 47, "ctxt": 0 }, "decorators": [], "body": [ { "type": "Constructor", "span": { "start": 18, "end": 45, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 28, "end": 39, "ctxt": 0 }, "value": "constructor", "optional": false }, "params": [], "body": { "type": "BlockStatement", "span": { "start": 42, "end": 45, "ctxt": 0 }, "stmts": [] }, "accessibility": "protected", "isOptional": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 54, "end": 61, "ctxt": 0 }, "value": "Derived", "optional": false }, "declare": false, "span": { "start": 48, "end": 117, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 81, "end": 109, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 88, "end": 92, "ctxt": 0 }, "value": "make", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 81, "end": 109, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 95, "end": 109, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 97, "end": 107, "ctxt": 0 }, "expression": { "type": "NewExpression", "span": { "start": 97, "end": 107, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 101, "end": 105, "ctxt": 0 }, "value": "Base", "optional": false }, "arguments": [], "typeArguments": null } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": true, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": { "type": "Identifier", "span": { "start": 70, "end": 74, "ctxt": 0 }, "value": "Base", "optional": false }, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 125, "end": 134, "ctxt": 0 }, "value": "Unrelated", "optional": false }, "declare": false, "span": { "start": 119, "end": 180, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 141, "end": 169, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 148, "end": 152, "ctxt": 0 }, "value": "fake", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 141, "end": 169, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 155, "end": 169, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 157, "end": 167, "ctxt": 0 }, "expression": { "type": "NewExpression", "span": { "start": 157, "end": 167, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 161, "end": 165, "ctxt": 0 }, "value": "Base", "optional": false }, "arguments": [], "typeArguments": null } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": true, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } ], "interpreter": null }