{ "type": "File", "start": 0, "end": 52, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 4, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 52, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 4, "column": 1 } }, "sourceType": "script", "interpreter": null, "body": [ { "type": "FunctionDeclaration", "start": 0, "end": 52, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 4, "column": 1 } }, "id": { "type": "Identifier", "start": 10, "end": 12, "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 12 }, "identifierName": "fn" }, "name": "fn" }, "generator": true, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 15, "end": 52, "loc": { "start": { "line": 1, "column": 15 }, "end": { "line": 4, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 19, "end": 31, "loc": { "start": { "line": 2, "column": 2 }, "end": { "line": 2, "column": 14 } }, "expression": { "type": "ArrowFunctionExpression", "start": 19, "end": 30, "loc": { "start": { "line": 2, "column": 2 }, "end": { "line": 2, "column": 13 } }, "id": null, "generator": false, "async": false, "params": [], "body": { "type": "Identifier", "start": 25, "end": 30, "loc": { "start": { "line": 2, "column": 8 }, "end": { "line": 2, "column": 13 }, "identifierName": "yield" }, "name": "yield" } } }, { "type": "ExpressionStatement", "start": 34, "end": 50, "loc": { "start": { "line": 3, "column": 2 }, "end": { "line": 3, "column": 18 } }, "expression": { "type": "ArrowFunctionExpression", "start": 34, "end": 49, "loc": { "start": { "line": 3, "column": 2 }, "end": { "line": 3, "column": 17 } }, "id": null, "generator": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 40, "end": 49, "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 42, "end": 47, "loc": { "start": { "line": 3, "column": 10 }, "end": { "line": 3, "column": 15 } }, "expression": { "type": "Identifier", "start": 42, "end": 47, "loc": { "start": { "line": 3, "column": 10 }, "end": { "line": 3, "column": 15 }, "identifierName": "yield" }, "name": "yield" } } ], "directives": [] } } } ], "directives": [] } } ], "directives": [] } }