{ "type": "Script", "span": { "start": 91, "end": 379, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 97, "end": 98, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "span": { "start": 91, "end": 229, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 105, "end": 150, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 112, "end": 114, "ctxt": 0 }, "value": "m1", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 105, "end": 150, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 125, "end": 150, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 135, "end": 144, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 142, "end": 143, "ctxt": 0 }, "value": 0.0, "raw": "0" } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 116, "end": 124, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 118, "end": 124, "ctxt": 0 }, "kind": "number" } } }, "kind": "method", "isStatic": false, "accessibility": "public", "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 156, "end": 201, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 163, "end": 165, "ctxt": 0 }, "value": "m2", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 156, "end": 201, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 176, "end": 201, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 186, "end": 195, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 193, "end": 194, "ctxt": 0 }, "value": 0.0, "raw": "0" } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 167, "end": 175, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 169, "end": 175, "ctxt": 0 }, "kind": "number" } } }, "kind": "method", "isStatic": false, "accessibility": "public", "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 207, "end": 227, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 214, "end": 216, "ctxt": 0 }, "value": "m3", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 207, "end": 227, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 225, "end": 227, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 218, "end": 224, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 220, "end": 224, "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": 237, "end": 238, "ctxt": 0 }, "value": "B", "optional": false }, "declare": false, "span": { "start": 231, "end": 379, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 255, "end": 295, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 264, "end": 266, "ctxt": 0 }, "value": "m1", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 255, "end": 295, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 269, "end": 295, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 279, "end": 289, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 286, "end": 288, "ctxt": 0 }, "value": 10.0, "raw": "10" } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": true }, { "type": "ClassMethod", "span": { "start": 301, "end": 349, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 310, "end": 312, "ctxt": 0 }, "value": "m2", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 301, "end": 349, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 323, "end": 349, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 333, "end": 343, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 340, "end": 342, "ctxt": 0 }, "value": 30.0, "raw": "30" } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 314, "end": 322, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 316, "end": 322, "ctxt": 0 }, "kind": "number" } } }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": true }, { "type": "ClassMethod", "span": { "start": 355, "end": 377, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 364, "end": 366, "ctxt": 0 }, "value": "m3", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 355, "end": 377, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 375, "end": 377, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 368, "end": 374, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 370, "end": 374, "ctxt": 0 }, "kind": "void" } } }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": true } ], "superClass": { "type": "Identifier", "span": { "start": 247, "end": 248, "ctxt": 0 }, "value": "A", "optional": false }, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } ], "interpreter": null }