Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/import-assertions/trailing-comma-dynamic/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":69,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":50,"index":69}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":69,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":50,"index":69}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
13 "expression": {
14 "type": "CallExpression",
15 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
16 "callee": {
17 "type": "Import",
18 "start":0,"end":6,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":6,"index":6}}
19 },
20 "extra": {
21 "trailingComma": 15
22 },
23 "arguments": [
24 {
25 "type": "StringLiteral",
26 "start":7,"end":15,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":15,"index":15}},
27 "extra": {
28 "rawValue": "foo.js",
29 "raw": "\"foo.js\""
30 },
31 "value": "foo.js"
32 }
33 ]
34 }
35 },
36 {
37 "type": "ExpressionStatement",
38 "start":19,"end":69,"loc":{"start":{"line":2,"column":0,"index":19},"end":{"line":2,"column":50,"index":69}},
39 "expression": {
40 "type": "CallExpression",
41 "start":19,"end":68,"loc":{"start":{"line":2,"column":0,"index":19},"end":{"line":2,"column":49,"index":68}},
42 "callee": {
43 "type": "Import",
44 "start":19,"end":25,"loc":{"start":{"line":2,"column":0,"index":19},"end":{"line":2,"column":6,"index":25}}
45 },
46 "extra": {
47 "trailingComma": 66
48 },
49 "arguments": [
50 {
51 "type": "StringLiteral",
52 "start":26,"end":36,"loc":{"start":{"line":2,"column":7,"index":26},"end":{"line":2,"column":17,"index":36}},
53 "extra": {
54 "rawValue": "foo.json",
55 "raw": "\"foo.json\""
56 },
57 "value": "foo.json"
58 },
59 {
60 "type": "ObjectExpression",
61 "start":38,"end":66,"loc":{"start":{"line":2,"column":19,"index":38},"end":{"line":2,"column":47,"index":66}},
62 "properties": [
63 {
64 "type": "ObjectProperty",
65 "start":40,"end":64,"loc":{"start":{"line":2,"column":21,"index":40},"end":{"line":2,"column":45,"index":64}},
66 "method": false,
67 "key": {
68 "type": "Identifier",
69 "start":40,"end":46,"loc":{"start":{"line":2,"column":21,"index":40},"end":{"line":2,"column":27,"index":46},"identifierName":"assert"},
70 "name": "assert"
71 },
72 "computed": false,
73 "shorthand": false,
74 "value": {
75 "type": "ObjectExpression",
76 "start":48,"end":64,"loc":{"start":{"line":2,"column":29,"index":48},"end":{"line":2,"column":45,"index":64}},
77 "properties": [
78 {
79 "type": "ObjectProperty",
80 "start":50,"end":62,"loc":{"start":{"line":2,"column":31,"index":50},"end":{"line":2,"column":43,"index":62}},
81 "method": false,
82 "key": {
83 "type": "Identifier",
84 "start":50,"end":54,"loc":{"start":{"line":2,"column":31,"index":50},"end":{"line":2,"column":35,"index":54},"identifierName":"type"},
85 "name": "type"
86 },
87 "computed": false,
88 "shorthand": false,
89 "value": {
90 "type": "StringLiteral",
91 "start":56,"end":62,"loc":{"start":{"line":2,"column":37,"index":56},"end":{"line":2,"column":43,"index":62}},
92 "extra": {
93 "rawValue": "json",
94 "raw": "\"json\""
95 },
96 "value": "json"
97 }
98 }
99 ]
100 }
101 }
102 ]
103 }
104 ]
105 }
106 }
107 ],
108 "directives": []
109 }
110 }