{ "type": "Script", "span": { "start": 16, "end": 47, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 26, "end": 29, "ctxt": 0 }, "value": "foo", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 16, "end": 47, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 32, "end": 47, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 36, "end": 45, "ctxt": 0 }, "expression": { "type": "YieldExpression", "span": { "start": 36, "end": 45, "ctxt": 0 }, "argument": { "type": "Identifier", "span": { "start": 42, "end": 45, "ctxt": 0 }, "value": "foo", "optional": false }, "delegate": true } } ] }, "generator": true, "async": false, "typeParameters": null, "returnType": null } ], "interpreter": null }