{ "type": "File", "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}}, "program": { "type": "Program", "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "VariableDeclaration", "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}}, "declarations": [ { "type": "VariableDeclarator", "start":4,"end":22,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":22,"index":22}}, "id": { "type": "ObjectPattern", "start":4,"end":16,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":16,"index":16}}, "properties": [ { "type": "ObjectProperty", "start":6,"end":14,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":14,"index":14}}, "key": { "type": "Identifier", "start":6,"end":11,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":11,"index":11},"identifierName":"yield"}, "name": "yield" }, "computed": false, "method": false, "shorthand": false, "value": { "type": "Identifier", "start":13,"end":14,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":14,"index":14},"identifierName":"x"}, "name": "x" } } ] }, "init": { "type": "Identifier", "start":19,"end":22,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":22,"index":22},"identifierName":"foo"}, "name": "foo" } } ], "kind": "var" } ], "directives": [] } }