Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/statement-variable/migrated_0001/output.json

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