{ "type": "Script", "span": { "start": 17, "end": 40, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 26, "end": 29, "ctxt": 0 }, "value": "foo", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 30, "end": 35, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 30, "end": 35, "ctxt": 0 }, "value": "yield", "optional": false, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 17, "end": 40, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 37, "end": 40, "ctxt": 0 }, "stmts": [] }, "generator": true, "async": false, "typeParameters": null, "returnType": null } ], "interpreter": null }