Debian Codegraph @

packages/babel-parser/test/fixtures/es2020/dynamic-import/multiple-args/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
4 "errors": [
5 "SyntaxError: `import()` requires exactly one argument. (1:0)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
16 "expression": {
17 "type": "CallExpression",
18 "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":29,"index":29}},
19 "callee": {
20 "type": "Import",
21 "start":0,"end":6,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":6,"index":6}}
22 },
23 "arguments": [
24 {
25 "type": "StringLiteral",
26 "start":7,"end":14,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":14,"index":14}},
27 "extra": {
28 "rawValue": "hello",
29 "raw": "'hello'"
30 },
31 "value": "hello"
32 },
33 {
34 "type": "StringLiteral",
35 "start":16,"end":23,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":23,"index":23}},
36 "extra": {
37 "rawValue": "world",
38 "raw": "'world'"
39 },
40 "value": "world"
41 },
42 {
43 "type": "StringLiteral",
44 "start":25,"end":28,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":28,"index":28}},
45 "extra": {
46 "rawValue": "!",
47 "raw": "'!'"
48 },
49 "value": "!"
50 }
51 ]
52 }
53 }
54 ],
55 "directives": []
56 }
57 }