Debian Codegraph @

tests/fixtures/ecma-version/11/dynamic-import/with-sequence.result.js

raw
1 export default {
2 "type": "Program",
3 "loc": {
4 "start": {
5 "line": 1,
6 "column": 0
7 },
8 "end": {
9 "line": 1,
10 "column": 23
11 }
12 },
13 "range": [
14 0,
15 23
16 ],
17 "body": [
18 {
19 "type": "ExpressionStatement",
20 "loc": {
21 "start": {
22 "line": 1,
23 "column": 0
24 },
25 "end": {
26 "line": 1,
27 "column": 23
28 }
29 },
30 "range": [
31 0,
32 23
33 ],
34 "expression": {
35 "type": "ImportExpression",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 0
40 },
41 "end": {
42 "line": 1,
43 "column": 23
44 }
45 },
46 "range": [
47 0,
48 23
49 ],
50 "source": {
51 "type": "SequenceExpression",
52 "loc": {
53 "start": {
54 "line": 1,
55 "column": 8
56 },
57 "end": {
58 "line": 1,
59 "column": 21
60 }
61 },
62 "range": [
63 8,
64 21
65 ],
66 "expressions": [
67 {
68 "type": "Identifier",
69 "loc": {
70 "start": {
71 "line": 1,
72 "column": 8
73 },
74 "end": {
75 "line": 1,
76 "column": 13
77 }
78 },
79 "range": [
80 8,
81 13
82 ],
83 "name": "dummy"
84 },
85 {
86 "type": "Identifier",
87 "loc": {
88 "start": {
89 "line": 1,
90 "column": 15
91 },
92 "end": {
93 "line": 1,
94 "column": 21
95 }
96 },
97 "range": [
98 15,
99 21
100 ],
101 "name": "source"
102 }
103 ]
104 }
105 }
106 }
107 ],
108 "sourceType": "script",
109 "tokens": [
110 {
111 "type": "Keyword",
112 "value": "import",
113 "loc": {
114 "start": {
115 "line": 1,
116 "column": 0
117 },
118 "end": {
119 "line": 1,
120 "column": 6
121 }
122 },
123 "range": [
124 0,
125 6
126 ]
127 },
128 {
129 "type": "Punctuator",
130 "value": "(",
131 "loc": {
132 "start": {
133 "line": 1,
134 "column": 6
135 },
136 "end": {
137 "line": 1,
138 "column": 7
139 }
140 },
141 "range": [
142 6,
143 7
144 ]
145 },
146 {
147 "type": "Punctuator",
148 "value": "(",
149 "loc": {
150 "start": {
151 "line": 1,
152 "column": 7
153 },
154 "end": {
155 "line": 1,
156 "column": 8
157 }
158 },
159 "range": [
160 7,
161 8
162 ]
163 },
164 {
165 "type": "Identifier",
166 "value": "dummy",
167 "loc": {
168 "start": {
169 "line": 1,
170 "column": 8
171 },
172 "end": {
173 "line": 1,
174 "column": 13
175 }
176 },
177 "range": [
178 8,
179 13
180 ]
181 },
182 {
183 "type": "Punctuator",
184 "value": ",",
185 "loc": {
186 "start": {
187 "line": 1,
188 "column": 13
189 },
190 "end": {
191 "line": 1,
192 "column": 14
193 }
194 },
195 "range": [
196 13,
197 14
198 ]
199 },
200 {
201 "type": "Identifier",
202 "value": "source",
203 "loc": {
204 "start": {
205 "line": 1,
206 "column": 15
207 },
208 "end": {
209 "line": 1,
210 "column": 21
211 }
212 },
213 "range": [
214 15,
215 21
216 ]
217 },
218 {
219 "type": "Punctuator",
220 "value": ")",
221 "loc": {
222 "start": {
223 "line": 1,
224 "column": 21
225 },
226 "end": {
227 "line": 1,
228 "column": 22
229 }
230 },
231 "range": [
232 21,
233 22
234 ]
235 },
236 {
237 "type": "Punctuator",
238 "value": ")",
239 "loc": {
240 "start": {
241 "line": 1,
242 "column": 22
243 },
244 "end": {
245 "line": 1,
246 "column": 23
247 }
248 },
249 "range": [
250 22,
251 23
252 ]
253 }
254 ]
255 };