{ "type": "File", "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":6,"index":29}}, "errors": [ "SyntaxError: Identifier 'A' has already been declared. (2:4)" ], "program": { "type": "Program", "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":6,"index":29}}, "sourceType": "module", "interpreter": null, "body": [ { "type": "DeclareVariable", "start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":22,"index":22}}, "id": { "type": "Identifier", "start":12,"end":21,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":21,"index":21},"identifierName":"A"}, "name": "A", "typeAnnotation": { "type": "TypeAnnotation", "start":13,"end":21,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":21,"index":21}}, "typeAnnotation": { "type": "NumberTypeAnnotation", "start":15,"end":21,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":21,"index":21}} } } } }, { "type": "VariableDeclaration", "start":23,"end":29,"loc":{"start":{"line":2,"column":0,"index":23},"end":{"line":2,"column":6,"index":29}}, "declarations": [ { "type": "VariableDeclarator", "start":27,"end":28,"loc":{"start":{"line":2,"column":4,"index":27},"end":{"line":2,"column":5,"index":28}}, "id": { "type": "Identifier", "start":27,"end":28,"loc":{"start":{"line":2,"column":4,"index":27},"end":{"line":2,"column":5,"index":28},"identifierName":"A"}, "name": "A" }, "init": null } ], "kind": "let" } ], "directives": [] } }