{ "type": "File", "start": 0, "end": 39, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 39 } }, "program": { "type": "Program", "start": 0, "end": 39, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 39 } }, "sourceType": "script", "interpreter": null, "body": [ { "type": "FunctionDeclaration", "start": 0, "end": 39, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 39 } }, "id": { "type": "Identifier", "start": 10, "end": 13, "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 13 }, "identifierName": "foo" }, "name": "foo" }, "generator": true, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 16, "end": 39, "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 39 } }, "body": [ { "type": "ExpressionStatement", "start": 18, "end": 37, "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 37 } }, "expression": { "type": "CallExpression", "start": 18, "end": 36, "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 18, "end": 29, "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 29 } }, "object": { "type": "Identifier", "start": 18, "end": 25, "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 25 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 26, "end": 29, "loc": { "start": { "line": 1, "column": 26 }, "end": { "line": 1, "column": 29 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "YieldExpression", "start": 30, "end": 35, "loc": { "start": { "line": 1, "column": 30 }, "end": { "line": 1, "column": 35 } }, "delegate": false, "argument": null } ] } } ], "directives": [] } } ], "directives": [] } }