{ "type": "Script", "span": { "start": 17, "end": 366, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 23, "end": 27, "ctxt": 0 }, "value": "Base", "optional": false }, "declare": false, "span": { "start": 17, "end": 174, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 34, "end": 54, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 44, "end": 45, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 45, "end": 53, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 47, "end": 53, "ctxt": 0 }, "kind": "string" } }, "isStatic": false, "decorators": [], "accessibility": "protected", "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassMethod", "span": { "start": 59, "end": 108, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 69, "end": 71, "ctxt": 0 }, "value": "fn", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 59, "end": 108, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 82, "end": 108, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 92, "end": 102, "ctxt": 0 }, "argument": { "type": "StringLiteral", "span": { "start": 99, "end": 101, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 73, "end": 81, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 75, "end": 81, "ctxt": 0 }, "kind": "string" } } }, "kind": "method", "isStatic": false, "accessibility": "protected", "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 114, "end": 145, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 128, "end": 129, "ctxt": 0 }, "value": "a", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 114, "end": 145, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 132, "end": 145, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 134, "end": 143, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 141, "end": 142, "ctxt": 0 }, "value": 1.0 } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "getter", "isStatic": false, "accessibility": "protected", "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 150, "end": 172, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 164, "end": 165, "ctxt": 0 }, "value": "a", "optional": false }, "function": { "params": [ { "type": "Parameter", "span": { "start": 166, "end": 167, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 166, "end": 167, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 150, "end": 172, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 169, "end": 172, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "setter", "isStatic": false, "accessibility": "protected", "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 206, "end": 213, "ctxt": 0 }, "value": "Derived", "optional": false }, "declare": false, "span": { "start": 200, "end": 366, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 233, "end": 251, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 241, "end": 242, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 242, "end": 250, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 244, "end": 250, "ctxt": 0 }, "kind": "string" } }, "isStatic": false, "decorators": [], "accessibility": "private", "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassMethod", "span": { "start": 257, "end": 304, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 265, "end": 267, "ctxt": 0 }, "value": "fn", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 257, "end": 304, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 278, "end": 304, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 288, "end": 298, "ctxt": 0 }, "argument": { "type": "StringLiteral", "span": { "start": 295, "end": 297, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 269, "end": 277, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 271, "end": 277, "ctxt": 0 }, "kind": "string" } } }, "kind": "method", "isStatic": false, "accessibility": "private", "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 310, "end": 339, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 322, "end": 323, "ctxt": 0 }, "value": "a", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 310, "end": 339, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 326, "end": 339, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 328, "end": 337, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 335, "end": 336, "ctxt": 0 }, "value": 1.0 } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "getter", "isStatic": false, "accessibility": "private", "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 344, "end": 364, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 356, "end": 357, "ctxt": 0 }, "value": "a", "optional": false }, "function": { "params": [ { "type": "Parameter", "span": { "start": 358, "end": 359, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 358, "end": 359, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 344, "end": 364, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 361, "end": 364, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "setter", "isStatic": false, "accessibility": "private", "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": { "type": "Identifier", "span": { "start": 222, "end": 226, "ctxt": 0 }, "value": "Base", "optional": false }, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } ], "interpreter": null }