Debian Codegraph @

packages/babel-parser/test/fixtures/placeholders/export/named-from-alias/output.json

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