{ "type": "Script", "span": { "start": 15, "end": 112, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 15, "end": 45, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 19, "end": 44, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 19, "end": 25, "ctxt": 0 }, "value": "Symbol", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 25, "end": 44, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 27, "end": 44, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 29, "end": 42, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 29, "end": 37, "ctxt": 0 }, "value": "iterator", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 37, "end": 42, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 39, "end": 42, "ctxt": 0 }, "kind": "any" } }, "typeParams": null } ] } } }, "init": null, "definite": false } ] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 53, "end": 54, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 47, "end": 86, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 61, "end": 84, "ctxt": 0 }, "key": { "type": "Computed", "span": { "start": 61, "end": 78, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 62, "end": 77, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 62, "end": 68, "ctxt": 0 }, "value": "Symbol", "optional": false }, "property": { "type": "Identifier", "span": { "start": 69, "end": 77, "ctxt": 0 }, "value": "iterator", "optional": false } } }, "function": { "params": [], "decorators": [], "span": { "start": 61, "end": 84, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 81, "end": 84, "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": [] }, { "type": "ExpressionStatement", "span": { "start": 88, "end": 112, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 88, "end": 112, "ctxt": 0 }, "object": { "type": "ParenthesisExpression", "span": { "start": 88, "end": 95, "ctxt": 0 }, "expression": { "type": "NewExpression", "span": { "start": 89, "end": 94, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 93, "end": 94, "ctxt": 0 }, "value": "C", "optional": false }, "arguments": null, "typeArguments": null } }, "property": { "type": "Computed", "span": { "start": 95, "end": 112, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 96, "end": 111, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 96, "end": 102, "ctxt": 0 }, "value": "Symbol", "optional": false }, "property": { "type": "Identifier", "span": { "start": 103, "end": 111, "ctxt": 0 }, "value": "iterator", "optional": false } } } } } ], "interpreter": null }