{ "type": "File", "start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":34,"index":34}}, "program": { "type": "Program", "start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":34,"index":34}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "VariableDeclaration", "start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":34,"index":34}}, "declarations": [ { "type": "VariableDeclarator", "start":4,"end":33,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":33,"index":33}}, "id": { "type": "Identifier", "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"x"}, "name": "x" }, "init": { "type": "ObjectExpression", "start":8,"end":33,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":33,"index":33}}, "properties": [ { "type": "ObjectMethod", "start":10,"end":31,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":31,"index":31}}, "method": true, "key": { "type": "Identifier", "start":11,"end":15,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":15,"index":15},"identifierName":"test"}, "name": "test" }, "computed": false, "kind": "method", "id": null, "generator": true, "async": false, "params": [], "body": { "type": "BlockStatement", "start":19,"end":31,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":31,"index":31}}, "body": [ { "type": "ExpressionStatement", "start":21,"end":29,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":29,"index":29}}, "expression": { "type": "YieldExpression", "start":21,"end":29,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":29,"index":29}}, "delegate": true, "argument": { "type": "Identifier", "start":28,"end":29,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":29,"index":29},"identifierName":"v"}, "name": "v" } } } ], "directives": [] } } ] } } ], "kind": "var" } ], "directives": [] } }