{ "type": "Script", "span": { "start": 56, "end": 344, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 62, "end": 63, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "span": { "start": 56, "end": 194, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 70, "end": 115, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 77, "end": 79, "ctxt": 0 }, "value": "m1", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 70, "end": 115, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 90, "end": 115, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 100, "end": 109, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 107, "end": 108, "ctxt": 0 }, "value": 0.0 } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 81, "end": 89, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 83, "end": 89, "ctxt": 0 }, "kind": "number" } } }, "kind": "method", "isStatic": false, "accessibility": "public", "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 121, "end": 166, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 128, "end": 130, "ctxt": 0 }, "value": "m2", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 121, "end": 166, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 141, "end": 166, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 151, "end": 160, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 158, "end": 159, "ctxt": 0 }, "value": 0.0 } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 132, "end": 140, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 134, "end": 140, "ctxt": 0 }, "kind": "number" } } }, "kind": "method", "isStatic": false, "accessibility": "public", "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 172, "end": 192, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 179, "end": 181, "ctxt": 0 }, "value": "m3", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 172, "end": 192, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 190, "end": 192, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 183, "end": 189, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 185, "end": 189, "ctxt": 0 }, "kind": "void" } } }, "kind": "method", "isStatic": false, "accessibility": "public", "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 202, "end": 203, "ctxt": 0 }, "value": "B", "optional": false }, "declare": false, "span": { "start": 196, "end": 344, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 220, "end": 260, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 229, "end": 231, "ctxt": 0 }, "value": "m1", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 220, "end": 260, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 234, "end": 260, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 244, "end": 254, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 251, "end": 253, "ctxt": 0 }, "value": 10.0 } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": true }, { "type": "ClassMethod", "span": { "start": 266, "end": 314, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 275, "end": 277, "ctxt": 0 }, "value": "m2", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 266, "end": 314, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 288, "end": 314, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 298, "end": 308, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 305, "end": 307, "ctxt": 0 }, "value": 30.0 } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 279, "end": 287, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 281, "end": 287, "ctxt": 0 }, "kind": "number" } } }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": true }, { "type": "ClassMethod", "span": { "start": 320, "end": 342, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 329, "end": 331, "ctxt": 0 }, "value": "m3", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 320, "end": 342, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 340, "end": 342, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 333, "end": 339, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 335, "end": 339, "ctxt": 0 }, "kind": "void" } } }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": true } ], "superClass": { "type": "Identifier", "span": { "start": 212, "end": 213, "ctxt": 0 }, "value": "A", "optional": false }, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } ], "interpreter": null }