{ "type": "Script", "span": { "start": 16, "end": 44, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 22, "end": 23, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 16, "end": 44, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 29, "end": 42, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 30, "end": 33, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 29, "end": 42, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 39, "end": 42, "ctxt": 0 }, "stmts": [] }, "generator": true, "async": false, "typeParameters": { "type": "TsTypeParameterDeclaration", "span": { "start": 33, "end": 36, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 34, "end": 35, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 34, "end": 35, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": null, "default": 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 }