Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExportNamedDeclaration",
12 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
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 "type": "ExportSpecifier",
30 "start":24,"end":27,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":27,"index":27}},
31 "local": {
32 "type": "Identifier",
33 "start":24,"end":27,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":27,"index":27},"identifierName":"bar"},
34 "name": "bar"
35 },
36 "exported": {
37 "type": "Identifier",
38 "start":24,"end":27,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":27,"index":27},"identifierName":"bar"},
39 "name": "bar"
40 }
41 }
42 ],
43 "source": {
44 "type": "StringLiteral",
45 "start":34,"end":39,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":39,"index":39}},
46 "extra": {
47 "rawValue": "foo",
48 "raw": "\"foo\""
49 },
50 "value": "foo"
51 },
52 "declaration": null
53 }
54 ],
55 "directives": []
56 }
57 }