Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/for-in/bare-initializer/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":18,"index":25}},
4 "errors": [
5 "SyntaxError: Invalid left-hand side in for-loop. (2:5)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":18,"index":25}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "VariableDeclaration",
15 "start":0,"end":6,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":6,"index":6}},
16 "declarations": [
17 {
18 "type": "VariableDeclarator",
19 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5}},
20 "id": {
21 "type": "Identifier",
22 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"a"},
23 "name": "a"
24 },
25 "init": null
26 }
27 ],
28 "kind": "var"
29 },
30 {
31 "type": "ForInStatement",
32 "start":7,"end":25,"loc":{"start":{"line":2,"column":0,"index":7},"end":{"line":2,"column":18,"index":25}},
33 "left": {
34 "type": "AssignmentPattern",
35 "start":12,"end":17,"loc":{"start":{"line":2,"column":5,"index":12},"end":{"line":2,"column":10,"index":17}},
36 "left": {
37 "type": "Identifier",
38 "start":12,"end":13,"loc":{"start":{"line":2,"column":5,"index":12},"end":{"line":2,"column":6,"index":13},"identifierName":"a"},
39 "name": "a"
40 },
41 "right": {
42 "type": "NumericLiteral",
43 "start":16,"end":17,"loc":{"start":{"line":2,"column":9,"index":16},"end":{"line":2,"column":10,"index":17}},
44 "extra": {
45 "rawValue": 0,
46 "raw": "0"
47 },
48 "value": 0
49 }
50 },
51 "right": {
52 "type": "ObjectExpression",
53 "start":21,"end":23,"loc":{"start":{"line":2,"column":14,"index":21},"end":{"line":2,"column":16,"index":23}},
54 "properties": []
55 },
56 "body": {
57 "type": "EmptyStatement",
58 "start":24,"end":25,"loc":{"start":{"line":2,"column":17,"index":24},"end":{"line":2,"column":18,"index":25}}
59 }
60 }
61 ],
62 "directives": []
63 }
64 }