{ "type": "Script", "span": { "start": 16, "end": 182, "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": 182, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 30, "end": 67, "ctxt": 0 }, "key": { "type": "Computed", "span": { "start": 30, "end": 47, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 31, "end": 46, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 31, "end": 37, "ctxt": 0 }, "value": "Symbol", "optional": false }, "property": { "type": "Identifier", "span": { "start": 38, "end": 46, "ctxt": 0 }, "value": "iterator", "optional": false } } }, "function": { "params": [ { "type": "Parameter", "span": { "start": 48, "end": 57, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 48, "end": 57, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 49, "end": 57, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 51, "end": 57, "ctxt": 0 }, "kind": "string" } } } } ], "decorators": [], "span": { "start": 30, "end": 67, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 58, "end": 66, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 60, "end": 66, "ctxt": 0 }, "kind": "string" } } }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 72, "end": 116, "ctxt": 0 }, "key": { "type": "Computed", "span": { "start": 79, "end": 96, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 80, "end": 95, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 80, "end": 86, "ctxt": 0 }, "value": "Symbol", "optional": false }, "property": { "type": "Identifier", "span": { "start": 87, "end": 95, "ctxt": 0 }, "value": "iterator", "optional": false } } }, "function": { "params": [ { "type": "Parameter", "span": { "start": 97, "end": 106, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 97, "end": 106, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 98, "end": 106, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 100, "end": 106, "ctxt": 0 }, "kind": "number" } } } } ], "decorators": [], "span": { "start": 72, "end": 116, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 107, "end": 115, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 109, "end": 115, "ctxt": 0 }, "kind": "number" } } }, "kind": "method", "isStatic": true, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 121, "end": 180, "ctxt": 0 }, "key": { "type": "Computed", "span": { "start": 121, "end": 138, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 122, "end": 137, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 122, "end": 128, "ctxt": 0 }, "value": "Symbol", "optional": false }, "property": { "type": "Identifier", "span": { "start": 129, "end": 137, "ctxt": 0 }, "value": "iterator", "optional": false } } }, "function": { "params": [ { "type": "Parameter", "span": { "start": 139, "end": 145, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 139, "end": 145, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 140, "end": 145, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 142, "end": 145, "ctxt": 0 }, "kind": "any" } } } } ], "decorators": [], "span": { "start": 121, "end": 180, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 147, "end": 180, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 157, "end": 174, "ctxt": 0 }, "argument": { "type": "Identifier", "span": { "start": 164, "end": 173, "ctxt": 0 }, "value": "undefined", "optional": false } } ] }, "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 }