Debian Codegraph @

packages/babel-parser/test/fixtures/core/categorized/invalid-left-hand-side-in-postfix-operation/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": "UpdateExpression",
22 "start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3}},
23 "operator": "++",
24 "prefix": false,
25 "argument": {
26 "type": "Identifier",
27 "start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"a"},
28 "name": "a"
29 }
30 },
31 "right": {
32 "type": "Identifier",
33 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"t"},
34 "name": "t"
35 }
36 }
37 }
38 ],
39 "directives": []
40 }
41 }