{ "type": "File", "start": 0, "end": 30, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 30 } }, "program": { "type": "Program", "start": 0, "end": 30, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 30 } }, "sourceType": "script", "body": [ { "type": "FunctionDeclaration", "start": 0, "end": 30, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 30 } }, "id": { "type": "Identifier", "start": 10, "end": 14, "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 14 }, "identifierName": "test" }, "name": "test" }, "generator": true, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18, "end": 30, "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 30 } }, "body": [ { "type": "ExpressionStatement", "start": 20, "end": 28, "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 28 } }, "expression": { "type": "YieldExpression", "start": 20, "end": 28, "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 28 } }, "delegate": true, "argument": { "type": "Identifier", "start": 27, "end": 28, "loc": { "start": { "line": 1, "column": 27 }, "end": { "line": 1, "column": 28 }, "identifierName": "v" }, "name": "v" } } } ], "directives": [] } } ], "directives": [] } }