Debian Codegraph @

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

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