Debian Codegraph @

packages/babel-parser/test/fixtures/es2016/exponentiation-operator/15/output.json

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