Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
4 "errors": [
5 "SyntaxError: Invalid left-hand side in for-in statement. (1:5)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ForInStatement",
15 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
16 "left": {
17 "type": "BinaryExpression",
18 "start":5,"end":10,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":10,"index":10}},
19 "left": {
20 "type": "Identifier",
21 "start":5,"end":6,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":6,"index":6},"identifierName":"i"},
22 "name": "i"
23 },
24 "operator": "+",
25 "right": {
26 "type": "NumericLiteral",
27 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10}},
28 "extra": {
29 "rawValue": 1,
30 "raw": "1"
31 },
32 "value": 1
33 }
34 },
35 "right": {
36 "type": "ObjectExpression",
37 "start":14,"end":16,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":16,"index":16}},
38 "properties": []
39 },
40 "body": {
41 "type": "EmptyStatement",
42 "start":17,"end":18,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":18,"index":18}}
43 }
44 }
45 ],
46 "directives": []
47 }
48 }