{ "type": "Script", "span": { "start": 0, "end": 119, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 6, "end": 7, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 0, "end": 69, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 14, "end": 24, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 14, "end": 15, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 15, "end": 23, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 17, "end": 23, "ctxt": 0 }, "kind": "number" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassMethod", "span": { "start": 29, "end": 67, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 29, "end": 30, "ctxt": 0 }, "value": "x", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 29, "end": 67, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 33, "end": 67, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 52, "end": 61, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 59, "end": 60, "ctxt": 0 }, "value": 1.0 } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 77, "end": 78, "ctxt": 0 }, "value": "D", "optional": false }, "declare": false, "span": { "start": 71, "end": 119, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 85, "end": 95, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 85, "end": 86, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 86, "end": 94, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 88, "end": 94, "ctxt": 0 }, "kind": "number" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassMethod", "span": { "start": 100, "end": 108, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 100, "end": 101, "ctxt": 0 }, "value": "x", "optional": false }, "function": { "params": [ { "type": "Parameter", "span": { "start": 102, "end": 103, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 102, "end": 103, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 100, "end": 108, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 105, "end": 108, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } ], "interpreter": null }