{
  "type": "File",
  "start":0,"end":38,"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":1}},
  "errors": [
    "SyntaxError: Identifier 'foo' has already been declared (3:6)"
  ],
  "program": {
    "type": "Program",
    "start":0,"end":38,"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":1}},
    "sourceType": "script",
    "interpreter": null,
    "body": [
      {
        "type": "BlockStatement",
        "start":0,"end":38,"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":1}},
        "body": [
          {
            "type": "FunctionDeclaration",
            "start":4,"end":21,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":19}},
            "id": {
              "type": "Identifier",
              "start":13,"end":16,"loc":{"start":{"line":2,"column":11},"end":{"line":2,"column":14},"identifierName":"foo"},
              "name": "foo"
            },
            "generator": false,
            "async": false,
            "params": [],
            "body": {
              "type": "BlockStatement",
              "start":19,"end":21,"loc":{"start":{"line":2,"column":17},"end":{"line":2,"column":19}},
              "body": [],
              "directives": []
            }
          },
          {
            "type": "VariableDeclaration",
            "start":24,"end":36,"loc":{"start":{"line":3,"column":2},"end":{"line":3,"column":14}},
            "declarations": [
              {
                "type": "VariableDeclarator",
                "start":28,"end":35,"loc":{"start":{"line":3,"column":6},"end":{"line":3,"column":13}},
                "id": {
                  "type": "Identifier",
                  "start":28,"end":31,"loc":{"start":{"line":3,"column":6},"end":{"line":3,"column":9},"identifierName":"foo"},
                  "name": "foo"
                },
                "init": {
                  "type": "NumericLiteral",
                  "start":34,"end":35,"loc":{"start":{"line":3,"column":12},"end":{"line":3,"column":13}},
                  "extra": {
                    "rawValue": 1,
                    "raw": "1"
                  },
                  "value": 1
                }
              }
            ],
            "kind": "var"
          }
        ],
        "directives": []
      }
    ],
    "directives": []
  }
}