Debian Codegraph @

tests/fixtures/ecma-version/8/not-strict/async-arrow-func-destructed-defaults.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": 24
11 }
12 },
13 "range": [
14 0,
15 24
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": 24
28 }
29 },
30 "range": [
31 0,
32 24
33 ],
34 "expression": {
35 "type": "ArrowFunctionExpression",
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 "id": null,
51 "generator": false,
52 "expression": true,
53 "async": true,
54 "params": [
55 {
56 "type": "ObjectPattern",
57 "loc": {
58 "start": {
59 "line": 1,
60 "column": 7
61 },
62 "end": {
63 "line": 1,
64 "column": 17
65 }
66 },
67 "range": [
68 7,
69 17
70 ],
71 "properties": [
72 {
73 "type": "Property",
74 "loc": {
75 "start": {
76 "line": 1,
77 "column": 8
78 },
79 "end": {
80 "line": 1,
81 "column": 16
82 }
83 },
84 "range": [
85 8,
86 16
87 ],
88 "method": false,
89 "shorthand": false,
90 "computed": false,
91 "key": {
92 "type": "Identifier",
93 "loc": {
94 "start": {
95 "line": 1,
96 "column": 8
97 },
98 "end": {
99 "line": 1,
100 "column": 9
101 }
102 },
103 "range": [
104 8,
105 9
106 ],
107 "name": "a"
108 },
109 "value": {
110 "type": "AssignmentPattern",
111 "loc": {
112 "start": {
113 "line": 1,
114 "column": 11
115 },
116 "end": {
117 "line": 1,
118 "column": 16
119 }
120 },
121 "range": [
122 11,
123 16
124 ],
125 "left": {
126 "type": "Identifier",
127 "loc": {
128 "start": {
129 "line": 1,
130 "column": 11
131 },
132 "end": {
133 "line": 1,
134 "column": 12
135 }
136 },
137 "range": [
138 11,
139 12
140 ],
141 "name": "b"
142 },
143 "right": {
144 "type": "Identifier",
145 "loc": {
146 "start": {
147 "line": 1,
148 "column": 15
149 },
150 "end": {
151 "line": 1,
152 "column": 16
153 }
154 },
155 "range": [
156 15,
157 16
158 ],
159 "name": "c"
160 }
161 },
162 "kind": "init"
163 }
164 ]
165 }
166 ],
167 "body": {
168 "type": "Identifier",
169 "loc": {
170 "start": {
171 "line": 1,
172 "column": 22
173 },
174 "end": {
175 "line": 1,
176 "column": 23
177 }
178 },
179 "range": [
180 22,
181 23
182 ],
183 "name": "a"
184 }
185 }
186 }
187 ],
188 "sourceType": "script",
189 "tokens": [
190 {
191 "type": "Identifier",
192 "value": "async",
193 "loc": {
194 "start": {
195 "line": 1,
196 "column": 0
197 },
198 "end": {
199 "line": 1,
200 "column": 5
201 }
202 },
203 "range": [
204 0,
205 5
206 ]
207 },
208 {
209 "type": "Punctuator",
210 "value": "(",
211 "loc": {
212 "start": {
213 "line": 1,
214 "column": 6
215 },
216 "end": {
217 "line": 1,
218 "column": 7
219 }
220 },
221 "range": [
222 6,
223 7
224 ]
225 },
226 {
227 "type": "Punctuator",
228 "value": "{",
229 "loc": {
230 "start": {
231 "line": 1,
232 "column": 7
233 },
234 "end": {
235 "line": 1,
236 "column": 8
237 }
238 },
239 "range": [
240 7,
241 8
242 ]
243 },
244 {
245 "type": "Identifier",
246 "value": "a",
247 "loc": {
248 "start": {
249 "line": 1,
250 "column": 8
251 },
252 "end": {
253 "line": 1,
254 "column": 9
255 }
256 },
257 "range": [
258 8,
259 9
260 ]
261 },
262 {
263 "type": "Punctuator",
264 "value": ":",
265 "loc": {
266 "start": {
267 "line": 1,
268 "column": 9
269 },
270 "end": {
271 "line": 1,
272 "column": 10
273 }
274 },
275 "range": [
276 9,
277 10
278 ]
279 },
280 {
281 "type": "Identifier",
282 "value": "b",
283 "loc": {
284 "start": {
285 "line": 1,
286 "column": 11
287 },
288 "end": {
289 "line": 1,
290 "column": 12
291 }
292 },
293 "range": [
294 11,
295 12
296 ]
297 },
298 {
299 "type": "Punctuator",
300 "value": "=",
301 "loc": {
302 "start": {
303 "line": 1,
304 "column": 13
305 },
306 "end": {
307 "line": 1,
308 "column": 14
309 }
310 },
311 "range": [
312 13,
313 14
314 ]
315 },
316 {
317 "type": "Identifier",
318 "value": "c",
319 "loc": {
320 "start": {
321 "line": 1,
322 "column": 15
323 },
324 "end": {
325 "line": 1,
326 "column": 16
327 }
328 },
329 "range": [
330 15,
331 16
332 ]
333 },
334 {
335 "type": "Punctuator",
336 "value": "}",
337 "loc": {
338 "start": {
339 "line": 1,
340 "column": 16
341 },
342 "end": {
343 "line": 1,
344 "column": 17
345 }
346 },
347 "range": [
348 16,
349 17
350 ]
351 },
352 {
353 "type": "Punctuator",
354 "value": ")",
355 "loc": {
356 "start": {
357 "line": 1,
358 "column": 17
359 },
360 "end": {
361 "line": 1,
362 "column": 18
363 }
364 },
365 "range": [
366 17,
367 18
368 ]
369 },
370 {
371 "type": "Punctuator",
372 "value": "=>",
373 "loc": {
374 "start": {
375 "line": 1,
376 "column": 19
377 },
378 "end": {
379 "line": 1,
380 "column": 21
381 }
382 },
383 "range": [
384 19,
385 21
386 ]
387 },
388 {
389 "type": "Identifier",
390 "value": "a",
391 "loc": {
392 "start": {
393 "line": 1,
394 "column": 22
395 },
396 "end": {
397 "line": 1,
398 "column": 23
399 }
400 },
401 "range": [
402 22,
403 23
404 ]
405 },
406 {
407 "type": "Punctuator",
408 "value": ";",
409 "loc": {
410 "start": {
411 "line": 1,
412 "column": 23
413 },
414 "end": {
415 "line": 1,
416 "column": 24
417 }
418 },
419 "range": [
420 23,
421 24
422 ]
423 }
424 ]
425 }