Debian Codegraph @

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

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