Debian Codegraph @

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

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