Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/for-of/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": "ForOfStatement",
32 "start":7,"end":25,"loc":{"start":{"line":2,"column":0,"index":7},"end":{"line":2,"column":18,"index":25}},
33 "await": false,
34 "left": {
35 "type": "AssignmentPattern",
36 "start":12,"end":17,"loc":{"start":{"line":2,"column":5,"index":12},"end":{"line":2,"column":10,"index":17}},
37 "left": {
38 "type": "Identifier",
39 "start":12,"end":13,"loc":{"start":{"line":2,"column":5,"index":12},"end":{"line":2,"column":6,"index":13},"identifierName":"a"},
40 "name": "a"
41 },
42 "right": {
43 "type": "NumericLiteral",
44 "start":16,"end":17,"loc":{"start":{"line":2,"column":9,"index":16},"end":{"line":2,"column":10,"index":17}},
45 "extra": {
46 "rawValue": 0,
47 "raw": "0"
48 },
49 "value": 0
50 }
51 },
52 "right": {
53 "type": "ObjectExpression",
54 "start":21,"end":23,"loc":{"start":{"line":2,"column":14,"index":21},"end":{"line":2,"column":16,"index":23}},
55 "properties": []
56 },
57 "body": {
58 "type": "EmptyStatement",
59 "start":24,"end":25,"loc":{"start":{"line":2,"column":17,"index":24},"end":{"line":2,"column":18,"index":25}}
60 }
61 }
62 ],
63 "directives": []
64 }
65 }