Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/import-assertions/valid-string-assertion-key/output.json

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