Debian Codegraph @

packages/babel-parser/test/fixtures/es2020/dynamic-import/invalid-trailing-comma/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
4 "errors": [
5 "SyntaxError: Trailing comma is disallowed inside import(...) arguments. (1:12)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
16 "expression": {
17 "type": "CallExpression",
18 "start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
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 "extra": {
24 "trailingComma": 12
25 },
26 "arguments": [
27 {
28 "type": "StringLiteral",
29 "start":7,"end":12,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":12,"index":12}},
30 "extra": {
31 "rawValue": "foo",
32 "raw": "\"foo\""
33 },
34 "value": "foo"
35 }
36 ]
37 }
38 }
39 ],
40 "directives": []
41 }
42 }