{ "type": "File", "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":40}}, "program": { "type": "Program", "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":40}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "FunctionDeclaration", "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":40}}, "id": { "type": "Identifier", "start":10,"end":14,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":14,"index":14},"identifierName":"wrap"}, "name": "wrap" }, "generator": true, "async": false, "params": [], "body": { "type": "BlockStatement", "start":17,"end":40,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":3,"column":1,"index":40}}, "body": [ { "type": "ExpressionStatement", "start":23,"end":38,"loc":{"start":{"line":2,"column":4,"index":23},"end":{"line":2,"column":19,"index":38}}, "expression": { "type": "ObjectExpression", "start":24,"end":37,"loc":{"start":{"line":2,"column":5,"index":24},"end":{"line":2,"column":18,"index":37}}, "properties": [ { "type": "ObjectMethod", "start":25,"end":36,"loc":{"start":{"line":2,"column":6,"index":25},"end":{"line":2,"column":17,"index":36}}, "method": true, "key": { "type": "Identifier", "start":26,"end":31,"loc":{"start":{"line":2,"column":7,"index":26},"end":{"line":2,"column":12,"index":31},"identifierName":"yield"}, "name": "yield" }, "computed": false, "kind": "method", "id": null, "generator": true, "async": false, "params": [], "body": { "type": "BlockStatement", "start":34,"end":36,"loc":{"start":{"line":2,"column":15,"index":34},"end":{"line":2,"column":17,"index":36}}, "body": [], "directives": [] } } ], "extra": { "parenthesized": true, "parenStart": 23 } } } ], "directives": [] } } ], "directives": [] } }