Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/import-reflection/valid-default-import/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":72,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":32,"index":72}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":72,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":32,"index":72}},
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 {
15 "type": "ImportDefaultSpecifier",
16 "start":14,"end":17,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":17,"index":17}},
17 "local": {
18 "type": "Identifier",
19 "start":14,"end":17,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":17,"index":17},"identifierName":"foo"},
20 "name": "foo"
21 }
22 }
23 ],
24 "module": true,
25 "source": {
26 "type": "StringLiteral",
27 "start":23,"end":38,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":38,"index":38}},
28 "extra": {
29 "rawValue": "./module.wasm",
30 "raw": "\"./module.wasm\""
31 },
32 "value": "./module.wasm"
33 }
34 },
35 {
36 "type": "ImportDeclaration",
37 "start":40,"end":72,"loc":{"start":{"line":2,"column":0,"index":40},"end":{"line":2,"column":32,"index":72}},
38 "specifiers": [
39 {
40 "type": "ImportDefaultSpecifier",
41 "start":47,"end":50,"loc":{"start":{"line":2,"column":7,"index":47},"end":{"line":2,"column":10,"index":50}},
42 "local": {
43 "type": "Identifier",
44 "start":47,"end":50,"loc":{"start":{"line":2,"column":7,"index":47},"end":{"line":2,"column":10,"index":50},"identifierName":"bar"},
45 "name": "bar"
46 }
47 }
48 ],
49 "module": false,
50 "source": {
51 "type": "StringLiteral",
52 "start":56,"end":71,"loc":{"start":{"line":2,"column":16,"index":56},"end":{"line":2,"column":31,"index":71}},
53 "extra": {
54 "rawValue": "./module.wasm",
55 "raw": "\"./module.wasm\""
56 },
57 "value": "./module.wasm"
58 }
59 }
60 ],
61 "directives": []
62 }
63 }