{ "type": "Script", "span": { "start": 1, "end": 120, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 7, "end": 8, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 1, "end": 70, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 15, "end": 25, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 15, "end": 16, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 16, "end": 24, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 18, "end": 24, "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": 30, "end": 68, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 30, "end": 31, "ctxt": 0 }, "value": "x", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 30, "end": 68, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 34, "end": 68, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 53, "end": 62, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 60, "end": 61, "ctxt": 0 }, "value": 1.0, "raw": "1" } } ] }, "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": 78, "end": 79, "ctxt": 0 }, "value": "D", "optional": false }, "declare": false, "span": { "start": 72, "end": 120, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 86, "end": 96, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 86, "end": 87, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 87, "end": 95, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 89, "end": 95, "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": 101, "end": 109, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 101, "end": 102, "ctxt": 0 }, "value": "x", "optional": false }, "function": { "params": [ { "type": "Parameter", "span": { "start": 103, "end": 104, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 103, "end": 104, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 101, "end": 109, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 106, "end": 109, "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 }