Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-from-as-identifier-3/output.json

raw
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 "program": {
5 "type": "Program",
6 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExportDefaultDeclaration",
12 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}},
13 "declaration": {
14 "type": "LogicalExpression",
15 "start":15,"end":25,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":25,"index":25}},
16 "left": {
17 "type": "Identifier",
18 "start":15,"end":19,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":19,"index":19},"identifierName":"from"},
19 "name": "from"
20 },
21 "operator": "??",
22 "right": {
23 "type": "NumericLiteral",
24 "start":23,"end":25,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":25,"index":25}},
25 "extra": {
26 "rawValue": 42,
27 "raw": "42"
28 },
29 "value": 42
30 }
31 }
32 }
33 ],
34 "directives": []
35 }
36 }