Debian Codegraph @

tests/fixtures/ecma-version/8/modules/async-arrow-func-destructed.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": 21
11 }
12 },
13 "range": [
14 0,
15 21
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": 21
28 }
29 },
30 "range": [
31 0,
32 21
33 ],
34 "expression": {
35 "type": "ArrowFunctionExpression",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 0
40 },
41 "end": {
42 "line": 1,
43 "column": 20
44 }
45 },
46 "range": [
47 0,
48 20
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": 14
65 }
66 },
67 "range": [
68 7,
69 14
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": 13
82 }
83 },
84 "range": [
85 8,
86 13
87 ],
88 "method": false,
89 "shorthand": true,
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 "kind": "init",
110 "value": {
111 "type": "AssignmentPattern",
112 "loc": {
113 "start": {
114 "line": 1,
115 "column": 8
116 },
117 "end": {
118 "line": 1,
119 "column": 13
120 }
121 },
122 "range": [
123 8,
124 13
125 ],
126 "left": {
127 "type": "Identifier",
128 "loc": {
129 "start": {
130 "line": 1,
131 "column": 8
132 },
133 "end": {
134 "line": 1,
135 "column": 9
136 }
137 },
138 "range": [
139 8,
140 9
141 ],
142 "name": "a"
143 },
144 "right": {
145 "type": "Identifier",
146 "loc": {
147 "start": {
148 "line": 1,
149 "column": 12
150 },
151 "end": {
152 "line": 1,
153 "column": 13
154 }
155 },
156 "range": [
157 12,
158 13
159 ],
160 "name": "b"
161 }
162 }
163 }
164 ]
165 }
166 ],
167 "body": {
168 "type": "Identifier",
169 "loc": {
170 "start": {
171 "line": 1,
172 "column": 19
173 },
174 "end": {
175 "line": 1,
176 "column": 20
177 }
178 },
179 "range": [
180 19,
181 20
182 ],
183 "name": "a"
184 }
185 }
186 }
187 ],
188 "sourceType": "module",
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": 10
269 },
270 "end": {
271 "line": 1,
272 "column": 11
273 }
274 },
275 "range": [
276 10,
277 11
278 ]
279 },
280 {
281 "type": "Identifier",
282 "value": "b",
283 "loc": {
284 "start": {
285 "line": 1,
286 "column": 12
287 },
288 "end": {
289 "line": 1,
290 "column": 13
291 }
292 },
293 "range": [
294 12,
295 13
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": "Punctuator",
318 "value": ")",
319 "loc": {
320 "start": {
321 "line": 1,
322 "column": 14
323 },
324 "end": {
325 "line": 1,
326 "column": 15
327 }
328 },
329 "range": [
330 14,
331 15
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": 18
345 }
346 },
347 "range": [
348 16,
349 18
350 ]
351 },
352 {
353 "type": "Identifier",
354 "value": "a",
355 "loc": {
356 "start": {
357 "line": 1,
358 "column": 19
359 },
360 "end": {
361 "line": 1,
362 "column": 20
363 }
364 },
365 "range": [
366 19,
367 20
368 ]
369 },
370 {
371 "type": "Punctuator",
372 "value": ";",
373 "loc": {
374 "start": {
375 "line": 1,
376 "column": 20
377 },
378 "end": {
379 "line": 1,
380 "column": 21
381 }
382 },
383 "range": [
384 20,
385 21
386 ]
387 }
388 ]
389 }