Debian Codegraph @

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

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