Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/import-assertions/valid-syntax-export-with-and-attributes-multiple-lines/output.json

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