Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ForInStatement",
12 "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
13 "left": {
14 "type": "VariableDeclaration",
15 "start":5,"end":10,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":10,"index":10}},
16 "declarations": [
17 {
18 "type": "VariableDeclarator",
19 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10}},
20 "id": {
21 "type": "Identifier",
22 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"x"},
23 "name": "x"
24 },
25 "init": null
26 }
27 ],
28 "kind": "var"
29 },
30 "right": {
31 "type": "Identifier",
32 "start":14,"end":18,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":18,"index":18},"identifierName":"list"},
33 "name": "list"
34 },
35 "body": {
36 "type": "ExpressionStatement",
37 "start":20,"end":31,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":31,"index":31}},
38 "expression": {
39 "type": "CallExpression",
40 "start":20,"end":30,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":30,"index":30}},
41 "callee": {
42 "type": "Identifier",
43 "start":20,"end":27,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":27,"index":27},"identifierName":"process"},
44 "name": "process"
45 },
46 "arguments": [
47 {
48 "type": "Identifier",
49 "start":28,"end":29,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":29,"index":29},"identifierName":"x"},
50 "name": "x"
51 }
52 ]
53 }
54 }
55 }
56 ],
57 "directives": []
58 }
59 }