Debian Codegraph @

packages/babel-parser/test/fixtures/core/scope/undecl-export-as-default/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
4 "errors": [
5 "SyntaxError: Export 'encrypt' is not defined. (1:9)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
10 "sourceType": "module",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExportNamedDeclaration",
15 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
16 "specifiers": [
17 {
18 "type": "ExportSpecifier",
19 "start":9,"end":27,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":27,"index":27}},
20 "local": {
21 "type": "Identifier",
22 "start":9,"end":16,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":16,"index":16},"identifierName":"encrypt"},
23 "name": "encrypt"
24 },
25 "exported": {
26 "type": "Identifier",
27 "start":20,"end":27,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":27,"index":27},"identifierName":"default"},
28 "name": "default"
29 }
30 }
31 ],
32 "source": null,
33 "declaration": null
34 }
35 ],
36 "directives": []
37 }
38 }