{ "type": "Script", "span": { "start": 16, "end": 207, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 22, "end": 36, "ctxt": 0 }, "value": "SymbolIterator", "optional": false }, "declare": false, "span": { "start": 16, "end": 169, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 43, "end": 113, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 43, "end": 47, "ctxt": 0 }, "value": "next", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 43, "end": 113, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 50, "end": 113, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 60, "end": 107, "ctxt": 0 }, "argument": { "type": "ObjectExpression", "span": { "start": 67, "end": 106, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 81, "end": 86, "ctxt": 0 }, "value": "value", "optional": false }, "value": { "type": "CallExpression", "span": { "start": 88, "end": 96, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 88, "end": 94, "ctxt": 0 }, "value": "Symbol", "optional": false }, "arguments": [], "typeArguments": 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": 119, "end": 167, "ctxt": 0 }, "key": { "type": "Computed", "span": { "start": 119, "end": 136, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 120, "end": 135, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 120, "end": 126, "ctxt": 0 }, "value": "Symbol", "optional": false }, "property": { "type": "Identifier", "span": { "start": 127, "end": 135, "ctxt": 0 }, "value": "iterator", "optional": false } } }, "function": { "params": [], "decorators": [], "span": { "start": 119, "end": 167, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 139, "end": 167, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 149, "end": 161, "ctxt": 0 }, "argument": { "type": "ThisExpression", "span": { "start": 156, "end": 160, "ctxt": 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": "VariableDeclaration", "span": { "start": 171, "end": 207, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 175, "end": 206, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 175, "end": 180, "ctxt": 0 }, "value": "array", "optional": false, "typeAnnotation": null }, "init": { "type": "ArrayExpression", "span": { "start": 183, "end": 206, "ctxt": 0 }, "elements": [ { "spread": { "start": 184, "end": 187, "ctxt": 0 }, "expression": { "type": "NewExpression", "span": { "start": 187, "end": 205, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 191, "end": 205, "ctxt": 0 }, "value": "SymbolIterator", "optional": false }, "arguments": null, "typeArguments": null } } ] }, "definite": false } ] } ], "interpreter": null }