{ "type": "Script", "span": { "start": 33, "end": 217, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 39, "end": 43, "ctxt": 0 }, "value": "Base", "optional": false }, "declare": false, "span": { "start": 33, "end": 65, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 50, "end": 63, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 50, "end": 56, "ctxt": 0 }, "value": "method", "optional": true }, "function": { "params": [], "decorators": [], "span": { "start": 50, "end": 63, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 60, "end": 63, "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": 73, "end": 80, "ctxt": 0 }, "value": "Derived", "optional": false }, "declare": false, "span": { "start": 67, "end": 217, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 100, "end": 149, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 100, "end": 106, "ctxt": 0 }, "value": "method", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 100, "end": 149, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 109, "end": 149, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 119, "end": 143, "ctxt": 0 }, "argument": { "type": "OptionalChainingExpression", "span": { "start": 126, "end": 142, "ctxt": 0 }, "questionDotToken": { "start": 138, "end": 139, "ctxt": 0 }, "expr": { "type": "CallExpression", "span": { "start": 126, "end": 142, "ctxt": 0 }, "callee": { "type": "SuperPropExpression", "span": { "start": 126, "end": 138, "ctxt": 0 }, "obj": { "type": "Super", "span": { "start": 126, "end": 131, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 132, "end": 138, "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": 155, "end": 215, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 161, "end": 172, "ctxt": 0 }, "value": "asyncMethod", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 155, "end": 215, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 175, "end": 215, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 185, "end": 209, "ctxt": 0 }, "argument": { "type": "OptionalChainingExpression", "span": { "start": 192, "end": 208, "ctxt": 0 }, "questionDotToken": { "start": 204, "end": 205, "ctxt": 0 }, "expr": { "type": "CallExpression", "span": { "start": 192, "end": 208, "ctxt": 0 }, "callee": { "type": "SuperPropExpression", "span": { "start": 192, "end": 204, "ctxt": 0 }, "obj": { "type": "Super", "span": { "start": 192, "end": 197, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 198, "end": 204, "ctxt": 0 }, "value": "method", "optional": false } }, "arguments": [], "typeArguments": null } } } ] }, "generator": false, "async": true, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": { "type": "Identifier", "span": { "start": 89, "end": 93, "ctxt": 0 }, "value": "Base", "optional": false }, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } ], "interpreter": null }