Debian Codegraph @

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

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