{ "type": "Script", "span": { "start": 17, "end": 54, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 27, "end": 30, "ctxt": 0 }, "value": "foo", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 17, "end": 54, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 33, "end": 54, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 37, "end": 43, "ctxt": 0 }, "expression": { "type": "YieldExpression", "span": { "start": 37, "end": 42, "ctxt": 0 }, "argument": null, "delegate": false } }, { "type": "ExpressionStatement", "span": { "start": 46, "end": 52, "ctxt": 0 }, "expression": { "type": "YieldExpression", "span": { "start": 46, "end": 51, "ctxt": 0 }, "argument": null, "delegate": false } } ] }, "generator": true, "async": false, "typeParameters": null, "returnType": null } ], "interpreter": null }