Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/export-extensions/default-and-named/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExportNamedDeclaration",
12 "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
13 "specifiers": [
14 {
15 "type": "ExportDefaultSpecifier",
16 "start":7,"end":10,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":10,"index":10}},
17 "exported": {
18 "type": "Identifier",
19 "start":7,"end":10,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":10,"index":10},"identifierName":"foo"},
20 "name": "foo"
21 }
22 },
23 {
24 "type": "ExportSpecifier",
25 "start":14,"end":17,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":17,"index":17}},
26 "local": {
27 "type": "Identifier",
28 "start":14,"end":17,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":17,"index":17},"identifierName":"bar"},
29 "name": "bar"
30 },
31 "exported": {
32 "type": "Identifier",
33 "start":14,"end":17,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":17,"index":17},"identifierName":"bar"},
34 "name": "bar"
35 }
36 }
37 ],
38 "source": {
39 "type": "StringLiteral",
40 "start":25,"end":30,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":30,"index":30}},
41 "extra": {
42 "rawValue": "bar",
43 "raw": "\"bar\""
44 },
45 "value": "bar"
46 },
47 "declaration": null
48 }
49 ],
50 "directives": []
51 }
52 }