Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/245/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ForStatement",
12 "start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}},
13 "init": {
14 "type": "AssignmentExpression",
15 "start":4,"end":9,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":9,"index":9}},
16 "operator": "=",
17 "left": {
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 "right": {
23 "type": "NumericLiteral",
24 "start":8,"end":9,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":9,"index":9}},
25 "extra": {
26 "rawValue": 0,
27 "raw": "0"
28 },
29 "value": 0
30 }
31 },
32 "test": {
33 "type": "BinaryExpression",
34 "start":11,"end":17,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":17,"index":17}},
35 "left": {
36 "type": "Identifier",
37 "start":11,"end":12,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":12,"index":12},"identifierName":"x"},
38 "name": "x"
39 },
40 "operator": "<",
41 "right": {
42 "type": "NumericLiteral",
43 "start":15,"end":17,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":17,"index":17}},
44 "extra": {
45 "rawValue": 42,
46 "raw": "42"
47 },
48 "value": 42
49 }
50 },
51 "update": {
52 "type": "UpdateExpression",
53 "start":19,"end":22,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":22,"index":22}},
54 "operator": "++",
55 "prefix": false,
56 "argument": {
57 "type": "Identifier",
58 "start":19,"end":20,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":20,"index":20},"identifierName":"x"},
59 "name": "x"
60 }
61 },
62 "body": {
63 "type": "ExpressionStatement",
64 "start":24,"end":35,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":35,"index":35}},
65 "expression": {
66 "type": "CallExpression",
67 "start":24,"end":34,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":34,"index":34}},
68 "callee": {
69 "type": "Identifier",
70 "start":24,"end":31,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":31,"index":31},"identifierName":"process"},
71 "name": "process"
72 },
73 "arguments": [
74 {
75 "type": "Identifier",
76 "start":32,"end":33,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":33,"index":33},"identifierName":"x"},
77 "name": "x"
78 }
79 ]
80 }
81 }
82 }
83 ],
84 "directives": []
85 }
86 }