Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0054/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3}},
4 "errors": [
5 "SyntaxError: Invalid left-hand side in prefix operation. (1:2)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3}},
16 "expression": {
17 "type": "UpdateExpression",
18 "start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3}},
19 "operator": "++",
20 "prefix": true,
21 "argument": {
22 "type": "NumericLiteral",
23 "start":2,"end":3,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":3,"index":3}},
24 "extra": {
25 "rawValue": 1,
26 "raw": "1"
27 },
28 "value": 1
29 }
30 }
31 }
32 ],
33 "directives": []
34 }
35 }