Debian Codegraph @

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

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