{ "type": "Script", "span": { "start": 77, "end": 224, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 83, "end": 87, "ctxt": 0 }, "value": "Base", "optional": false }, "declare": false, "span": { "start": 77, "end": 104, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 90, "end": 102, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 90, "end": 96, "ctxt": 0 }, "value": "method", "optional": true }, "function": { "params": [], "decorators": [], "span": { "start": 90, "end": 102, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 100, "end": 102, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": true, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 111, "end": 118, "ctxt": 0 }, "value": "Derived", "optional": false }, "declare": false, "span": { "start": 105, "end": 224, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 138, "end": 176, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 138, "end": 145, "ctxt": 0 }, "value": "method1", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 138, "end": 176, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 148, "end": 176, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 150, "end": 174, "ctxt": 0 }, "argument": { "type": "OptionalChainingExpression", "span": { "start": 157, "end": 173, "ctxt": 0 }, "questionDotToken": { "start": 169, "end": 170, "ctxt": 0 }, "base": { "type": "CallExpression", "span": { "start": 157, "end": 173, "ctxt": 0 }, "callee": { "type": "SuperPropExpression", "span": { "start": 157, "end": 169, "ctxt": 0 }, "obj": { "type": "Super", "span": { "start": 157, "end": 162, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 163, "end": 169, "ctxt": 0 }, "value": "method", "optional": false } }, "arguments": [], "typeArguments": null } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 181, "end": 222, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 181, "end": 188, "ctxt": 0 }, "value": "method2", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 181, "end": 222, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 191, "end": 222, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 193, "end": 220, "ctxt": 0 }, "argument": { "type": "OptionalChainingExpression", "span": { "start": 200, "end": 219, "ctxt": 0 }, "questionDotToken": { "start": 215, "end": 216, "ctxt": 0 }, "base": { "type": "CallExpression", "span": { "start": 200, "end": 219, "ctxt": 0 }, "callee": { "type": "SuperPropExpression", "span": { "start": 200, "end": 215, "ctxt": 0 }, "obj": { "type": "Super", "span": { "start": 200, "end": 205, "ctxt": 0 } }, "property": { "type": "Computed", "span": { "start": 205, "end": 215, "ctxt": 0 }, "expression": { "type": "StringLiteral", "span": { "start": 206, "end": 214, "ctxt": 0 }, "value": "method", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, "arguments": [], "typeArguments": null } } } ] }, "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": 127, "end": 131, "ctxt": 0 }, "value": "Base", "optional": false }, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } ], "interpreter": null }