Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-named-default/output.json

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