Debian Codegraph @

tests/fixtures/ecma-version/6/arrowFunctions/return-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": 29
11 }
12 },
13 "range": [
14 0,
15 29
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": 29
28 }
29 },
30 "range": [
31 0,
32 29
33 ],
34 "expression": {
35 "type": "ArrowFunctionExpression",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 0
40 },
41 "end": {
42 "line": 1,
43 "column": 28
44 }
45 },
46 "range": [
47 0,
48 28
49 ],
50 "id": null,
51 "generator": false,
52 "expression": true,
53 "params": [
54 {
55 "type": "Identifier",
56 "loc": {
57 "start": {
58 "line": 1,
59 "column": 1
60 },
61 "end": {
62 "line": 1,
63 "column": 2
64 }
65 },
66 "range": [
67 1,
68 2
69 ],
70 "name": "x"
71 }
72 ],
73 "body": {
74 "type": "ArrowFunctionExpression",
75 "loc": {
76 "start": {
77 "line": 1,
78 "column": 8
79 },
80 "end": {
81 "line": 1,
82 "column": 27
83 }
84 },
85 "range": [
86 8,
87 27
88 ],
89 "id": null,
90 "generator": false,
91 "expression": true,
92 "params": [
93 {
94 "type": "Identifier",
95 "loc": {
96 "start": {
97 "line": 1,
98 "column": 9
99 },
100 "end": {
101 "line": 1,
102 "column": 10
103 }
104 },
105 "range": [
106 9,
107 10
108 ],
109 "name": "y"
110 },
111 {
112 "type": "Identifier",
113 "loc": {
114 "start": {
115 "line": 1,
116 "column": 12
117 },
118 "end": {
119 "line": 1,
120 "column": 13
121 }
122 },
123 "range": [
124 12,
125 13
126 ],
127 "name": "z"
128 }
129 ],
130 "body": {
131 "type": "SequenceExpression",
132 "loc": {
133 "start": {
134 "line": 1,
135 "column": 19
136 },
137 "end": {
138 "line": 1,
139 "column": 26
140 }
141 },
142 "range": [
143 19,
144 26
145 ],
146 "expressions": [
147 {
148 "type": "Identifier",
149 "loc": {
150 "start": {
151 "line": 1,
152 "column": 19
153 },
154 "end": {
155 "line": 1,
156 "column": 20
157 }
158 },
159 "range": [
160 19,
161 20
162 ],
163 "name": "x"
164 },
165 {
166 "type": "Identifier",
167 "loc": {
168 "start": {
169 "line": 1,
170 "column": 22
171 },
172 "end": {
173 "line": 1,
174 "column": 23
175 }
176 },
177 "range": [
178 22,
179 23
180 ],
181 "name": "y"
182 },
183 {
184 "type": "Identifier",
185 "loc": {
186 "start": {
187 "line": 1,
188 "column": 25
189 },
190 "end": {
191 "line": 1,
192 "column": 26
193 }
194 },
195 "range": [
196 25,
197 26
198 ],
199 "name": "z"
200 }
201 ]
202 }
203 }
204 }
205 }
206 ],
207 "sourceType": "script",
208 "tokens": [
209 {
210 "type": "Punctuator",
211 "value": "(",
212 "loc": {
213 "start": {
214 "line": 1,
215 "column": 0
216 },
217 "end": {
218 "line": 1,
219 "column": 1
220 }
221 },
222 "range": [
223 0,
224 1
225 ]
226 },
227 {
228 "type": "Identifier",
229 "value": "x",
230 "loc": {
231 "start": {
232 "line": 1,
233 "column": 1
234 },
235 "end": {
236 "line": 1,
237 "column": 2
238 }
239 },
240 "range": [
241 1,
242 2
243 ]
244 },
245 {
246 "type": "Punctuator",
247 "value": ")",
248 "loc": {
249 "start": {
250 "line": 1,
251 "column": 2
252 },
253 "end": {
254 "line": 1,
255 "column": 3
256 }
257 },
258 "range": [
259 2,
260 3
261 ]
262 },
263 {
264 "type": "Punctuator",
265 "value": "=>",
266 "loc": {
267 "start": {
268 "line": 1,
269 "column": 4
270 },
271 "end": {
272 "line": 1,
273 "column": 6
274 }
275 },
276 "range": [
277 4,
278 6
279 ]
280 },
281 {
282 "type": "Punctuator",
283 "value": "(",
284 "loc": {
285 "start": {
286 "line": 1,
287 "column": 7
288 },
289 "end": {
290 "line": 1,
291 "column": 8
292 }
293 },
294 "range": [
295 7,
296 8
297 ]
298 },
299 {
300 "type": "Punctuator",
301 "value": "(",
302 "loc": {
303 "start": {
304 "line": 1,
305 "column": 8
306 },
307 "end": {
308 "line": 1,
309 "column": 9
310 }
311 },
312 "range": [
313 8,
314 9
315 ]
316 },
317 {
318 "type": "Identifier",
319 "value": "y",
320 "loc": {
321 "start": {
322 "line": 1,
323 "column": 9
324 },
325 "end": {
326 "line": 1,
327 "column": 10
328 }
329 },
330 "range": [
331 9,
332 10
333 ]
334 },
335 {
336 "type": "Punctuator",
337 "value": ",",
338 "loc": {
339 "start": {
340 "line": 1,
341 "column": 10
342 },
343 "end": {
344 "line": 1,
345 "column": 11
346 }
347 },
348 "range": [
349 10,
350 11
351 ]
352 },
353 {
354 "type": "Identifier",
355 "value": "z",
356 "loc": {
357 "start": {
358 "line": 1,
359 "column": 12
360 },
361 "end": {
362 "line": 1,
363 "column": 13
364 }
365 },
366 "range": [
367 12,
368 13
369 ]
370 },
371 {
372 "type": "Punctuator",
373 "value": ")",
374 "loc": {
375 "start": {
376 "line": 1,
377 "column": 13
378 },
379 "end": {
380 "line": 1,
381 "column": 14
382 }
383 },
384 "range": [
385 13,
386 14
387 ]
388 },
389 {
390 "type": "Punctuator",
391 "value": "=>",
392 "loc": {
393 "start": {
394 "line": 1,
395 "column": 15
396 },
397 "end": {
398 "line": 1,
399 "column": 17
400 }
401 },
402 "range": [
403 15,
404 17
405 ]
406 },
407 {
408 "type": "Punctuator",
409 "value": "(",
410 "loc": {
411 "start": {
412 "line": 1,
413 "column": 18
414 },
415 "end": {
416 "line": 1,
417 "column": 19
418 }
419 },
420 "range": [
421 18,
422 19
423 ]
424 },
425 {
426 "type": "Identifier",
427 "value": "x",
428 "loc": {
429 "start": {
430 "line": 1,
431 "column": 19
432 },
433 "end": {
434 "line": 1,
435 "column": 20
436 }
437 },
438 "range": [
439 19,
440 20
441 ]
442 },
443 {
444 "type": "Punctuator",
445 "value": ",",
446 "loc": {
447 "start": {
448 "line": 1,
449 "column": 20
450 },
451 "end": {
452 "line": 1,
453 "column": 21
454 }
455 },
456 "range": [
457 20,
458 21
459 ]
460 },
461 {
462 "type": "Identifier",
463 "value": "y",
464 "loc": {
465 "start": {
466 "line": 1,
467 "column": 22
468 },
469 "end": {
470 "line": 1,
471 "column": 23
472 }
473 },
474 "range": [
475 22,
476 23
477 ]
478 },
479 {
480 "type": "Punctuator",
481 "value": ",",
482 "loc": {
483 "start": {
484 "line": 1,
485 "column": 23
486 },
487 "end": {
488 "line": 1,
489 "column": 24
490 }
491 },
492 "range": [
493 23,
494 24
495 ]
496 },
497 {
498 "type": "Identifier",
499 "value": "z",
500 "loc": {
501 "start": {
502 "line": 1,
503 "column": 25
504 },
505 "end": {
506 "line": 1,
507 "column": 26
508 }
509 },
510 "range": [
511 25,
512 26
513 ]
514 },
515 {
516 "type": "Punctuator",
517 "value": ")",
518 "loc": {
519 "start": {
520 "line": 1,
521 "column": 26
522 },
523 "end": {
524 "line": 1,
525 "column": 27
526 }
527 },
528 "range": [
529 26,
530 27
531 ]
532 },
533 {
534 "type": "Punctuator",
535 "value": ")",
536 "loc": {
537 "start": {
538 "line": 1,
539 "column": 27
540 },
541 "end": {
542 "line": 1,
543 "column": 28
544 }
545 },
546 "range": [
547 27,
548 28
549 ]
550 },
551 {
552 "type": "Punctuator",
553 "value": ";",
554 "loc": {
555 "start": {
556 "line": 1,
557 "column": 28
558 },
559 "end": {
560 "line": 1,
561 "column": 29
562 }
563 },
564 "range": [
565 28,
566 29
567 ]
568 }
569 ]
570 };