Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/import-assertions/valid-export-without-from/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":15,"index":32}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":15,"index":32}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":6,"end":14,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":14,"index":14}},
17 "id": {
18 "type": "Identifier",
19 "start":6,"end":9,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":9,"index":9},"identifierName":"foo"},
20 "name": "foo"
21 },
22 "init": {
23 "type": "StringLiteral",
24 "start":12,"end":14,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":14,"index":14}},
25 "extra": {
26 "rawValue": "",
27 "raw": "\"\""
28 },
29 "value": ""
30 }
31 }
32 ],
33 "kind": "const"
34 },
35 {
36 "type": "ExportNamedDeclaration",
37 "start":17,"end":32,"loc":{"start":{"line":3,"column":0,"index":17},"end":{"line":3,"column":15,"index":32}},
38 "specifiers": [
39 {
40 "type": "ExportSpecifier",
41 "start":26,"end":29,"loc":{"start":{"line":3,"column":9,"index":26},"end":{"line":3,"column":12,"index":29}},
42 "local": {
43 "type": "Identifier",
44 "start":26,"end":29,"loc":{"start":{"line":3,"column":9,"index":26},"end":{"line":3,"column":12,"index":29},"identifierName":"foo"},
45 "name": "foo"
46 },
47 "exported": {
48 "type": "Identifier",
49 "start":26,"end":29,"loc":{"start":{"line":3,"column":9,"index":26},"end":{"line":3,"column":12,"index":29},"identifierName":"foo"},
50 "name": "foo"
51 }
52 }
53 ],
54 "source": null,
55 "declaration": null,
56 "assertions": []
57 }
58 ],
59 "directives": []
60 }
61 }