{ "type": "File", "start":0,"end":67,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":1,"index":67}}, "errors": [ "SyntaxError: Identifier 'f' has already been declared. (2:11)", "SyntaxError: Identifier 'g' has already been declared. (6:8)" ], "program": { "type": "Program", "start":0,"end":67,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":1,"index":67}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "BlockStatement", "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":25}}, "body": [ { "type": "VariableDeclaration", "start":4,"end":23,"loc":{"start":{"line":2,"column":2,"index":4},"end":{"line":2,"column":21,"index":23}}, "declarations": [ { "type": "VariableDeclarator", "start":10,"end":11,"loc":{"start":{"line":2,"column":8,"index":10},"end":{"line":2,"column":9,"index":11}}, "id": { "type": "Identifier", "start":10,"end":11,"loc":{"start":{"line":2,"column":8,"index":10},"end":{"line":2,"column":9,"index":11},"identifierName":"f"}, "name": "f" }, "init": null }, { "type": "VariableDeclarator", "start":13,"end":22,"loc":{"start":{"line":2,"column":11,"index":13},"end":{"line":2,"column":20,"index":22}}, "id": { "type": "Identifier", "start":13,"end":14,"loc":{"start":{"line":2,"column":11,"index":13},"end":{"line":2,"column":12,"index":14},"identifierName":"f"}, "name": "f" }, "init": { "type": "CallExpression", "start":17,"end":22,"loc":{"start":{"line":2,"column":15,"index":17},"end":{"line":2,"column":20,"index":22}}, "callee": { "type": "Identifier", "start":17,"end":20,"loc":{"start":{"line":2,"column":15,"index":17},"end":{"line":2,"column":18,"index":20},"identifierName":"foo"}, "name": "foo" }, "arguments": [] } } ], "kind": "using" } ], "directives": [] }, { "type": "BlockStatement", "start":26,"end":67,"loc":{"start":{"line":4,"column":0,"index":26},"end":{"line":7,"column":1,"index":67}}, "body": [ { "type": "VariableDeclaration", "start":30,"end":46,"loc":{"start":{"line":5,"column":2,"index":30},"end":{"line":5,"column":18,"index":46}}, "declarations": [ { "type": "VariableDeclarator", "start":36,"end":45,"loc":{"start":{"line":5,"column":8,"index":36},"end":{"line":5,"column":17,"index":45}}, "id": { "type": "Identifier", "start":36,"end":37,"loc":{"start":{"line":5,"column":8,"index":36},"end":{"line":5,"column":9,"index":37},"identifierName":"g"}, "name": "g" }, "init": { "type": "CallExpression", "start":40,"end":45,"loc":{"start":{"line":5,"column":12,"index":40},"end":{"line":5,"column":17,"index":45}}, "callee": { "type": "Identifier", "start":40,"end":43,"loc":{"start":{"line":5,"column":12,"index":40},"end":{"line":5,"column":15,"index":43},"identifierName":"foo"}, "name": "foo" }, "arguments": [] } } ], "kind": "using" }, { "type": "VariableDeclaration", "start":49,"end":65,"loc":{"start":{"line":6,"column":2,"index":49},"end":{"line":6,"column":18,"index":65}}, "declarations": [ { "type": "VariableDeclarator", "start":55,"end":64,"loc":{"start":{"line":6,"column":8,"index":55},"end":{"line":6,"column":17,"index":64}}, "id": { "type": "Identifier", "start":55,"end":56,"loc":{"start":{"line":6,"column":8,"index":55},"end":{"line":6,"column":9,"index":56},"identifierName":"g"}, "name": "g" }, "init": { "type": "CallExpression", "start":59,"end":64,"loc":{"start":{"line":6,"column":12,"index":59},"end":{"line":6,"column":17,"index":64}}, "callee": { "type": "Identifier", "start":59,"end":62,"loc":{"start":{"line":6,"column":12,"index":59},"end":{"line":6,"column":15,"index":62},"identifierName":"foo"}, "name": "foo" }, "arguments": [] } } ], "kind": "using" } ], "directives": [] } ], "directives": [] } }