Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":21,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":21,"index":21}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":21,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":21,"index":21}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":21,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":21,"index":21}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":4,"end":20,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":20,"index":20}},
17 "id": {
18 "type": "Identifier",
19 "start":4,"end":11,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":11,"index":11},"identifierName":"squared"},
20 "name": "squared"
21 },
22 "init": {
23 "type": "BinaryExpression",
24 "start":14,"end":20,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":20,"index":20}},
25 "left": {
26 "type": "NumericLiteral",
27 "start":14,"end":15,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":15,"index":15}},
28 "extra": {
29 "rawValue": 2,
30 "raw": "2"
31 },
32 "value": 2
33 },
34 "operator": "**",
35 "right": {
36 "type": "NumericLiteral",
37 "start":19,"end":20,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":20,"index":20}},
38 "extra": {
39 "rawValue": 2,
40 "raw": "2"
41 },
42 "value": 2
43 }
44 }
45 }
46 ],
47 "kind": "var"
48 }
49 ],
50 "directives": []
51 }
52 }