{ "type": "File", "start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}}, "program": { "type": "Program", "start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "FunctionDeclaration", "start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}}, "id": { "type": "Identifier", "start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11},"identifierName":"g"}, "name": "g" }, "generator": true, "async": false, "params": [], "body": { "type": "BlockStatement", "start":14,"end":35,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":35,"index":35}}, "body": [ { "type": "ExpressionStatement", "start":16,"end":33,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":33,"index":33}}, "expression": { "type": "ArrowFunctionExpression", "start":16,"end":32,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":32,"index":32}}, "id": null, "generator": false, "async": false, "params": [ { "type": "Identifier", "start":17,"end":18,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":18,"index":18},"identifierName":"x"}, "name": "x" } ], "body": { "type": "BinaryExpression", "start":23,"end":32,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":32,"index":32}}, "left": { "type": "Identifier", "start":23,"end":24,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":24,"index":24},"identifierName":"x"}, "name": "x" }, "operator": "*", "right": { "type": "Identifier", "start":27,"end":32,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":32,"index":32},"identifierName":"yield"}, "name": "yield" } } } } ], "directives": [] } } ], "directives": [] } }