{ "type": "File", "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}}, "errors": [ "SyntaxError: Unexpected reserved word 'yield'. (1:23)" ], "program": { "type": "Program", "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "VariableDeclaration", "start":14,"end":37,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":37,"index":37}}, "declarations": [ { "type": "VariableDeclarator", "start":18,"end":36,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":36,"index":36}}, "id": { "type": "ObjectPattern", "start":18,"end":30,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":30,"index":30}}, "properties": [ { "type": "ObjectProperty", "start":20,"end":28,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":28,"index":28}}, "key": { "type": "Identifier", "start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21},"identifierName":"x"}, "name": "x" }, "computed": false, "method": false, "shorthand": false, "value": { "type": "Identifier", "start":23,"end":28,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":28,"index":28},"identifierName":"yield"}, "name": "yield" } } ] }, "init": { "type": "Identifier", "start":33,"end":36,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":36,"index":36},"identifierName":"foo"}, "name": "foo" } } ], "kind": "var" } ], "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" } } ] } }