Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExportNamedDeclaration",
12 "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
13 "specifiers": [
14 {
15 "type": "ExportSpecifier",
16 "start":8,"end":18,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":18,"index":18}},
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":18,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":18,"index":18},"identifierName":"bar"},
25 "name": "bar"
26 }
27 }
28 ],
29 "source": {
30 "type": "StringLiteral",
31 "start":25,"end":30,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":30,"index":30}},
32 "extra": {
33 "rawValue": "foo",
34 "raw": "\"foo\""
35 },
36 "value": "foo"
37 },
38 "declaration": null
39 }
40 ],
41 "directives": []
42 }
43 }