Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/statement-iteration/migrated_0011/output.json

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