{ "type": "File", "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}}, "errors": [ "SyntaxError: Unexpected reserved word 'yield'. (1:29)" ], "program": { "type": "Program", "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "FunctionDeclaration", "start":14,"end":36,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":36,"index":36}}, "id": { "type": "Identifier", "start":23,"end":24,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":24,"index":24},"identifierName":"f"}, "name": "f" }, "generator": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start":27,"end":36,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":36,"index":36}}, "body": [ { "type": "ExpressionStatement", "start":29,"end":34,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":34,"index":34}}, "expression": { "type": "Identifier", "start":29,"end":34,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":34,"index":34},"identifierName":"yield"}, "name": "yield" } } ], "directives": [] } } ], "directives": [ { "type": "Directive", "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}}, "value": { "type": "DirectiveLiteral", "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}}, "extra": { "rawValue": "use strict", "raw": "\"use strict\"", "expressionValue": "use strict" }, "value": "use strict" } } ] } }