Debian Codegraph @

packages/babel-parser/test/fixtures/core/scope/dupl-bind-let-let/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
4 "errors": [
5 "SyntaxError: Identifier 'foo' has already been declared. (1:9)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "VariableDeclaration",
15 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
16 "declarations": [
17 {
18 "type": "VariableDeclarator",
19 "start":4,"end":7,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":7,"index":7}},
20 "id": {
21 "type": "Identifier",
22 "start":4,"end":7,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":7,"index":7},"identifierName":"foo"},
23 "name": "foo"
24 },
25 "init": null
26 },
27 {
28 "type": "VariableDeclarator",
29 "start":9,"end":12,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":12,"index":12}},
30 "id": {
31 "type": "Identifier",
32 "start":9,"end":12,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":12,"index":12},"identifierName":"foo"},
33 "name": "foo"
34 },
35 "init": null
36 }
37 ],
38 "kind": "let"
39 }
40 ],
41 "directives": []
42 }
43 }