Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}},
13 "expression": {
14 "type": "BinaryExpression",
15 "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}},
16 "left": {
17 "type": "UnaryExpression",
18 "start":0,"end":4,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":4,"index":4}},
19 "operator": "+",
20 "prefix": true,
21 "argument": {
22 "type": "UpdateExpression",
23 "start":1,"end":4,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":4,"index":4}},
24 "operator": "++",
25 "prefix": false,
26 "argument": {
27 "type": "Identifier",
28 "start":1,"end":2,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":2,"index":2},"identifierName":"x"},
29 "name": "x"
30 }
31 }
32 },
33 "operator": "/",
34 "right": {
35 "type": "NumericLiteral",
36 "start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8}},
37 "extra": {
38 "rawValue": 2,
39 "raw": "2"
40 },
41 "value": 2
42 }
43 }
44 }
45 ],
46 "directives": []
47 }
48 }