Debian Codegraph @

packages/babel-parser/test/fixtures/es2016/exponentiation-operator/await-unary-before-exponential/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}},
4 "errors": [
5 "SyntaxError: Illegal expression. Wrap left hand side or entire exponentiation in parentheses. (1:18)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}},
16 "expression": {
17 "type": "ArrowFunctionExpression",
18 "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":25,"index":25}},
19 "id": null,
20 "generator": false,
21 "async": true,
22 "params": [],
23 "body": {
24 "type": "BinaryExpression",
25 "start":12,"end":25,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":25,"index":25}},
26 "left": {
27 "type": "AwaitExpression",
28 "start":12,"end":20,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":20,"index":20}},
29 "argument": {
30 "type": "UnaryExpression",
31 "start":18,"end":20,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":20,"index":20}},
32 "operator": "-",
33 "prefix": true,
34 "argument": {
35 "type": "NumericLiteral",
36 "start":19,"end":20,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":20,"index":20}},
37 "extra": {
38 "rawValue": 5,
39 "raw": "5"
40 },
41 "value": 5
42 }
43 }
44 },
45 "operator": "**",
46 "right": {
47 "type": "NumericLiteral",
48 "start":24,"end":25,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":25,"index":25}},
49 "extra": {
50 "rawValue": 6,
51 "raw": "6"
52 },
53 "value": 6
54 }
55 }
56 }
57 }
58 ],
59 "directives": []
60 }
61 }