{
  "type": "File",
  "start":0,"end":47,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},
  "errors": [
    "SyntaxError: Yield expression is not allowed in formal parameters (2:8)",
    "SyntaxError: Binding invalid left-hand side in function parameter list (2:8)"
  ],
  "program": {
    "type": "Program",
    "start":0,"end":47,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},
    "sourceType": "script",
    "interpreter": null,
    "body": [
      {
        "type": "FunctionDeclaration",
        "start":0,"end":47,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"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":47,"loc":{"start":{"line":1,"column":15},"end":{"line":3,"column":1}},
          "body": [
            {
              "type": "ExpressionStatement",
              "start":19,"end":45,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":28}},
              "expression": {
                "type": "ArrowFunctionExpression",
                "start":19,"end":44,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":27}},
                "id": null,
                "generator": false,
                "async": false,
                "params": [
                  {
                    "type": "AssignmentPattern",
                    "start":20,"end":37,"loc":{"start":{"line":2,"column":3},"end":{"line":2,"column":20}},
                    "left": {
                      "type": "Identifier",
                      "start":20,"end":21,"loc":{"start":{"line":2,"column":3},"end":{"line":2,"column":4},"identifierName":"x"},
                      "name": "x"
                    },
                    "right": {
                      "type": "ArrowFunctionExpression",
                      "start":24,"end":37,"loc":{"start":{"line":2,"column":7},"end":{"line":2,"column":20}},
                      "id": null,
                      "generator": false,
                      "async": false,
                      "params": [
                        {
                          "type": "YieldExpression",
                          "start":25,"end":30,"loc":{"start":{"line":2,"column":8},"end":{"line":2,"column":13}},
                          "delegate": false,
                          "argument": null
                        }
                      ],
                      "body": {
                        "type": "BlockStatement",
                        "start":35,"end":37,"loc":{"start":{"line":2,"column":18},"end":{"line":2,"column":20}},
                        "body": [],
                        "directives": []
                      }
                    }
                  }
                ],
                "body": {
                  "type": "BlockStatement",
                  "start":42,"end":44,"loc":{"start":{"line":2,"column":25},"end":{"line":2,"column":27}},
                  "body": [],
                  "directives": []
                }
              }
            }
          ],
          "directives": []
        }
      }
    ],
    "directives": []
  }
}