Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":4,"end":10,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":10,"index":10}},
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": {
23 "type": "NumericLiteral",
24 "start":8,"end":10,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":10,"index":10}},
25 "extra": {
26 "rawValue": 14,
27 "raw": "14"
28 },
29 "value": 14
30 }
31 },
32 {
33 "type": "VariableDeclarator",
34 "start":12,"end":17,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":17,"index":17}},
35 "id": {
36 "type": "Identifier",
37 "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13},"identifierName":"y"},
38 "name": "y"
39 },
40 "init": {
41 "type": "NumericLiteral",
42 "start":16,"end":17,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":17,"index":17}},
43 "extra": {
44 "rawValue": 3,
45 "raw": "3"
46 },
47 "value": 3
48 }
49 },
50 {
51 "type": "VariableDeclarator",
52 "start":19,"end":27,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":27,"index":27}},
53 "id": {
54 "type": "Identifier",
55 "start":19,"end":20,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":20,"index":20},"identifierName":"z"},
56 "name": "z"
57 },
58 "init": {
59 "type": "NumericLiteral",
60 "start":23,"end":27,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":27,"index":27}},
61 "extra": {
62 "rawValue": 1977,
63 "raw": "1977"
64 },
65 "value": 1977
66 }
67 }
68 ],
69 "kind": "var"
70 }
71 ],
72 "directives": []
73 }
74 }