Debian Codegraph @

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

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