Debian Codegraph @

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

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