{ "type": "Script", "span": { "start": 1, "end": 243, "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": 50, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 15, "end": 21, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 15, "end": 18, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 15, "end": 21, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 26, "end": 39, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 33, "end": 36, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 26, "end": 39, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": true, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 58, "end": 59, "ctxt": 0 }, "value": "D", "optional": false }, "declare": false, "span": { "start": 52, "end": 105, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 66, "end": 79, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 73, "end": 76, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 66, "end": 79, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": true, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 84, "end": 90, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 84, "end": 87, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 84, "end": 90, "ctxt": 0 }, "body": null, "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": 113, "end": 114, "ctxt": 0 }, "value": "E", "optional": false }, "declare": false, "span": { "start": 107, "end": 172, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 124, "end": 134, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 124, "end": 127, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [ { "type": "Parameter", "span": { "start": 128, "end": 132, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 128, "end": 132, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 129, "end": 132, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 131, "end": 132, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 131, "end": 132, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } } } } ], "decorators": [], "span": { "start": 124, "end": 134, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 139, "end": 161, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 146, "end": 149, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [ { "type": "Parameter", "span": { "start": 150, "end": 159, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 150, "end": 159, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 151, "end": 159, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 153, "end": 159, "ctxt": 0 }, "kind": "number" } } } } ], "decorators": [], "span": { "start": 139, "end": 161, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": true, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 114, "end": 117, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 115, "end": 116, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 115, "end": 116, "ctxt": 0 }, "value": "T", "optional": false }, "in": false, "out": false, "constraint": null, "default": null } ] }, "superTypeParams": null, "implements": [] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 180, "end": 181, "ctxt": 0 }, "value": "F", "optional": false }, "declare": false, "span": { "start": 174, "end": 243, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 191, "end": 213, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 198, "end": 201, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [ { "type": "Parameter", "span": { "start": 202, "end": 211, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 202, "end": 211, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 203, "end": 211, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 205, "end": 211, "ctxt": 0 }, "kind": "number" } } } } ], "decorators": [], "span": { "start": 191, "end": 213, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": true, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 218, "end": 228, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 218, "end": 221, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [ { "type": "Parameter", "span": { "start": 222, "end": 226, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 222, "end": 226, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 223, "end": 226, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 225, "end": 226, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 225, "end": 226, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } } } } ], "decorators": [], "span": { "start": 218, "end": 228, "ctxt": 0 }, "body": null, "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": { "type": "TsTypeParameterDeclaration", "span": { "start": 181, "end": 184, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 182, "end": 183, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 182, "end": 183, "ctxt": 0 }, "value": "T", "optional": false }, "in": false, "out": false, "constraint": null, "default": null } ] }, "superTypeParams": null, "implements": [] } ], "interpreter": null }