Debian Codegraph @

packages/babel-parser/test/fixtures/core/scope/dupl-bind-var-var/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 "program": {
5 "type": "Program",
6 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":4,"end":7,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":7,"index":7}},
17 "id": {
18 "type": "Identifier",
19 "start":4,"end":7,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":7,"index":7},"identifierName":"foo"},
20 "name": "foo"
21 },
22 "init": null
23 },
24 {
25 "type": "VariableDeclarator",
26 "start":9,"end":12,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":12,"index":12}},
27 "id": {
28 "type": "Identifier",
29 "start":9,"end":12,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":12,"index":12},"identifierName":"foo"},
30 "name": "foo"
31 },
32 "init": null
33 }
34 ],
35 "kind": "var"
36 }
37 ],
38 "directives": []
39 }
40 }