| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":25}}, |
| 4 |
"errors": [ |
| 5 |
"SyntaxError: Identifier 'a' has already been declared. (3:8)" |
| 6 |
], |
| 7 |
"program": { |
| 8 |
"type": "Program", |
| 9 |
"start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":25}}, |
| 10 |
"sourceType": "script", |
| 11 |
"interpreter": null, |
| 12 |
"body": [ |
| 13 |
{ |
| 14 |
"type": "BlockStatement", |
| 15 |
"start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":25}}, |
| 16 |
"body": [ |
| 17 |
{ |
| 18 |
"type": "VariableDeclaration", |
| 19 |
"start":4,"end":10,"loc":{"start":{"line":2,"column":2,"index":4},"end":{"line":2,"column":8,"index":10}}, |
| 20 |
"declarations": [ |
| 21 |
{ |
| 22 |
"type": "VariableDeclarator", |
| 23 |
"start":8,"end":9,"loc":{"start":{"line":2,"column":6,"index":8},"end":{"line":2,"column":7,"index":9}}, |
| 24 |
"id": { |
| 25 |
"type": "Identifier", |
| 26 |
"start":8,"end":9,"loc":{"start":{"line":2,"column":6,"index":8},"end":{"line":2,"column":7,"index":9},"identifierName":"a"}, |
| 27 |
"name": "a" |
| 28 |
}, |
| 29 |
"init": null |
| 30 |
} |
| 31 |
], |
| 32 |
"kind": "let" |
| 33 |
}, |
| 34 |
{ |
| 35 |
"type": "BlockStatement", |
| 36 |
"start":13,"end":23,"loc":{"start":{"line":3,"column":2,"index":13},"end":{"line":3,"column":12,"index":23}}, |
| 37 |
"body": [ |
| 38 |
{ |
| 39 |
"type": "VariableDeclaration", |
| 40 |
"start":15,"end":21,"loc":{"start":{"line":3,"column":4,"index":15},"end":{"line":3,"column":10,"index":21}}, |
| 41 |
"declarations": [ |
| 42 |
{ |
| 43 |
"type": "VariableDeclarator", |
| 44 |
"start":19,"end":20,"loc":{"start":{"line":3,"column":8,"index":19},"end":{"line":3,"column":9,"index":20}}, |
| 45 |
"id": { |
| 46 |
"type": "Identifier", |
| 47 |
"start":19,"end":20,"loc":{"start":{"line":3,"column":8,"index":19},"end":{"line":3,"column":9,"index":20},"identifierName":"a"}, |
| 48 |
"name": "a" |
| 49 |
}, |
| 50 |
"init": null |
| 51 |
} |
| 52 |
], |
| 53 |
"kind": "var" |
| 54 |
} |
| 55 |
], |
| 56 |
"directives": [] |
| 57 |
} |
| 58 |
], |
| 59 |
"directives": [] |
| 60 |
} |
| 61 |
], |
| 62 |
"directives": [] |
| 63 |
} |
| 64 |
} |