Debian Codegraph @

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

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