Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/import-assertions/valid-syntax-export-star-as-with-attributes/output.json

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