Debian Codegraph @

packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/issue-58/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":1930,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":44,"column":36,"index":1930}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":1930,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":44,"column":36,"index":1930}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":38,"end":55,"loc":{"start":{"line":2,"column":0,"index":38},"end":{"line":2,"column":17,"index":55}},
13 "expression": {
14 "type": "ConditionalExpression",
15 "start":38,"end":54,"loc":{"start":{"line":2,"column":0,"index":38},"end":{"line":2,"column":16,"index":54}},
16 "test": {
17 "type": "Identifier",
18 "start":38,"end":39,"loc":{"start":{"line":2,"column":0,"index":38},"end":{"line":2,"column":1,"index":39},"identifierName":"a"},
19 "name": "a"
20 },
21 "consequent": {
22 "type": "Identifier",
23 "start":43,"end":44,"loc":{"start":{"line":2,"column":5,"index":43},"end":{"line":2,"column":6,"index":44},"identifierName":"b"},
24 "name": "b",
25 "extra": {
26 "parenthesized": true,
27 "parenStart": 42
28 }
29 },
30 "alternate": {
31 "type": "ArrowFunctionExpression",
32 "start":48,"end":54,"loc":{"start":{"line":2,"column":10,"index":48},"end":{"line":2,"column":16,"index":54}},
33 "id": null,
34 "generator": false,
35 "async": false,
36 "params": [
37 {
38 "type": "Identifier",
39 "start":48,"end":49,"loc":{"start":{"line":2,"column":10,"index":48},"end":{"line":2,"column":11,"index":49},"identifierName":"c"},
40 "name": "c"
41 }
42 ],
43 "body": {
44 "type": "Identifier",
45 "start":53,"end":54,"loc":{"start":{"line":2,"column":15,"index":53},"end":{"line":2,"column":16,"index":54},"identifierName":"d"},
46 "name": "d"
47 }
48 }
49 },
50 "trailingComments": [
51 {
52 "type": "CommentLine",
53 "value": " a ? b : (c => d)",
54 "start":56,"end":75,"loc":{"start":{"line":2,"column":18,"index":56},"end":{"line":2,"column":37,"index":75}}
55 }
56 ],
57 "leadingComments": [
58 {
59 "type": "CommentLine",
60 "value": " Valid lhs value inside parentheses",
61 "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}}
62 }
63 ]
64 },
65 {
66 "type": "ExpressionStatement",
67 "start":76,"end":97,"loc":{"start":{"line":3,"column":0,"index":76},"end":{"line":3,"column":21,"index":97}},
68 "expression": {
69 "type": "ConditionalExpression",
70 "start":76,"end":96,"loc":{"start":{"line":3,"column":0,"index":76},"end":{"line":3,"column":20,"index":96}},
71 "test": {
72 "type": "Identifier",
73 "start":76,"end":77,"loc":{"start":{"line":3,"column":0,"index":76},"end":{"line":3,"column":1,"index":77},"identifierName":"a"},
74 "name": "a"
75 },
76 "consequent": {
77 "type": "ArrowFunctionExpression",
78 "start":80,"end":92,"loc":{"start":{"line":3,"column":4,"index":80},"end":{"line":3,"column":16,"index":92}},
79 "predicate": null,
80 "returnType": {
81 "type": "TypeAnnotation",
82 "start":84,"end":87,"loc":{"start":{"line":3,"column":8,"index":84},"end":{"line":3,"column":11,"index":87}},
83 "typeAnnotation": {
84 "type": "GenericTypeAnnotation",
85 "start":86,"end":87,"loc":{"start":{"line":3,"column":10,"index":86},"end":{"line":3,"column":11,"index":87}},
86 "typeParameters": null,
87 "id": {
88 "type": "Identifier",
89 "start":86,"end":87,"loc":{"start":{"line":3,"column":10,"index":86},"end":{"line":3,"column":11,"index":87},"identifierName":"c"},
90 "name": "c"
91 }
92 }
93 },
94 "id": null,
95 "generator": false,
96 "async": false,
97 "params": [
98 {
99 "type": "Identifier",
100 "start":81,"end":82,"loc":{"start":{"line":3,"column":5,"index":81},"end":{"line":3,"column":6,"index":82},"identifierName":"b"},
101 "name": "b"
102 }
103 ],
104 "body": {
105 "type": "Identifier",
106 "start":91,"end":92,"loc":{"start":{"line":3,"column":15,"index":91},"end":{"line":3,"column":16,"index":92},"identifierName":"d"},
107 "name": "d"
108 }
109 },
110 "alternate": {
111 "type": "Identifier",
112 "start":95,"end":96,"loc":{"start":{"line":3,"column":19,"index":95},"end":{"line":3,"column":20,"index":96},"identifierName":"e"},
113 "name": "e"
114 }
115 },
116 "trailingComments": [
117 {
118 "type": "CommentLine",
119 "value": " a ? ((b): c => d) : e",
120 "start":98,"end":122,"loc":{"start":{"line":3,"column":22,"index":98},"end":{"line":3,"column":46,"index":122}}
121 }
122 ],
123 "leadingComments": [
124 {
125 "type": "CommentLine",
126 "value": " a ? b : (c => d)",
127 "start":56,"end":75,"loc":{"start":{"line":2,"column":18,"index":56},"end":{"line":2,"column":37,"index":75}}
128 }
129 ]
130 },
131 {
132 "type": "ExpressionStatement",
133 "start":123,"end":146,"loc":{"start":{"line":4,"column":0,"index":123},"end":{"line":4,"column":23,"index":146}},
134 "expression": {
135 "type": "ConditionalExpression",
136 "start":123,"end":145,"loc":{"start":{"line":4,"column":0,"index":123},"end":{"line":4,"column":22,"index":145}},
137 "test": {
138 "type": "Identifier",
139 "start":123,"end":124,"loc":{"start":{"line":4,"column":0,"index":123},"end":{"line":4,"column":1,"index":124},"identifierName":"a"},
140 "name": "a"
141 },
142 "consequent": {
143 "type": "Identifier",
144 "start":128,"end":129,"loc":{"start":{"line":4,"column":5,"index":128},"end":{"line":4,"column":6,"index":129},"identifierName":"b"},
145 "name": "b",
146 "extra": {
147 "parenthesized": true,
148 "parenStart": 127
149 }
150 },
151 "alternate": {
152 "type": "ArrowFunctionExpression",
153 "start":133,"end":145,"loc":{"start":{"line":4,"column":10,"index":133},"end":{"line":4,"column":22,"index":145}},
154 "predicate": null,
155 "returnType": {
156 "type": "TypeAnnotation",
157 "start":137,"end":140,"loc":{"start":{"line":4,"column":14,"index":137},"end":{"line":4,"column":17,"index":140}},
158 "typeAnnotation": {
159 "type": "GenericTypeAnnotation",
160 "start":139,"end":140,"loc":{"start":{"line":4,"column":16,"index":139},"end":{"line":4,"column":17,"index":140}},
161 "typeParameters": null,
162 "id": {
163 "type": "Identifier",
164 "start":139,"end":140,"loc":{"start":{"line":4,"column":16,"index":139},"end":{"line":4,"column":17,"index":140},"identifierName":"d"},
165 "name": "d"
166 }
167 }
168 },
169 "id": null,
170 "generator": false,
171 "async": false,
172 "params": [
173 {
174 "type": "Identifier",
175 "start":134,"end":135,"loc":{"start":{"line":4,"column":11,"index":134},"end":{"line":4,"column":12,"index":135},"identifierName":"c"},
176 "name": "c"
177 }
178 ],
179 "body": {
180 "type": "Identifier",
181 "start":144,"end":145,"loc":{"start":{"line":4,"column":21,"index":144},"end":{"line":4,"column":22,"index":145},"identifierName":"e"},
182 "name": "e"
183 }
184 }
185 },
186 "trailingComments": [
187 {
188 "type": "CommentLine",
189 "value": " a ? b : ((c): d => e)",
190 "start":147,"end":171,"loc":{"start":{"line":4,"column":24,"index":147},"end":{"line":4,"column":48,"index":171}}
191 },
192 {
193 "type": "CommentLine",
194 "value": " Nested arrow function inside parentheses",
195 "start":173,"end":216,"loc":{"start":{"line":6,"column":0,"index":173},"end":{"line":6,"column":43,"index":216}}
196 }
197 ],
198 "leadingComments": [
199 {
200 "type": "CommentLine",
201 "value": " a ? ((b): c => d) : e",
202 "start":98,"end":122,"loc":{"start":{"line":3,"column":22,"index":98},"end":{"line":3,"column":46,"index":122}}
203 }
204 ]
205 },
206 {
207 "type": "ExpressionStatement",
208 "start":217,"end":245,"loc":{"start":{"line":7,"column":0,"index":217},"end":{"line":7,"column":28,"index":245}},
209 "expression": {
210 "type": "ConditionalExpression",
211 "start":217,"end":244,"loc":{"start":{"line":7,"column":0,"index":217},"end":{"line":7,"column":27,"index":244}},
212 "test": {
213 "type": "Identifier",
214 "start":217,"end":218,"loc":{"start":{"line":7,"column":0,"index":217},"end":{"line":7,"column":1,"index":218},"identifierName":"a"},
215 "name": "a"
216 },
217 "consequent": {
218 "type": "AssignmentExpression",
219 "start":222,"end":234,"loc":{"start":{"line":7,"column":5,"index":222},"end":{"line":7,"column":17,"index":234}},
220 "operator": "=",
221 "left": {
222 "type": "Identifier",
223 "start":222,"end":223,"loc":{"start":{"line":7,"column":5,"index":222},"end":{"line":7,"column":6,"index":223},"identifierName":"b"},
224 "name": "b"
225 },
226 "right": {
227 "type": "ArrowFunctionExpression",
228 "start":226,"end":234,"loc":{"start":{"line":7,"column":9,"index":226},"end":{"line":7,"column":17,"index":234}},
229 "id": null,
230 "generator": false,
231 "async": false,
232 "params": [
233 {
234 "type": "Identifier",
235 "start":227,"end":228,"loc":{"start":{"line":7,"column":10,"index":227},"end":{"line":7,"column":11,"index":228},"identifierName":"c"},
236 "name": "c"
237 }
238 ],
239 "body": {
240 "type": "Identifier",
241 "start":233,"end":234,"loc":{"start":{"line":7,"column":16,"index":233},"end":{"line":7,"column":17,"index":234},"identifierName":"d"},
242 "name": "d"
243 }
244 },
245 "extra": {
246 "parenthesized": true,
247 "parenStart": 221
248 }
249 },
250 "alternate": {
251 "type": "ArrowFunctionExpression",
252 "start":238,"end":244,"loc":{"start":{"line":7,"column":21,"index":238},"end":{"line":7,"column":27,"index":244}},
253 "id": null,
254 "generator": false,
255 "async": false,
256 "params": [
257 {
258 "type": "Identifier",
259 "start":238,"end":239,"loc":{"start":{"line":7,"column":21,"index":238},"end":{"line":7,"column":22,"index":239},"identifierName":"e"},
260 "name": "e"
261 }
262 ],
263 "body": {
264 "type": "Identifier",
265 "start":243,"end":244,"loc":{"start":{"line":7,"column":26,"index":243},"end":{"line":7,"column":27,"index":244},"identifierName":"f"},
266 "name": "f"
267 }
268 }
269 },
270 "trailingComments": [
271 {
272 "type": "CommentLine",
273 "value": " a ? (b = (c) => d) : (e => f)",
274 "start":246,"end":278,"loc":{"start":{"line":7,"column":29,"index":246},"end":{"line":7,"column":61,"index":278}}
275 }
276 ],
277 "leadingComments": [
278 {
279 "type": "CommentLine",
280 "value": " a ? b : ((c): d => e)",
281 "start":147,"end":171,"loc":{"start":{"line":4,"column":24,"index":147},"end":{"line":4,"column":48,"index":171}}
282 },
283 {
284 "type": "CommentLine",
285 "value": " Nested arrow function inside parentheses",
286 "start":173,"end":216,"loc":{"start":{"line":6,"column":0,"index":173},"end":{"line":6,"column":43,"index":216}}
287 }
288 ]
289 },
290 {
291 "type": "ExpressionStatement",
292 "start":279,"end":311,"loc":{"start":{"line":8,"column":0,"index":279},"end":{"line":8,"column":32,"index":311}},
293 "expression": {
294 "type": "ConditionalExpression",
295 "start":279,"end":310,"loc":{"start":{"line":8,"column":0,"index":279},"end":{"line":8,"column":31,"index":310}},
296 "test": {
297 "type": "Identifier",
298 "start":279,"end":280,"loc":{"start":{"line":8,"column":0,"index":279},"end":{"line":8,"column":1,"index":280},"identifierName":"a"},
299 "name": "a"
300 },
301 "consequent": {
302 "type": "ArrowFunctionExpression",
303 "start":283,"end":306,"loc":{"start":{"line":8,"column":4,"index":283},"end":{"line":8,"column":27,"index":306}},
304 "predicate": null,
305 "returnType": {
306 "type": "TypeAnnotation",
307 "start":298,"end":301,"loc":{"start":{"line":8,"column":19,"index":298},"end":{"line":8,"column":22,"index":301}},
308 "typeAnnotation": {
309 "type": "GenericTypeAnnotation",
310 "start":300,"end":301,"loc":{"start":{"line":8,"column":21,"index":300},"end":{"line":8,"column":22,"index":301}},
311 "typeParameters": null,
312 "id": {
313 "type": "Identifier",
314 "start":300,"end":301,"loc":{"start":{"line":8,"column":21,"index":300},"end":{"line":8,"column":22,"index":301},"identifierName":"e"},
315 "name": "e"
316 }
317 }
318 },
319 "id": null,
320 "generator": false,
321 "async": false,
322 "params": [
323 {
324 "type": "AssignmentPattern",
325 "start":284,"end":296,"loc":{"start":{"line":8,"column":5,"index":284},"end":{"line":8,"column":17,"index":296}},
326 "left": {
327 "type": "Identifier",
328 "start":284,"end":285,"loc":{"start":{"line":8,"column":5,"index":284},"end":{"line":8,"column":6,"index":285},"identifierName":"b"},
329 "name": "b"
330 },
331 "right": {
332 "type": "ArrowFunctionExpression",
333 "start":288,"end":296,"loc":{"start":{"line":8,"column":9,"index":288},"end":{"line":8,"column":17,"index":296}},
334 "id": null,
335 "generator": false,
336 "async": false,
337 "params": [
338 {
339 "type": "Identifier",
340 "start":289,"end":290,"loc":{"start":{"line":8,"column":10,"index":289},"end":{"line":8,"column":11,"index":290},"identifierName":"c"},
341 "name": "c"
342 }
343 ],
344 "body": {
345 "type": "Identifier",
346 "start":295,"end":296,"loc":{"start":{"line":8,"column":16,"index":295},"end":{"line":8,"column":17,"index":296},"identifierName":"d"},
347 "name": "d"
348 }
349 }
350 }
351 ],
352 "body": {
353 "type": "Identifier",
354 "start":305,"end":306,"loc":{"start":{"line":8,"column":26,"index":305},"end":{"line":8,"column":27,"index":306},"identifierName":"f"},
355 "name": "f"
356 }
357 },
358 "alternate": {
359 "type": "Identifier",
360 "start":309,"end":310,"loc":{"start":{"line":8,"column":30,"index":309},"end":{"line":8,"column":31,"index":310},"identifierName":"g"},
361 "name": "g"
362 }
363 },
364 "trailingComments": [
365 {
366 "type": "CommentLine",
367 "value": " a ? ((b = (c) => d): e => f) : g",
368 "start":312,"end":347,"loc":{"start":{"line":8,"column":33,"index":312},"end":{"line":8,"column":68,"index":347}}
369 },
370 {
371 "type": "CommentLine",
372 "value": " Nested conditional expressions",
373 "start":349,"end":382,"loc":{"start":{"line":10,"column":0,"index":349},"end":{"line":10,"column":33,"index":382}}
374 }
375 ],
376 "leadingComments": [
377 {
378 "type": "CommentLine",
379 "value": " a ? (b = (c) => d) : (e => f)",
380 "start":246,"end":278,"loc":{"start":{"line":7,"column":29,"index":246},"end":{"line":7,"column":61,"index":278}}
381 }
382 ]
383 },
384 {
385 "type": "ExpressionStatement",
386 "start":387,"end":418,"loc":{"start":{"line":11,"column":4,"index":387},"end":{"line":11,"column":35,"index":418}},
387 "expression": {
388 "type": "ConditionalExpression",
389 "start":387,"end":417,"loc":{"start":{"line":11,"column":4,"index":387},"end":{"line":11,"column":34,"index":417}},
390 "test": {
391 "type": "Identifier",
392 "start":387,"end":388,"loc":{"start":{"line":11,"column":4,"index":387},"end":{"line":11,"column":5,"index":388},"identifierName":"b"},
393 "name": "b"
394 },
395 "consequent": {
396 "type": "ConditionalExpression",
397 "start":391,"end":413,"loc":{"start":{"line":11,"column":8,"index":391},"end":{"line":11,"column":30,"index":413}},
398 "test": {
399 "type": "Identifier",
400 "start":391,"end":392,"loc":{"start":{"line":11,"column":8,"index":391},"end":{"line":11,"column":9,"index":392},"identifierName":"c"},
401 "name": "c"
402 },
403 "consequent": {
404 "type": "ArrowFunctionExpression",
405 "start":395,"end":409,"loc":{"start":{"line":11,"column":12,"index":395},"end":{"line":11,"column":26,"index":409}},
406 "predicate": null,
407 "returnType": {
408 "type": "TypeAnnotation",
409 "start":399,"end":402,"loc":{"start":{"line":11,"column":16,"index":399},"end":{"line":11,"column":19,"index":402}},
410 "typeAnnotation": {
411 "type": "GenericTypeAnnotation",
412 "start":401,"end":402,"loc":{"start":{"line":11,"column":18,"index":401},"end":{"line":11,"column":19,"index":402}},
413 "typeParameters": null,
414 "id": {
415 "type": "Identifier",
416 "start":401,"end":402,"loc":{"start":{"line":11,"column":18,"index":401},"end":{"line":11,"column":19,"index":402},"identifierName":"e"},
417 "name": "e"
418 }
419 }
420 },
421 "id": null,
422 "generator": false,
423 "async": false,
424 "params": [
425 {
426 "type": "Identifier",
427 "start":396,"end":397,"loc":{"start":{"line":11,"column":13,"index":396},"end":{"line":11,"column":14,"index":397},"identifierName":"d"},
428 "name": "d"
429 }
430 ],
431 "body": {
432 "type": "Identifier",
433 "start":407,"end":408,"loc":{"start":{"line":11,"column":24,"index":407},"end":{"line":11,"column":25,"index":408},"identifierName":"f"},
434 "name": "f",
435 "extra": {
436 "parenthesized": true,
437 "parenStart": 406
438 }
439 }
440 },
441 "alternate": {
442 "type": "Identifier",
443 "start":412,"end":413,"loc":{"start":{"line":11,"column":29,"index":412},"end":{"line":11,"column":30,"index":413},"identifierName":"g"},
444 "name": "g"
445 }
446 },
447 "alternate": {
448 "type": "Identifier",
449 "start":416,"end":417,"loc":{"start":{"line":11,"column":33,"index":416},"end":{"line":11,"column":34,"index":417},"identifierName":"h"},
450 "name": "h"
451 }
452 },
453 "trailingComments": [
454 {
455 "type": "CommentLine",
456 "value": " b ? (c ? ((d): e => f) : g) : h",
457 "start":419,"end":453,"loc":{"start":{"line":11,"column":36,"index":419},"end":{"line":11,"column":70,"index":453}}
458 }
459 ],
460 "leadingComments": [
461 {
462 "type": "CommentLine",
463 "value": " a ? ((b = (c) => d): e => f) : g",
464 "start":312,"end":347,"loc":{"start":{"line":8,"column":33,"index":312},"end":{"line":8,"column":68,"index":347}}
465 },
466 {
467 "type": "CommentLine",
468 "value": " Nested conditional expressions",
469 "start":349,"end":382,"loc":{"start":{"line":10,"column":0,"index":349},"end":{"line":10,"column":33,"index":382}}
470 }
471 ]
472 },
473 {
474 "type": "ExpressionStatement",
475 "start":454,"end":489,"loc":{"start":{"line":12,"column":0,"index":454},"end":{"line":12,"column":35,"index":489}},
476 "expression": {
477 "type": "ConditionalExpression",
478 "start":454,"end":488,"loc":{"start":{"line":12,"column":0,"index":454},"end":{"line":12,"column":34,"index":488}},
479 "test": {
480 "type": "Identifier",
481 "start":454,"end":455,"loc":{"start":{"line":12,"column":0,"index":454},"end":{"line":12,"column":1,"index":455},"identifierName":"a"},
482 "name": "a"
483 },
484 "consequent": {
485 "type": "ConditionalExpression",
486 "start":458,"end":484,"loc":{"start":{"line":12,"column":4,"index":458},"end":{"line":12,"column":30,"index":484}},
487 "test": {
488 "type": "Identifier",
489 "start":458,"end":459,"loc":{"start":{"line":12,"column":4,"index":458},"end":{"line":12,"column":5,"index":459},"identifierName":"b"},
490 "name": "b"
491 },
492 "consequent": {
493 "type": "ConditionalExpression",
494 "start":462,"end":480,"loc":{"start":{"line":12,"column":8,"index":462},"end":{"line":12,"column":26,"index":480}},
495 "test": {
496 "type": "Identifier",
497 "start":462,"end":463,"loc":{"start":{"line":12,"column":8,"index":462},"end":{"line":12,"column":9,"index":463},"identifierName":"c"},
498 "name": "c"
499 },
500 "consequent": {
501 "type": "Identifier",
502 "start":467,"end":468,"loc":{"start":{"line":12,"column":13,"index":467},"end":{"line":12,"column":14,"index":468},"identifierName":"d"},
503 "name": "d",
504 "extra": {
505 "parenthesized": true,
506 "parenStart": 466
507 }
508 },
509 "alternate": {
510 "type": "ArrowFunctionExpression",
511 "start":472,"end":480,"loc":{"start":{"line":12,"column":18,"index":472},"end":{"line":12,"column":26,"index":480}},
512 "id": null,
513 "generator": false,
514 "async": false,
515 "params": [
516 {
517 "type": "Identifier",
518 "start":472,"end":473,"loc":{"start":{"line":12,"column":18,"index":472},"end":{"line":12,"column":19,"index":473},"identifierName":"e"},
519 "name": "e"
520 }
521 ],
522 "body": {
523 "type": "Identifier",
524 "start":478,"end":479,"loc":{"start":{"line":12,"column":24,"index":478},"end":{"line":12,"column":25,"index":479},"identifierName":"f"},
525 "name": "f",
526 "extra": {
527 "parenthesized": true,
528 "parenStart": 477
529 }
530 }
531 }
532 },
533 "alternate": {
534 "type": "Identifier",
535 "start":483,"end":484,"loc":{"start":{"line":12,"column":29,"index":483},"end":{"line":12,"column":30,"index":484},"identifierName":"g"},
536 "name": "g"
537 }
538 },
539 "alternate": {
540 "type": "Identifier",
541 "start":487,"end":488,"loc":{"start":{"line":12,"column":33,"index":487},"end":{"line":12,"column":34,"index":488},"identifierName":"h"},
542 "name": "h"
543 }
544 },
545 "trailingComments": [
546 {
547 "type": "CommentLine",
548 "value": " a ? (b ? (c ? d : (e => f)) : g) : h",
549 "start":490,"end":529,"loc":{"start":{"line":12,"column":36,"index":490},"end":{"line":12,"column":75,"index":529}}
550 }
551 ],
552 "leadingComments": [
553 {
554 "type": "CommentLine",
555 "value": " b ? (c ? ((d): e => f) : g) : h",
556 "start":419,"end":453,"loc":{"start":{"line":11,"column":36,"index":419},"end":{"line":11,"column":70,"index":453}}
557 }
558 ]
559 },
560 {
561 "type": "ExpressionStatement",
562 "start":531,"end":564,"loc":{"start":{"line":14,"column":0,"index":531},"end":{"line":14,"column":33,"index":564}},
563 "expression": {
564 "type": "ConditionalExpression",
565 "start":531,"end":563,"loc":{"start":{"line":14,"column":0,"index":531},"end":{"line":14,"column":32,"index":563}},
566 "test": {
567 "type": "Identifier",
568 "start":531,"end":532,"loc":{"start":{"line":14,"column":0,"index":531},"end":{"line":14,"column":1,"index":532},"identifierName":"a"},
569 "name": "a"
570 },
571 "consequent": {
572 "type": "ConditionalExpression",
573 "start":535,"end":559,"loc":{"start":{"line":14,"column":4,"index":535},"end":{"line":14,"column":28,"index":559}},
574 "test": {
575 "type": "Identifier",
576 "start":535,"end":536,"loc":{"start":{"line":14,"column":4,"index":535},"end":{"line":14,"column":5,"index":536},"identifierName":"b"},
577 "name": "b"
578 },
579 "consequent": {
580 "type": "Identifier",
581 "start":540,"end":541,"loc":{"start":{"line":14,"column":9,"index":540},"end":{"line":14,"column":10,"index":541},"identifierName":"c"},
582 "name": "c",
583 "extra": {
584 "parenthesized": true,
585 "parenStart": 539
586 }
587 },
588 "alternate": {
589 "type": "ArrowFunctionExpression",
590 "start":545,"end":559,"loc":{"start":{"line":14,"column":14,"index":545},"end":{"line":14,"column":28,"index":559}},
591 "predicate": null,
592 "returnType": {
593 "type": "TypeAnnotation",
594 "start":549,"end":554,"loc":{"start":{"line":14,"column":18,"index":549},"end":{"line":14,"column":23,"index":554}},
595 "typeAnnotation": {
596 "type": "GenericTypeAnnotation",
597 "start":552,"end":553,"loc":{"start":{"line":14,"column":21,"index":552},"end":{"line":14,"column":22,"index":553}},
598 "typeParameters": null,
599 "id": {
600 "type": "Identifier",
601 "start":552,"end":553,"loc":{"start":{"line":14,"column":21,"index":552},"end":{"line":14,"column":22,"index":553},"identifierName":"e"},
602 "name": "e"
603 }
604 }
605 },
606 "id": null,
607 "generator": false,
608 "async": false,
609 "params": [
610 {
611 "type": "Identifier",
612 "start":546,"end":547,"loc":{"start":{"line":14,"column":15,"index":546},"end":{"line":14,"column":16,"index":547},"identifierName":"d"},
613 "name": "d"
614 }
615 ],
616 "body": {
617 "type": "Identifier",
618 "start":558,"end":559,"loc":{"start":{"line":14,"column":27,"index":558},"end":{"line":14,"column":28,"index":559},"identifierName":"f"},
619 "name": "f"
620 }
621 }
622 },
623 "alternate": {
624 "type": "Identifier",
625 "start":562,"end":563,"loc":{"start":{"line":14,"column":31,"index":562},"end":{"line":14,"column":32,"index":563},"identifierName":"g"},
626 "name": "g"
627 }
628 },
629 "trailingComments": [
630 {
631 "type": "CommentLine",
632 "value": " a ? (b ? c : ((d): e => f)) : g",
633 "start":565,"end":599,"loc":{"start":{"line":14,"column":34,"index":565},"end":{"line":14,"column":68,"index":599}}
634 },
635 {
636 "type": "CommentLine",
637 "value": " Multiple arrow functions",
638 "start":601,"end":628,"loc":{"start":{"line":16,"column":0,"index":601},"end":{"line":16,"column":27,"index":628}}
639 }
640 ],
641 "leadingComments": [
642 {
643 "type": "CommentLine",
644 "value": " a ? (b ? (c ? d : (e => f)) : g) : h",
645 "start":490,"end":529,"loc":{"start":{"line":12,"column":36,"index":490},"end":{"line":12,"column":75,"index":529}}
646 }
647 ]
648 },
649 {
650 "type": "ExpressionStatement",
651 "start":629,"end":661,"loc":{"start":{"line":17,"column":0,"index":629},"end":{"line":17,"column":32,"index":661}},
652 "expression": {
653 "type": "ConditionalExpression",
654 "start":629,"end":660,"loc":{"start":{"line":17,"column":0,"index":629},"end":{"line":17,"column":31,"index":660}},
655 "test": {
656 "type": "Identifier",
657 "start":629,"end":630,"loc":{"start":{"line":17,"column":0,"index":629},"end":{"line":17,"column":1,"index":630},"identifierName":"a"},
658 "name": "a"
659 },
660 "consequent": {
661 "type": "ArrowFunctionExpression",
662 "start":633,"end":645,"loc":{"start":{"line":17,"column":4,"index":633},"end":{"line":17,"column":16,"index":645}},
663 "predicate": null,
664 "returnType": {
665 "type": "TypeAnnotation",
666 "start":637,"end":640,"loc":{"start":{"line":17,"column":8,"index":637},"end":{"line":17,"column":11,"index":640}},
667 "typeAnnotation": {
668 "type": "GenericTypeAnnotation",
669 "start":639,"end":640,"loc":{"start":{"line":17,"column":10,"index":639},"end":{"line":17,"column":11,"index":640}},
670 "typeParameters": null,
671 "id": {
672 "type": "Identifier",
673 "start":639,"end":640,"loc":{"start":{"line":17,"column":10,"index":639},"end":{"line":17,"column":11,"index":640},"identifierName":"c"},
674 "name": "c"
675 }
676 }
677 },
678 "id": null,
679 "generator": false,
680 "async": false,
681 "params": [
682 {
683 "type": "Identifier",
684 "start":634,"end":635,"loc":{"start":{"line":17,"column":5,"index":634},"end":{"line":17,"column":6,"index":635},"identifierName":"b"},
685 "name": "b"
686 }
687 ],
688 "body": {
689 "type": "Identifier",
690 "start":644,"end":645,"loc":{"start":{"line":17,"column":15,"index":644},"end":{"line":17,"column":16,"index":645},"identifierName":"d"},
691 "name": "d"
692 }
693 },
694 "alternate": {
695 "type": "ArrowFunctionExpression",
696 "start":648,"end":660,"loc":{"start":{"line":17,"column":19,"index":648},"end":{"line":17,"column":31,"index":660}},
697 "predicate": null,
698 "returnType": {
699 "type": "TypeAnnotation",
700 "start":652,"end":655,"loc":{"start":{"line":17,"column":23,"index":652},"end":{"line":17,"column":26,"index":655}},
701 "typeAnnotation": {
702 "type": "GenericTypeAnnotation",
703 "start":654,"end":655,"loc":{"start":{"line":17,"column":25,"index":654},"end":{"line":17,"column":26,"index":655}},
704 "typeParameters": null,
705 "id": {
706 "type": "Identifier",
707 "start":654,"end":655,"loc":{"start":{"line":17,"column":25,"index":654},"end":{"line":17,"column":26,"index":655},"identifierName":"f"},
708 "name": "f"
709 }
710 }
711 },
712 "id": null,
713 "generator": false,
714 "async": false,
715 "params": [
716 {
717 "type": "Identifier",
718 "start":649,"end":650,"loc":{"start":{"line":17,"column":20,"index":649},"end":{"line":17,"column":21,"index":650},"identifierName":"e"},
719 "name": "e"
720 }
721 ],
722 "body": {
723 "type": "Identifier",
724 "start":659,"end":660,"loc":{"start":{"line":17,"column":30,"index":659},"end":{"line":17,"column":31,"index":660},"identifierName":"g"},
725 "name": "g"
726 }
727 }
728 },
729 "trailingComments": [
730 {
731 "type": "CommentLine",
732 "value": " a ? ((b): c => d) : ((e): f => g)",
733 "start":662,"end":698,"loc":{"start":{"line":17,"column":33,"index":662},"end":{"line":17,"column":69,"index":698}}
734 },
735 {
736 "type": "CommentLine",
737 "value": " Multiple nested arrow functions (<T> is needed to avoid ambiguities)",
738 "start":700,"end":771,"loc":{"start":{"line":19,"column":0,"index":700},"end":{"line":19,"column":71,"index":771}}
739 }
740 ],
741 "leadingComments": [
742 {
743 "type": "CommentLine",
744 "value": " a ? (b ? c : ((d): e => f)) : g",
745 "start":565,"end":599,"loc":{"start":{"line":14,"column":34,"index":565},"end":{"line":14,"column":68,"index":599}}
746 },
747 {
748 "type": "CommentLine",
749 "value": " Multiple arrow functions",
750 "start":601,"end":628,"loc":{"start":{"line":16,"column":0,"index":601},"end":{"line":16,"column":27,"index":628}}
751 }
752 ]
753 },
754 {
755 "type": "ExpressionStatement",
756 "start":772,"end":804,"loc":{"start":{"line":20,"column":0,"index":772},"end":{"line":20,"column":32,"index":804}},
757 "expression": {
758 "type": "ConditionalExpression",
759 "start":772,"end":803,"loc":{"start":{"line":20,"column":0,"index":772},"end":{"line":20,"column":31,"index":803}},
760 "test": {
761 "type": "Identifier",
762 "start":772,"end":773,"loc":{"start":{"line":20,"column":0,"index":772},"end":{"line":20,"column":1,"index":773},"identifierName":"a"},
763 "name": "a"
764 },
765 "consequent": {
766 "type": "ArrowFunctionExpression",
767 "start":776,"end":799,"loc":{"start":{"line":20,"column":4,"index":776},"end":{"line":20,"column":27,"index":799}},
768 "predicate": null,
769 "returnType": {
770 "type": "TypeAnnotation",
771 "start":780,"end":783,"loc":{"start":{"line":20,"column":8,"index":780},"end":{"line":20,"column":11,"index":783}},
772 "typeAnnotation": {
773 "type": "GenericTypeAnnotation",
774 "start":782,"end":783,"loc":{"start":{"line":20,"column":10,"index":782},"end":{"line":20,"column":11,"index":783}},
775 "typeParameters": null,
776 "id": {
777 "type": "Identifier",
778 "start":782,"end":783,"loc":{"start":{"line":20,"column":10,"index":782},"end":{"line":20,"column":11,"index":783},"identifierName":"c"},
779 "name": "c"
780 }
781 }
782 },
783 "id": null,
784 "generator": false,
785 "async": false,
786 "params": [
787 {
788 "type": "Identifier",
789 "start":777,"end":778,"loc":{"start":{"line":20,"column":5,"index":777},"end":{"line":20,"column":6,"index":778},"identifierName":"b"},
790 "name": "b"
791 }
792 ],
793 "body": {
794 "type": "ArrowFunctionExpression",
795 "start":787,"end":799,"loc":{"start":{"line":20,"column":15,"index":787},"end":{"line":20,"column":27,"index":799}},
796 "predicate": null,
797 "returnType": {
798 "type": "TypeAnnotation",
799 "start":791,"end":794,"loc":{"start":{"line":20,"column":19,"index":791},"end":{"line":20,"column":22,"index":794}},
800 "typeAnnotation": {
801 "type": "GenericTypeAnnotation",
802 "start":793,"end":794,"loc":{"start":{"line":20,"column":21,"index":793},"end":{"line":20,"column":22,"index":794}},
803 "typeParameters": null,
804 "id": {
805 "type": "Identifier",
806 "start":793,"end":794,"loc":{"start":{"line":20,"column":21,"index":793},"end":{"line":20,"column":22,"index":794},"identifierName":"e"},
807 "name": "e"
808 }
809 }
810 },
811 "id": null,
812 "generator": false,
813 "async": false,
814 "params": [
815 {
816 "type": "Identifier",
817 "start":788,"end":789,"loc":{"start":{"line":20,"column":16,"index":788},"end":{"line":20,"column":17,"index":789},"identifierName":"d"},
818 "name": "d"
819 }
820 ],
821 "body": {
822 "type": "Identifier",
823 "start":798,"end":799,"loc":{"start":{"line":20,"column":26,"index":798},"end":{"line":20,"column":27,"index":799},"identifierName":"f"},
824 "name": "f"
825 }
826 }
827 },
828 "alternate": {
829 "type": "Identifier",
830 "start":802,"end":803,"loc":{"start":{"line":20,"column":30,"index":802},"end":{"line":20,"column":31,"index":803},"identifierName":"g"},
831 "name": "g"
832 }
833 },
834 "trailingComments": [
835 {
836 "type": "CommentLine",
837 "value": " a ? ((b): c => ((d): e => f)) : g",
838 "start":805,"end":841,"loc":{"start":{"line":20,"column":33,"index":805},"end":{"line":20,"column":69,"index":841}}
839 }
840 ],
841 "leadingComments": [
842 {
843 "type": "CommentLine",
844 "value": " a ? ((b): c => d) : ((e): f => g)",
845 "start":662,"end":698,"loc":{"start":{"line":17,"column":33,"index":662},"end":{"line":17,"column":69,"index":698}}
846 },
847 {
848 "type": "CommentLine",
849 "value": " Multiple nested arrow functions (<T> is needed to avoid ambiguities)",
850 "start":700,"end":771,"loc":{"start":{"line":19,"column":0,"index":700},"end":{"line":19,"column":71,"index":771}}
851 }
852 ]
853 },
854 {
855 "type": "ExpressionStatement",
856 "start":842,"end":873,"loc":{"start":{"line":21,"column":0,"index":842},"end":{"line":21,"column":31,"index":873}},
857 "expression": {
858 "type": "ConditionalExpression",
859 "start":842,"end":872,"loc":{"start":{"line":21,"column":0,"index":842},"end":{"line":21,"column":30,"index":872}},
860 "test": {
861 "type": "Identifier",
862 "start":842,"end":843,"loc":{"start":{"line":21,"column":0,"index":842},"end":{"line":21,"column":1,"index":843},"identifierName":"a"},
863 "name": "a"
864 },
865 "consequent": {
866 "type": "Identifier",
867 "start":847,"end":848,"loc":{"start":{"line":21,"column":5,"index":847},"end":{"line":21,"column":6,"index":848},"identifierName":"b"},
868 "name": "b",
869 "extra": {
870 "parenthesized": true,
871 "parenStart": 846
872 }
873 },
874 "alternate": {
875 "type": "ArrowFunctionExpression",
876 "start":852,"end":872,"loc":{"start":{"line":21,"column":10,"index":852},"end":{"line":21,"column":30,"index":872}},
877 "id": null,
878 "generator": false,
879 "async": false,
880 "params": [
881 {
882 "type": "Identifier",
883 "start":852,"end":853,"loc":{"start":{"line":21,"column":10,"index":852},"end":{"line":21,"column":11,"index":853},"identifierName":"c"},
884 "name": "c"
885 }
886 ],
887 "body": {
888 "type": "ArrowFunctionExpression",
889 "start":857,"end":872,"loc":{"start":{"line":21,"column":15,"index":857},"end":{"line":21,"column":30,"index":872}},
890 "predicate": null,
891 "returnType": {
892 "type": "TypeAnnotation",
893 "start":864,"end":867,"loc":{"start":{"line":21,"column":22,"index":864},"end":{"line":21,"column":25,"index":867}},
894 "typeAnnotation": {
895 "type": "GenericTypeAnnotation",
896 "start":866,"end":867,"loc":{"start":{"line":21,"column":24,"index":866},"end":{"line":21,"column":25,"index":867}},
897 "typeParameters": null,
898 "id": {
899 "type": "Identifier",
900 "start":866,"end":867,"loc":{"start":{"line":21,"column":24,"index":866},"end":{"line":21,"column":25,"index":867},"identifierName":"e"},
901 "name": "e"
902 }
903 }
904 },
905 "id": null,
906 "generator": false,
907 "async": false,
908 "params": [
909 {
910 "type": "Identifier",
911 "start":861,"end":862,"loc":{"start":{"line":21,"column":19,"index":861},"end":{"line":21,"column":20,"index":862},"identifierName":"d"},
912 "name": "d"
913 }
914 ],
915 "body": {
916 "type": "Identifier",
917 "start":871,"end":872,"loc":{"start":{"line":21,"column":29,"index":871},"end":{"line":21,"column":30,"index":872},"identifierName":"f"},
918 "name": "f"
919 },
920 "typeParameters": {
921 "type": "TypeParameterDeclaration",
922 "start":857,"end":860,"loc":{"start":{"line":21,"column":15,"index":857},"end":{"line":21,"column":18,"index":860}},
923 "params": [
924 {
925 "type": "TypeParameter",
926 "start":858,"end":859,"loc":{"start":{"line":21,"column":16,"index":858},"end":{"line":21,"column":17,"index":859}},
927 "name": "T",
928 "variance": null
929 }
930 ]
931 }
932 }
933 }
934 },
935 "trailingComments": [
936 {
937 "type": "CommentLine",
938 "value": " a ? b : (c => (<T>(d): e => f))",
939 "start":874,"end":908,"loc":{"start":{"line":21,"column":32,"index":874},"end":{"line":21,"column":66,"index":908}}
940 }
941 ],
942 "leadingComments": [
943 {
944 "type": "CommentLine",
945 "value": " a ? ((b): c => ((d): e => f)) : g",
946 "start":805,"end":841,"loc":{"start":{"line":20,"column":33,"index":805},"end":{"line":20,"column":69,"index":841}}
947 }
948 ]
949 },
950 {
951 "type": "ExpressionStatement",
952 "start":909,"end":940,"loc":{"start":{"line":22,"column":0,"index":909},"end":{"line":22,"column":31,"index":940}},
953 "expression": {
954 "type": "ConditionalExpression",
955 "start":909,"end":939,"loc":{"start":{"line":22,"column":0,"index":909},"end":{"line":22,"column":30,"index":939}},
956 "test": {
957 "type": "Identifier",
958 "start":909,"end":910,"loc":{"start":{"line":22,"column":0,"index":909},"end":{"line":22,"column":1,"index":910},"identifierName":"a"},
959 "name": "a"
960 },
961 "consequent": {
962 "type": "ArrowFunctionExpression",
963 "start":913,"end":930,"loc":{"start":{"line":22,"column":4,"index":913},"end":{"line":22,"column":21,"index":930}},
964 "predicate": null,
965 "returnType": {
966 "type": "TypeAnnotation",
967 "start":920,"end":923,"loc":{"start":{"line":22,"column":11,"index":920},"end":{"line":22,"column":14,"index":923}},
968 "typeAnnotation": {
969 "type": "GenericTypeAnnotation",
970 "start":922,"end":923,"loc":{"start":{"line":22,"column":13,"index":922},"end":{"line":22,"column":14,"index":923}},
971 "typeParameters": null,
972 "id": {
973 "type": "Identifier",
974 "start":922,"end":923,"loc":{"start":{"line":22,"column":13,"index":922},"end":{"line":22,"column":14,"index":923},"identifierName":"c"},
975 "name": "c"
976 }
977 }
978 },
979 "id": null,
980 "generator": false,
981 "async": false,
982 "params": [
983 {
984 "type": "Identifier",
985 "start":917,"end":918,"loc":{"start":{"line":22,"column":8,"index":917},"end":{"line":22,"column":9,"index":918},"identifierName":"b"},
986 "name": "b"
987 }
988 ],
989 "body": {
990 "type": "Identifier",
991 "start":928,"end":929,"loc":{"start":{"line":22,"column":19,"index":928},"end":{"line":22,"column":20,"index":929},"identifierName":"d"},
992 "name": "d",
993 "extra": {
994 "parenthesized": true,
995 "parenStart": 927
996 }
997 },
998 "typeParameters": {
999 "type": "TypeParameterDeclaration",
1000 "start":913,"end":916,"loc":{"start":{"line":22,"column":4,"index":913},"end":{"line":22,"column":7,"index":916}},
1001 "params": [
1002 {
1003 "type": "TypeParameter",
1004 "start":914,"end":915,"loc":{"start":{"line":22,"column":5,"index":914},"end":{"line":22,"column":6,"index":915}},
1005 "name": "T",
1006 "variance": null
1007 }
1008 ]
1009 }
1010 },
1011 "alternate": {
1012 "type": "ArrowFunctionExpression",
1013 "start":933,"end":939,"loc":{"start":{"line":22,"column":24,"index":933},"end":{"line":22,"column":30,"index":939}},
1014 "id": null,
1015 "generator": false,
1016 "async": false,
1017 "params": [
1018 {
1019 "type": "Identifier",
1020 "start":933,"end":934,"loc":{"start":{"line":22,"column":24,"index":933},"end":{"line":22,"column":25,"index":934},"identifierName":"e"},
1021 "name": "e"
1022 }
1023 ],
1024 "body": {
1025 "type": "Identifier",
1026 "start":938,"end":939,"loc":{"start":{"line":22,"column":29,"index":938},"end":{"line":22,"column":30,"index":939},"identifierName":"f"},
1027 "name": "f"
1028 }
1029 }
1030 },
1031 "trailingComments": [
1032 {
1033 "type": "CommentLine",
1034 "value": " a ? (<T>(b): c => d) : (e => f)",
1035 "start":941,"end":975,"loc":{"start":{"line":22,"column":32,"index":941},"end":{"line":22,"column":66,"index":975}}
1036 },
1037 {
1038 "type": "CommentLine",
1039 "value": " Invalid lhs value inside parentheses",
1040 "start":977,"end":1016,"loc":{"start":{"line":24,"column":0,"index":977},"end":{"line":24,"column":39,"index":1016}}
1041 }
1042 ],
1043 "leadingComments": [
1044 {
1045 "type": "CommentLine",
1046 "value": " a ? b : (c => (<T>(d): e => f))",
1047 "start":874,"end":908,"loc":{"start":{"line":21,"column":32,"index":874},"end":{"line":21,"column":66,"index":908}}
1048 }
1049 ]
1050 },
1051 {
1052 "type": "ExpressionStatement",
1053 "start":1017,"end":1039,"loc":{"start":{"line":25,"column":0,"index":1017},"end":{"line":25,"column":22,"index":1039}},
1054 "expression": {
1055 "type": "ConditionalExpression",
1056 "start":1017,"end":1038,"loc":{"start":{"line":25,"column":0,"index":1017},"end":{"line":25,"column":21,"index":1038}},
1057 "test": {
1058 "type": "Identifier",
1059 "start":1017,"end":1018,"loc":{"start":{"line":25,"column":0,"index":1017},"end":{"line":25,"column":1,"index":1018},"identifierName":"a"},
1060 "name": "a"
1061 },
1062 "consequent": {
1063 "type": "ArrowFunctionExpression",
1064 "start":1022,"end":1028,"loc":{"start":{"line":25,"column":5,"index":1022},"end":{"line":25,"column":11,"index":1028}},
1065 "id": null,
1066 "generator": false,
1067 "async": false,
1068 "params": [
1069 {
1070 "type": "Identifier",
1071 "start":1022,"end":1023,"loc":{"start":{"line":25,"column":5,"index":1022},"end":{"line":25,"column":6,"index":1023},"identifierName":"b"},
1072 "name": "b"
1073 }
1074 ],
1075 "body": {
1076 "type": "Identifier",
1077 "start":1027,"end":1028,"loc":{"start":{"line":25,"column":10,"index":1027},"end":{"line":25,"column":11,"index":1028},"identifierName":"c"},
1078 "name": "c"
1079 },
1080 "extra": {
1081 "parenthesized": true,
1082 "parenStart": 1021
1083 }
1084 },
1085 "alternate": {
1086 "type": "ArrowFunctionExpression",
1087 "start":1032,"end":1038,"loc":{"start":{"line":25,"column":15,"index":1032},"end":{"line":25,"column":21,"index":1038}},
1088 "id": null,
1089 "generator": false,
1090 "async": false,
1091 "params": [
1092 {
1093 "type": "Identifier",
1094 "start":1032,"end":1033,"loc":{"start":{"line":25,"column":15,"index":1032},"end":{"line":25,"column":16,"index":1033},"identifierName":"d"},
1095 "name": "d"
1096 }
1097 ],
1098 "body": {
1099 "type": "Identifier",
1100 "start":1037,"end":1038,"loc":{"start":{"line":25,"column":20,"index":1037},"end":{"line":25,"column":21,"index":1038},"identifierName":"e"},
1101 "name": "e"
1102 }
1103 }
1104 },
1105 "trailingComments": [
1106 {
1107 "type": "CommentLine",
1108 "value": " a ? (b => c) : (d => e)",
1109 "start":1040,"end":1066,"loc":{"start":{"line":25,"column":23,"index":1040},"end":{"line":25,"column":49,"index":1066}}
1110 }
1111 ],
1112 "leadingComments": [
1113 {
1114 "type": "CommentLine",
1115 "value": " a ? (<T>(b): c => d) : (e => f)",
1116 "start":941,"end":975,"loc":{"start":{"line":22,"column":32,"index":941},"end":{"line":22,"column":66,"index":975}}
1117 },
1118 {
1119 "type": "CommentLine",
1120 "value": " Invalid lhs value inside parentheses",
1121 "start":977,"end":1016,"loc":{"start":{"line":24,"column":0,"index":977},"end":{"line":24,"column":39,"index":1016}}
1122 }
1123 ]
1124 },
1125 {
1126 "type": "ExpressionStatement",
1127 "start":1067,"end":1097,"loc":{"start":{"line":26,"column":0,"index":1067},"end":{"line":26,"column":30,"index":1097}},
1128 "expression": {
1129 "type": "ConditionalExpression",
1130 "start":1067,"end":1096,"loc":{"start":{"line":26,"column":0,"index":1067},"end":{"line":26,"column":29,"index":1096}},
1131 "test": {
1132 "type": "Identifier",
1133 "start":1067,"end":1068,"loc":{"start":{"line":26,"column":0,"index":1067},"end":{"line":26,"column":1,"index":1068},"identifierName":"a"},
1134 "name": "a"
1135 },
1136 "consequent": {
1137 "type": "ConditionalExpression",
1138 "start":1071,"end":1092,"loc":{"start":{"line":26,"column":4,"index":1071},"end":{"line":26,"column":25,"index":1092}},
1139 "test": {
1140 "type": "Identifier",
1141 "start":1071,"end":1072,"loc":{"start":{"line":26,"column":4,"index":1071},"end":{"line":26,"column":5,"index":1072},"identifierName":"b"},
1142 "name": "b"
1143 },
1144 "consequent": {
1145 "type": "ArrowFunctionExpression",
1146 "start":1076,"end":1082,"loc":{"start":{"line":26,"column":9,"index":1076},"end":{"line":26,"column":15,"index":1082}},
1147 "id": null,
1148 "generator": false,
1149 "async": false,
1150 "params": [
1151 {
1152 "type": "Identifier",
1153 "start":1076,"end":1077,"loc":{"start":{"line":26,"column":9,"index":1076},"end":{"line":26,"column":10,"index":1077},"identifierName":"c"},
1154 "name": "c"
1155 }
1156 ],
1157 "body": {
1158 "type": "Identifier",
1159 "start":1081,"end":1082,"loc":{"start":{"line":26,"column":14,"index":1081},"end":{"line":26,"column":15,"index":1082},"identifierName":"d"},
1160 "name": "d"
1161 },
1162 "extra": {
1163 "parenthesized": true,
1164 "parenStart": 1075
1165 }
1166 },
1167 "alternate": {
1168 "type": "ArrowFunctionExpression",
1169 "start":1086,"end":1092,"loc":{"start":{"line":26,"column":19,"index":1086},"end":{"line":26,"column":25,"index":1092}},
1170 "id": null,
1171 "generator": false,
1172 "async": false,
1173 "params": [
1174 {
1175 "type": "Identifier",
1176 "start":1086,"end":1087,"loc":{"start":{"line":26,"column":19,"index":1086},"end":{"line":26,"column":20,"index":1087},"identifierName":"e"},
1177 "name": "e"
1178 }
1179 ],
1180 "body": {
1181 "type": "Identifier",
1182 "start":1091,"end":1092,"loc":{"start":{"line":26,"column":24,"index":1091},"end":{"line":26,"column":25,"index":1092},"identifierName":"f"},
1183 "name": "f"
1184 }
1185 }
1186 },
1187 "alternate": {
1188 "type": "Identifier",
1189 "start":1095,"end":1096,"loc":{"start":{"line":26,"column":28,"index":1095},"end":{"line":26,"column":29,"index":1096},"identifierName":"g"},
1190 "name": "g"
1191 }
1192 },
1193 "trailingComments": [
1194 {
1195 "type": "CommentLine",
1196 "value": " a ? (b ? (c => d) : (e => f)) : g",
1197 "start":1098,"end":1134,"loc":{"start":{"line":26,"column":31,"index":1098},"end":{"line":26,"column":67,"index":1134}}
1198 },
1199 {
1200 "type": "CommentLine",
1201 "value": " Invalid lhs value inside parentheses inside arrow function",
1202 "start":1136,"end":1197,"loc":{"start":{"line":28,"column":0,"index":1136},"end":{"line":28,"column":61,"index":1197}}
1203 }
1204 ],
1205 "leadingComments": [
1206 {
1207 "type": "CommentLine",
1208 "value": " a ? (b => c) : (d => e)",
1209 "start":1040,"end":1066,"loc":{"start":{"line":25,"column":23,"index":1040},"end":{"line":25,"column":49,"index":1066}}
1210 }
1211 ]
1212 },
1213 {
1214 "type": "ExpressionStatement",
1215 "start":1198,"end":1231,"loc":{"start":{"line":29,"column":0,"index":1198},"end":{"line":29,"column":33,"index":1231}},
1216 "expression": {
1217 "type": "ConditionalExpression",
1218 "start":1198,"end":1230,"loc":{"start":{"line":29,"column":0,"index":1198},"end":{"line":29,"column":32,"index":1230}},
1219 "test": {
1220 "type": "Identifier",
1221 "start":1198,"end":1199,"loc":{"start":{"line":29,"column":0,"index":1198},"end":{"line":29,"column":1,"index":1199},"identifierName":"a"},
1222 "name": "a"
1223 },
1224 "consequent": {
1225 "type": "ArrowFunctionExpression",
1226 "start":1202,"end":1221,"loc":{"start":{"line":29,"column":4,"index":1202},"end":{"line":29,"column":23,"index":1221}},
1227 "predicate": null,
1228 "returnType": {
1229 "type": "TypeAnnotation",
1230 "start":1206,"end":1209,"loc":{"start":{"line":29,"column":8,"index":1206},"end":{"line":29,"column":11,"index":1209}},
1231 "typeAnnotation": {
1232 "type": "GenericTypeAnnotation",
1233 "start":1208,"end":1209,"loc":{"start":{"line":29,"column":10,"index":1208},"end":{"line":29,"column":11,"index":1209}},
1234 "typeParameters": null,
1235 "id": {
1236 "type": "Identifier",
1237 "start":1208,"end":1209,"loc":{"start":{"line":29,"column":10,"index":1208},"end":{"line":29,"column":11,"index":1209},"identifierName":"c"},
1238 "name": "c"
1239 }
1240 }
1241 },
1242 "id": null,
1243 "generator": false,
1244 "async": false,
1245 "params": [
1246 {
1247 "type": "Identifier",
1248 "start":1203,"end":1204,"loc":{"start":{"line":29,"column":5,"index":1203},"end":{"line":29,"column":6,"index":1204},"identifierName":"b"},
1249 "name": "b"
1250 }
1251 ],
1252 "body": {
1253 "type": "ArrowFunctionExpression",
1254 "start":1214,"end":1220,"loc":{"start":{"line":29,"column":16,"index":1214},"end":{"line":29,"column":22,"index":1220}},
1255 "id": null,
1256 "generator": false,
1257 "async": false,
1258 "params": [
1259 {
1260 "type": "Identifier",
1261 "start":1214,"end":1215,"loc":{"start":{"line":29,"column":16,"index":1214},"end":{"line":29,"column":17,"index":1215},"identifierName":"d"},
1262 "name": "d"
1263 }
1264 ],
1265 "body": {
1266 "type": "Identifier",
1267 "start":1219,"end":1220,"loc":{"start":{"line":29,"column":21,"index":1219},"end":{"line":29,"column":22,"index":1220},"identifierName":"e"},
1268 "name": "e"
1269 },
1270 "extra": {
1271 "parenthesized": true,
1272 "parenStart": 1213
1273 }
1274 }
1275 },
1276 "alternate": {
1277 "type": "ArrowFunctionExpression",
1278 "start":1224,"end":1230,"loc":{"start":{"line":29,"column":26,"index":1224},"end":{"line":29,"column":32,"index":1230}},
1279 "id": null,
1280 "generator": false,
1281 "async": false,
1282 "params": [
1283 {
1284 "type": "Identifier",
1285 "start":1224,"end":1225,"loc":{"start":{"line":29,"column":26,"index":1224},"end":{"line":29,"column":27,"index":1225},"identifierName":"f"},
1286 "name": "f"
1287 }
1288 ],
1289 "body": {
1290 "type": "Identifier",
1291 "start":1229,"end":1230,"loc":{"start":{"line":29,"column":31,"index":1229},"end":{"line":29,"column":32,"index":1230},"identifierName":"g"},
1292 "name": "g"
1293 }
1294 }
1295 },
1296 "trailingComments": [
1297 {
1298 "type": "CommentLine",
1299 "value": " a ? ((b): c => (d => e)) : (f => g)",
1300 "start":1232,"end":1270,"loc":{"start":{"line":29,"column":34,"index":1232},"end":{"line":29,"column":72,"index":1270}}
1301 }
1302 ],
1303 "leadingComments": [
1304 {
1305 "type": "CommentLine",
1306 "value": " a ? (b ? (c => d) : (e => f)) : g",
1307 "start":1098,"end":1134,"loc":{"start":{"line":26,"column":31,"index":1098},"end":{"line":26,"column":67,"index":1134}}
1308 },
1309 {
1310 "type": "CommentLine",
1311 "value": " Invalid lhs value inside parentheses inside arrow function",
1312 "start":1136,"end":1197,"loc":{"start":{"line":28,"column":0,"index":1136},"end":{"line":28,"column":61,"index":1197}}
1313 }
1314 ]
1315 },
1316 {
1317 "type": "ExpressionStatement",
1318 "start":1271,"end":1313,"loc":{"start":{"line":30,"column":0,"index":1271},"end":{"line":30,"column":42,"index":1313}},
1319 "expression": {
1320 "type": "ConditionalExpression",
1321 "start":1271,"end":1312,"loc":{"start":{"line":30,"column":0,"index":1271},"end":{"line":30,"column":41,"index":1312}},
1322 "test": {
1323 "type": "Identifier",
1324 "start":1271,"end":1272,"loc":{"start":{"line":30,"column":0,"index":1271},"end":{"line":30,"column":1,"index":1272},"identifierName":"a"},
1325 "name": "a"
1326 },
1327 "consequent": {
1328 "type": "ConditionalExpression",
1329 "start":1275,"end":1303,"loc":{"start":{"line":30,"column":4,"index":1275},"end":{"line":30,"column":32,"index":1303}},
1330 "test": {
1331 "type": "Identifier",
1332 "start":1275,"end":1276,"loc":{"start":{"line":30,"column":4,"index":1275},"end":{"line":30,"column":5,"index":1276},"identifierName":"b"},
1333 "name": "b"
1334 },
1335 "consequent": {
1336 "type": "ArrowFunctionExpression",
1337 "start":1280,"end":1286,"loc":{"start":{"line":30,"column":9,"index":1280},"end":{"line":30,"column":15,"index":1286}},
1338 "id": null,
1339 "generator": false,
1340 "async": false,
1341 "params": [
1342 {
1343 "type": "Identifier",
1344 "start":1280,"end":1281,"loc":{"start":{"line":30,"column":9,"index":1280},"end":{"line":30,"column":10,"index":1281},"identifierName":"c"},
1345 "name": "c"
1346 }
1347 ],
1348 "body": {
1349 "type": "Identifier",
1350 "start":1285,"end":1286,"loc":{"start":{"line":30,"column":14,"index":1285},"end":{"line":30,"column":15,"index":1286},"identifierName":"d"},
1351 "name": "d"
1352 },
1353 "extra": {
1354 "parenthesized": true,
1355 "parenStart": 1279
1356 }
1357 },
1358 "alternate": {
1359 "type": "ArrowFunctionExpression",
1360 "start":1290,"end":1303,"loc":{"start":{"line":30,"column":19,"index":1290},"end":{"line":30,"column":32,"index":1303}},
1361 "id": null,
1362 "generator": false,
1363 "async": false,
1364 "params": [
1365 {
1366 "type": "Identifier",
1367 "start":1290,"end":1291,"loc":{"start":{"line":30,"column":19,"index":1290},"end":{"line":30,"column":20,"index":1291},"identifierName":"e"},
1368 "name": "e"
1369 }
1370 ],
1371 "body": {
1372 "type": "ArrowFunctionExpression",
1373 "start":1296,"end":1302,"loc":{"start":{"line":30,"column":25,"index":1296},"end":{"line":30,"column":31,"index":1302}},
1374 "id": null,
1375 "generator": false,
1376 "async": false,
1377 "params": [
1378 {
1379 "type": "Identifier",
1380 "start":1296,"end":1297,"loc":{"start":{"line":30,"column":25,"index":1296},"end":{"line":30,"column":26,"index":1297},"identifierName":"f"},
1381 "name": "f"
1382 }
1383 ],
1384 "body": {
1385 "type": "Identifier",
1386 "start":1301,"end":1302,"loc":{"start":{"line":30,"column":30,"index":1301},"end":{"line":30,"column":31,"index":1302},"identifierName":"g"},
1387 "name": "g"
1388 },
1389 "extra": {
1390 "parenthesized": true,
1391 "parenStart": 1295
1392 }
1393 }
1394 }
1395 },
1396 "alternate": {
1397 "type": "ArrowFunctionExpression",
1398 "start":1306,"end":1312,"loc":{"start":{"line":30,"column":35,"index":1306},"end":{"line":30,"column":41,"index":1312}},
1399 "id": null,
1400 "generator": false,
1401 "async": false,
1402 "params": [
1403 {
1404 "type": "Identifier",
1405 "start":1306,"end":1307,"loc":{"start":{"line":30,"column":35,"index":1306},"end":{"line":30,"column":36,"index":1307},"identifierName":"h"},
1406 "name": "h"
1407 }
1408 ],
1409 "body": {
1410 "type": "Identifier",
1411 "start":1311,"end":1312,"loc":{"start":{"line":30,"column":40,"index":1311},"end":{"line":30,"column":41,"index":1312},"identifierName":"i"},
1412 "name": "i"
1413 }
1414 }
1415 },
1416 "trailingComments": [
1417 {
1418 "type": "CommentLine",
1419 "value": " a ? (b ? (c => d) : (e => (f => g))) : (h => i)",
1420 "start":1314,"end":1364,"loc":{"start":{"line":30,"column":43,"index":1314},"end":{"line":30,"column":93,"index":1364}}
1421 },
1422 {
1423 "type": "CommentLine",
1424 "value": " Function as type annotation",
1425 "start":1366,"end":1396,"loc":{"start":{"line":32,"column":0,"index":1366},"end":{"line":32,"column":30,"index":1396}}
1426 }
1427 ],
1428 "leadingComments": [
1429 {
1430 "type": "CommentLine",
1431 "value": " a ? ((b): c => (d => e)) : (f => g)",
1432 "start":1232,"end":1270,"loc":{"start":{"line":29,"column":34,"index":1232},"end":{"line":29,"column":72,"index":1270}}
1433 }
1434 ]
1435 },
1436 {
1437 "type": "ExpressionStatement",
1438 "start":1397,"end":1425,"loc":{"start":{"line":33,"column":0,"index":1397},"end":{"line":33,"column":28,"index":1425}},
1439 "expression": {
1440 "type": "ConditionalExpression",
1441 "start":1397,"end":1424,"loc":{"start":{"line":33,"column":0,"index":1397},"end":{"line":33,"column":27,"index":1424}},
1442 "test": {
1443 "type": "Identifier",
1444 "start":1397,"end":1398,"loc":{"start":{"line":33,"column":0,"index":1397},"end":{"line":33,"column":1,"index":1398},"identifierName":"a"},
1445 "name": "a"
1446 },
1447 "consequent": {
1448 "type": "ArrowFunctionExpression",
1449 "start":1401,"end":1420,"loc":{"start":{"line":33,"column":4,"index":1401},"end":{"line":33,"column":23,"index":1420}},
1450 "predicate": null,
1451 "returnType": {
1452 "type": "TypeAnnotation",
1453 "start":1405,"end":1415,"loc":{"start":{"line":33,"column":8,"index":1405},"end":{"line":33,"column":18,"index":1415}},
1454 "typeAnnotation": {
1455 "type": "FunctionTypeAnnotation",
1456 "start":1408,"end":1414,"loc":{"start":{"line":33,"column":11,"index":1408},"end":{"line":33,"column":17,"index":1414}},
1457 "params": [
1458 {
1459 "type": "FunctionTypeParam",
1460 "start":1408,"end":1412,"loc":{"start":{"line":33,"column":11,"index":1408},"end":{"line":33,"column":15,"index":1412}},
1461 "name": null,
1462 "optional": false,
1463 "typeAnnotation": {
1464 "type": "GenericTypeAnnotation",
1465 "start":1408,"end":1409,"loc":{"start":{"line":33,"column":11,"index":1408},"end":{"line":33,"column":12,"index":1409}},
1466 "typeParameters": null,
1467 "id": {
1468 "type": "Identifier",
1469 "start":1408,"end":1409,"loc":{"start":{"line":33,"column":11,"index":1408},"end":{"line":33,"column":12,"index":1409},"identifierName":"c"},
1470 "name": "c"
1471 }
1472 }
1473 }
1474 ],
1475 "rest": null,
1476 "this": null,
1477 "returnType": {
1478 "type": "GenericTypeAnnotation",
1479 "start":1413,"end":1414,"loc":{"start":{"line":33,"column":16,"index":1413},"end":{"line":33,"column":17,"index":1414}},
1480 "typeParameters": null,
1481 "id": {
1482 "type": "Identifier",
1483 "start":1413,"end":1414,"loc":{"start":{"line":33,"column":16,"index":1413},"end":{"line":33,"column":17,"index":1414},"identifierName":"d"},
1484 "name": "d"
1485 }
1486 },
1487 "typeParameters": null
1488 }
1489 },
1490 "id": null,
1491 "generator": false,
1492 "async": false,
1493 "params": [
1494 {
1495 "type": "Identifier",
1496 "start":1402,"end":1403,"loc":{"start":{"line":33,"column":5,"index":1402},"end":{"line":33,"column":6,"index":1403},"identifierName":"b"},
1497 "name": "b"
1498 }
1499 ],
1500 "body": {
1501 "type": "Identifier",
1502 "start":1419,"end":1420,"loc":{"start":{"line":33,"column":22,"index":1419},"end":{"line":33,"column":23,"index":1420},"identifierName":"e"},
1503 "name": "e"
1504 }
1505 },
1506 "alternate": {
1507 "type": "Identifier",
1508 "start":1423,"end":1424,"loc":{"start":{"line":33,"column":26,"index":1423},"end":{"line":33,"column":27,"index":1424},"identifierName":"f"},
1509 "name": "f"
1510 }
1511 },
1512 "trailingComments": [
1513 {
1514 "type": "CommentLine",
1515 "value": " a ? ((b): (c => d) => e) : f",
1516 "start":1426,"end":1457,"loc":{"start":{"line":33,"column":29,"index":1426},"end":{"line":33,"column":60,"index":1457}}
1517 },
1518 {
1519 "type": "CommentLine",
1520 "value": " Async functions or calls",
1521 "start":1459,"end":1486,"loc":{"start":{"line":35,"column":0,"index":1459},"end":{"line":35,"column":27,"index":1486}}
1522 }
1523 ],
1524 "leadingComments": [
1525 {
1526 "type": "CommentLine",
1527 "value": " a ? (b ? (c => d) : (e => (f => g))) : (h => i)",
1528 "start":1314,"end":1364,"loc":{"start":{"line":30,"column":43,"index":1314},"end":{"line":30,"column":93,"index":1364}}
1529 },
1530 {
1531 "type": "CommentLine",
1532 "value": " Function as type annotation",
1533 "start":1366,"end":1396,"loc":{"start":{"line":32,"column":0,"index":1366},"end":{"line":32,"column":30,"index":1396}}
1534 }
1535 ]
1536 },
1537 {
1538 "type": "ExpressionStatement",
1539 "start":1487,"end":1510,"loc":{"start":{"line":36,"column":0,"index":1487},"end":{"line":36,"column":23,"index":1510}},
1540 "expression": {
1541 "type": "ConditionalExpression",
1542 "start":1487,"end":1509,"loc":{"start":{"line":36,"column":0,"index":1487},"end":{"line":36,"column":22,"index":1509}},
1543 "test": {
1544 "type": "Identifier",
1545 "start":1487,"end":1488,"loc":{"start":{"line":36,"column":0,"index":1487},"end":{"line":36,"column":1,"index":1488},"identifierName":"a"},
1546 "name": "a"
1547 },
1548 "consequent": {
1549 "type": "CallExpression",
1550 "start":1491,"end":1500,"loc":{"start":{"line":36,"column":4,"index":1491},"end":{"line":36,"column":13,"index":1500}},
1551 "callee": {
1552 "type": "Identifier",
1553 "start":1491,"end":1496,"loc":{"start":{"line":36,"column":4,"index":1491},"end":{"line":36,"column":9,"index":1496},"identifierName":"async"},
1554 "name": "async"
1555 },
1556 "arguments": [
1557 {
1558 "type": "Identifier",
1559 "start":1498,"end":1499,"loc":{"start":{"line":36,"column":11,"index":1498},"end":{"line":36,"column":12,"index":1499},"identifierName":"b"},
1560 "name": "b"
1561 }
1562 ]
1563 },
1564 "alternate": {
1565 "type": "ArrowFunctionExpression",
1566 "start":1503,"end":1509,"loc":{"start":{"line":36,"column":16,"index":1503},"end":{"line":36,"column":22,"index":1509}},
1567 "id": null,
1568 "generator": false,
1569 "async": false,
1570 "params": [
1571 {
1572 "type": "Identifier",
1573 "start":1503,"end":1504,"loc":{"start":{"line":36,"column":16,"index":1503},"end":{"line":36,"column":17,"index":1504},"identifierName":"c"},
1574 "name": "c"
1575 }
1576 ],
1577 "body": {
1578 "type": "Identifier",
1579 "start":1508,"end":1509,"loc":{"start":{"line":36,"column":21,"index":1508},"end":{"line":36,"column":22,"index":1509},"identifierName":"d"},
1580 "name": "d"
1581 }
1582 }
1583 },
1584 "trailingComments": [
1585 {
1586 "type": "CommentLine",
1587 "value": " a ? (async(b)) : (c => d)",
1588 "start":1511,"end":1539,"loc":{"start":{"line":36,"column":24,"index":1511},"end":{"line":36,"column":52,"index":1539}}
1589 }
1590 ],
1591 "leadingComments": [
1592 {
1593 "type": "CommentLine",
1594 "value": " a ? ((b): (c => d) => e) : f",
1595 "start":1426,"end":1457,"loc":{"start":{"line":33,"column":29,"index":1426},"end":{"line":33,"column":60,"index":1457}}
1596 },
1597 {
1598 "type": "CommentLine",
1599 "value": " Async functions or calls",
1600 "start":1459,"end":1486,"loc":{"start":{"line":35,"column":0,"index":1459},"end":{"line":35,"column":27,"index":1486}}
1601 }
1602 ]
1603 },
1604 {
1605 "type": "ExpressionStatement",
1606 "start":1540,"end":1567,"loc":{"start":{"line":37,"column":0,"index":1540},"end":{"line":37,"column":27,"index":1567}},
1607 "expression": {
1608 "type": "ConditionalExpression",
1609 "start":1540,"end":1566,"loc":{"start":{"line":37,"column":0,"index":1540},"end":{"line":37,"column":26,"index":1566}},
1610 "test": {
1611 "type": "Identifier",
1612 "start":1540,"end":1541,"loc":{"start":{"line":37,"column":0,"index":1540},"end":{"line":37,"column":1,"index":1541},"identifierName":"a"},
1613 "name": "a"
1614 },
1615 "consequent": {
1616 "type": "ArrowFunctionExpression",
1617 "start":1544,"end":1562,"loc":{"start":{"line":37,"column":4,"index":1544},"end":{"line":37,"column":22,"index":1562}},
1618 "returnType": {
1619 "type": "TypeAnnotation",
1620 "start":1554,"end":1557,"loc":{"start":{"line":37,"column":14,"index":1554},"end":{"line":37,"column":17,"index":1557}},
1621 "typeAnnotation": {
1622 "type": "GenericTypeAnnotation",
1623 "start":1556,"end":1557,"loc":{"start":{"line":37,"column":16,"index":1556},"end":{"line":37,"column":17,"index":1557}},
1624 "typeParameters": null,
1625 "id": {
1626 "type": "Identifier",
1627 "start":1556,"end":1557,"loc":{"start":{"line":37,"column":16,"index":1556},"end":{"line":37,"column":17,"index":1557},"identifierName":"c"},
1628 "name": "c"
1629 }
1630 }
1631 },
1632 "id": null,
1633 "generator": false,
1634 "async": true,
1635 "params": [
1636 {
1637 "type": "Identifier",
1638 "start":1551,"end":1552,"loc":{"start":{"line":37,"column":11,"index":1551},"end":{"line":37,"column":12,"index":1552},"identifierName":"b"},
1639 "name": "b"
1640 }
1641 ],
1642 "body": {
1643 "type": "Identifier",
1644 "start":1561,"end":1562,"loc":{"start":{"line":37,"column":21,"index":1561},"end":{"line":37,"column":22,"index":1562},"identifierName":"d"},
1645 "name": "d"
1646 }
1647 },
1648 "alternate": {
1649 "type": "Identifier",
1650 "start":1565,"end":1566,"loc":{"start":{"line":37,"column":25,"index":1565},"end":{"line":37,"column":26,"index":1566},"identifierName":"e"},
1651 "name": "e"
1652 }
1653 },
1654 "trailingComments": [
1655 {
1656 "type": "CommentLine",
1657 "value": " a ? (async (b): c => d) : e",
1658 "start":1568,"end":1598,"loc":{"start":{"line":37,"column":28,"index":1568},"end":{"line":37,"column":58,"index":1598}}
1659 }
1660 ],
1661 "leadingComments": [
1662 {
1663 "type": "CommentLine",
1664 "value": " a ? (async(b)) : (c => d)",
1665 "start":1511,"end":1539,"loc":{"start":{"line":36,"column":24,"index":1511},"end":{"line":36,"column":52,"index":1539}}
1666 }
1667 ]
1668 },
1669 {
1670 "type": "ExpressionStatement",
1671 "start":1599,"end":1627,"loc":{"start":{"line":38,"column":0,"index":1599},"end":{"line":38,"column":28,"index":1627}},
1672 "expression": {
1673 "type": "ConditionalExpression",
1674 "start":1599,"end":1626,"loc":{"start":{"line":38,"column":0,"index":1599},"end":{"line":38,"column":27,"index":1626}},
1675 "test": {
1676 "type": "Identifier",
1677 "start":1599,"end":1600,"loc":{"start":{"line":38,"column":0,"index":1599},"end":{"line":38,"column":1,"index":1600},"identifierName":"a"},
1678 "name": "a"
1679 },
1680 "consequent": {
1681 "type": "CallExpression",
1682 "start":1603,"end":1617,"loc":{"start":{"line":38,"column":4,"index":1603},"end":{"line":38,"column":18,"index":1617}},
1683 "callee": {
1684 "type": "Identifier",
1685 "start":1603,"end":1608,"loc":{"start":{"line":38,"column":4,"index":1603},"end":{"line":38,"column":9,"index":1608},"identifierName":"async"},
1686 "name": "async"
1687 },
1688 "arguments": [
1689 {
1690 "type": "ArrowFunctionExpression",
1691 "start":1610,"end":1616,"loc":{"start":{"line":38,"column":11,"index":1610},"end":{"line":38,"column":17,"index":1616}},
1692 "id": null,
1693 "generator": false,
1694 "async": false,
1695 "params": [
1696 {
1697 "type": "Identifier",
1698 "start":1610,"end":1611,"loc":{"start":{"line":38,"column":11,"index":1610},"end":{"line":38,"column":12,"index":1611},"identifierName":"b"},
1699 "name": "b"
1700 }
1701 ],
1702 "body": {
1703 "type": "Identifier",
1704 "start":1615,"end":1616,"loc":{"start":{"line":38,"column":16,"index":1615},"end":{"line":38,"column":17,"index":1616},"identifierName":"c"},
1705 "name": "c"
1706 }
1707 }
1708 ]
1709 },
1710 "alternate": {
1711 "type": "ArrowFunctionExpression",
1712 "start":1620,"end":1626,"loc":{"start":{"line":38,"column":21,"index":1620},"end":{"line":38,"column":27,"index":1626}},
1713 "id": null,
1714 "generator": false,
1715 "async": false,
1716 "params": [
1717 {
1718 "type": "Identifier",
1719 "start":1620,"end":1621,"loc":{"start":{"line":38,"column":21,"index":1620},"end":{"line":38,"column":22,"index":1621},"identifierName":"d"},
1720 "name": "d"
1721 }
1722 ],
1723 "body": {
1724 "type": "Identifier",
1725 "start":1625,"end":1626,"loc":{"start":{"line":38,"column":26,"index":1625},"end":{"line":38,"column":27,"index":1626},"identifierName":"e"},
1726 "name": "e"
1727 }
1728 }
1729 },
1730 "trailingComments": [
1731 {
1732 "type": "CommentLine",
1733 "value": " a ? (async(b => c)) : (d => e)",
1734 "start":1628,"end":1661,"loc":{"start":{"line":38,"column":29,"index":1628},"end":{"line":38,"column":62,"index":1661}}
1735 }
1736 ],
1737 "leadingComments": [
1738 {
1739 "type": "CommentLine",
1740 "value": " a ? (async (b): c => d) : e",
1741 "start":1568,"end":1598,"loc":{"start":{"line":37,"column":28,"index":1568},"end":{"line":37,"column":58,"index":1598}}
1742 }
1743 ]
1744 },
1745 {
1746 "type": "ExpressionStatement",
1747 "start":1662,"end":1697,"loc":{"start":{"line":39,"column":0,"index":1662},"end":{"line":39,"column":35,"index":1697}},
1748 "expression": {
1749 "type": "ConditionalExpression",
1750 "start":1662,"end":1696,"loc":{"start":{"line":39,"column":0,"index":1662},"end":{"line":39,"column":34,"index":1696}},
1751 "test": {
1752 "type": "Identifier",
1753 "start":1662,"end":1663,"loc":{"start":{"line":39,"column":0,"index":1662},"end":{"line":39,"column":1,"index":1663},"identifierName":"a"},
1754 "name": "a"
1755 },
1756 "consequent": {
1757 "type": "ArrowFunctionExpression",
1758 "start":1666,"end":1687,"loc":{"start":{"line":39,"column":4,"index":1666},"end":{"line":39,"column":25,"index":1687}},
1759 "id": null,
1760 "generator": false,
1761 "async": true,
1762 "params": [
1763 {
1764 "type": "Identifier",
1765 "start":1673,"end":1674,"loc":{"start":{"line":39,"column":11,"index":1673},"end":{"line":39,"column":12,"index":1674},"identifierName":"b"},
1766 "name": "b"
1767 }
1768 ],
1769 "body": {
1770 "type": "ArrowFunctionExpression",
1771 "start":1680,"end":1686,"loc":{"start":{"line":39,"column":18,"index":1680},"end":{"line":39,"column":24,"index":1686}},
1772 "id": null,
1773 "generator": false,
1774 "async": false,
1775 "params": [
1776 {
1777 "type": "Identifier",
1778 "start":1680,"end":1681,"loc":{"start":{"line":39,"column":18,"index":1680},"end":{"line":39,"column":19,"index":1681},"identifierName":"c"},
1779 "name": "c"
1780 }
1781 ],
1782 "body": {
1783 "type": "Identifier",
1784 "start":1685,"end":1686,"loc":{"start":{"line":39,"column":23,"index":1685},"end":{"line":39,"column":24,"index":1686},"identifierName":"d"},
1785 "name": "d"
1786 },
1787 "extra": {
1788 "parenthesized": true,
1789 "parenStart": 1679
1790 }
1791 }
1792 },
1793 "alternate": {
1794 "type": "ArrowFunctionExpression",
1795 "start":1690,"end":1696,"loc":{"start":{"line":39,"column":28,"index":1690},"end":{"line":39,"column":34,"index":1696}},
1796 "id": null,
1797 "generator": false,
1798 "async": false,
1799 "params": [
1800 {
1801 "type": "Identifier",
1802 "start":1690,"end":1691,"loc":{"start":{"line":39,"column":28,"index":1690},"end":{"line":39,"column":29,"index":1691},"identifierName":"e"},
1803 "name": "e"
1804 }
1805 ],
1806 "body": {
1807 "type": "Identifier",
1808 "start":1695,"end":1696,"loc":{"start":{"line":39,"column":33,"index":1695},"end":{"line":39,"column":34,"index":1696},"identifierName":"f"},
1809 "name": "f"
1810 }
1811 }
1812 },
1813 "trailingComments": [
1814 {
1815 "type": "CommentLine",
1816 "value": " a ? (async (b) => c => d) : (e => f)",
1817 "start":1698,"end":1737,"loc":{"start":{"line":39,"column":36,"index":1698},"end":{"line":39,"column":75,"index":1737}}
1818 },
1819 {
1820 "type": "CommentLine",
1821 "value": " https://github.com/prettier/prettier/issues/2194",
1822 "start":1739,"end":1790,"loc":{"start":{"line":41,"column":0,"index":1739},"end":{"line":41,"column":51,"index":1790}}
1823 }
1824 ],
1825 "leadingComments": [
1826 {
1827 "type": "CommentLine",
1828 "value": " a ? (async(b => c)) : (d => e)",
1829 "start":1628,"end":1661,"loc":{"start":{"line":38,"column":29,"index":1628},"end":{"line":38,"column":62,"index":1661}}
1830 }
1831 ]
1832 },
1833 {
1834 "type": "VariableDeclaration",
1835 "start":1791,"end":1930,"loc":{"start":{"line":42,"column":0,"index":1791},"end":{"line":44,"column":36,"index":1930}},
1836 "declarations": [
1837 {
1838 "type": "VariableDeclarator",
1839 "start":1795,"end":1929,"loc":{"start":{"line":42,"column":4,"index":1795},"end":{"line":44,"column":35,"index":1929}},
1840 "id": {
1841 "type": "Identifier",
1842 "start":1795,"end":1803,"loc":{"start":{"line":42,"column":4,"index":1795},"end":{"line":42,"column":12,"index":1803},"identifierName":"icecream"},
1843 "name": "icecream"
1844 },
1845 "init": {
1846 "type": "ConditionalExpression",
1847 "start":1806,"end":1929,"loc":{"start":{"line":42,"column":15,"index":1806},"end":{"line":44,"column":35,"index":1929}},
1848 "test": {
1849 "type": "BinaryExpression",
1850 "start":1806,"end":1820,"loc":{"start":{"line":42,"column":15,"index":1806},"end":{"line":42,"column":29,"index":1820}},
1851 "left": {
1852 "type": "Identifier",
1853 "start":1806,"end":1810,"loc":{"start":{"line":42,"column":15,"index":1806},"end":{"line":42,"column":19,"index":1810},"identifierName":"what"},
1854 "name": "what"
1855 },
1856 "operator": "==",
1857 "right": {
1858 "type": "StringLiteral",
1859 "start":1814,"end":1820,"loc":{"start":{"line":42,"column":23,"index":1814},"end":{"line":42,"column":29,"index":1820}},
1860 "extra": {
1861 "rawValue": "cone",
1862 "raw": "\"cone\""
1863 },
1864 "value": "cone"
1865 }
1866 },
1867 "consequent": {
1868 "type": "ArrowFunctionExpression",
1869 "start":1825,"end":1893,"loc":{"start":{"line":43,"column":4,"index":1825},"end":{"line":43,"column":72,"index":1893}},
1870 "id": null,
1871 "generator": false,
1872 "async": false,
1873 "params": [
1874 {
1875 "type": "Identifier",
1876 "start":1825,"end":1826,"loc":{"start":{"line":43,"column":4,"index":1825},"end":{"line":43,"column":5,"index":1826},"identifierName":"p"},
1877 "name": "p"
1878 }
1879 ],
1880 "body": {
1881 "type": "ConditionalExpression",
1882 "start":1831,"end":1892,"loc":{"start":{"line":43,"column":10,"index":1831},"end":{"line":43,"column":71,"index":1892}},
1883 "test": {
1884 "type": "UnaryExpression",
1885 "start":1831,"end":1834,"loc":{"start":{"line":43,"column":10,"index":1831},"end":{"line":43,"column":13,"index":1834}},
1886 "operator": "!",
1887 "prefix": true,
1888 "argument": {
1889 "type": "UnaryExpression",
1890 "start":1832,"end":1834,"loc":{"start":{"line":43,"column":11,"index":1832},"end":{"line":43,"column":13,"index":1834}},
1891 "operator": "!",
1892 "prefix": true,
1893 "argument": {
1894 "type": "Identifier",
1895 "start":1833,"end":1834,"loc":{"start":{"line":43,"column":12,"index":1833},"end":{"line":43,"column":13,"index":1834},"identifierName":"p"},
1896 "name": "p"
1897 }
1898 }
1899 },
1900 "consequent": {
1901 "type": "TemplateLiteral",
1902 "start":1837,"end":1860,"loc":{"start":{"line":43,"column":16,"index":1837},"end":{"line":43,"column":39,"index":1860}},
1903 "expressions": [
1904 {
1905 "type": "Identifier",
1906 "start":1852,"end":1853,"loc":{"start":{"line":43,"column":31,"index":1852},"end":{"line":43,"column":32,"index":1853},"identifierName":"p"},
1907 "name": "p"
1908 }
1909 ],
1910 "quasis": [
1911 {
1912 "type": "TemplateElement",
1913 "start":1838,"end":1850,"loc":{"start":{"line":43,"column":17,"index":1838},"end":{"line":43,"column":29,"index":1850}},
1914 "value": {
1915 "raw": "here's your ",
1916 "cooked": "here's your "
1917 },
1918 "tail": false
1919 },
1920 {
1921 "type": "TemplateElement",
1922 "start":1854,"end":1859,"loc":{"start":{"line":43,"column":33,"index":1854},"end":{"line":43,"column":38,"index":1859}},
1923 "value": {
1924 "raw": " cone",
1925 "cooked": " cone"
1926 },
1927 "tail": true
1928 }
1929 ]
1930 },
1931 "alternate": {
1932 "type": "TemplateLiteral",
1933 "start":1863,"end":1892,"loc":{"start":{"line":43,"column":42,"index":1863},"end":{"line":43,"column":71,"index":1892}},
1934 "expressions": [],
1935 "quasis": [
1936 {
1937 "type": "TemplateElement",
1938 "start":1864,"end":1891,"loc":{"start":{"line":43,"column":43,"index":1864},"end":{"line":43,"column":70,"index":1891}},
1939 "value": {
1940 "raw": "just the empty cone for you",
1941 "cooked": "just the empty cone for you"
1942 },
1943 "tail": true
1944 }
1945 ]
1946 },
1947 "extra": {
1948 "parenthesized": true,
1949 "parenStart": 1830
1950 }
1951 }
1952 },
1953 "alternate": {
1954 "type": "ArrowFunctionExpression",
1955 "start":1898,"end":1929,"loc":{"start":{"line":44,"column":4,"index":1898},"end":{"line":44,"column":35,"index":1929}},
1956 "id": null,
1957 "generator": false,
1958 "async": false,
1959 "params": [
1960 {
1961 "type": "Identifier",
1962 "start":1898,"end":1899,"loc":{"start":{"line":44,"column":4,"index":1898},"end":{"line":44,"column":5,"index":1899},"identifierName":"p"},
1963 "name": "p"
1964 }
1965 ],
1966 "body": {
1967 "type": "TemplateLiteral",
1968 "start":1903,"end":1929,"loc":{"start":{"line":44,"column":9,"index":1903},"end":{"line":44,"column":35,"index":1929}},
1969 "expressions": [
1970 {
1971 "type": "Identifier",
1972 "start":1918,"end":1919,"loc":{"start":{"line":44,"column":24,"index":1918},"end":{"line":44,"column":25,"index":1919},"identifierName":"p"},
1973 "name": "p"
1974 },
1975 {
1976 "type": "Identifier",
1977 "start":1923,"end":1927,"loc":{"start":{"line":44,"column":29,"index":1923},"end":{"line":44,"column":33,"index":1927},"identifierName":"what"},
1978 "name": "what"
1979 }
1980 ],
1981 "quasis": [
1982 {
1983 "type": "TemplateElement",
1984 "start":1904,"end":1916,"loc":{"start":{"line":44,"column":10,"index":1904},"end":{"line":44,"column":22,"index":1916}},
1985 "value": {
1986 "raw": "here's your ",
1987 "cooked": "here's your "
1988 },
1989 "tail": false
1990 },
1991 {
1992 "type": "TemplateElement",
1993 "start":1920,"end":1921,"loc":{"start":{"line":44,"column":26,"index":1920},"end":{"line":44,"column":27,"index":1921}},
1994 "value": {
1995 "raw": " ",
1996 "cooked": " "
1997 },
1998 "tail": false
1999 },
2000 {
2001 "type": "TemplateElement",
2002 "start":1928,"end":1928,"loc":{"start":{"line":44,"column":34,"index":1928},"end":{"line":44,"column":34,"index":1928}},
2003 "value": {
2004 "raw": "",
2005 "cooked": ""
2006 },
2007 "tail": true
2008 }
2009 ]
2010 }
2011 }
2012 }
2013 }
2014 ],
2015 "kind": "let",
2016 "leadingComments": [
2017 {
2018 "type": "CommentLine",
2019 "value": " a ? (async (b) => c => d) : (e => f)",
2020 "start":1698,"end":1737,"loc":{"start":{"line":39,"column":36,"index":1698},"end":{"line":39,"column":75,"index":1737}}
2021 },
2022 {
2023 "type": "CommentLine",
2024 "value": " https://github.com/prettier/prettier/issues/2194",
2025 "start":1739,"end":1790,"loc":{"start":{"line":41,"column":0,"index":1739},"end":{"line":41,"column":51,"index":1790}}
2026 }
2027 ]
2028 }
2029 ],
2030 "directives": []
2031 },
2032 "comments": [
2033 {
2034 "type": "CommentLine",
2035 "value": " Valid lhs value inside parentheses",
2036 "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}}
2037 },
2038 {
2039 "type": "CommentLine",
2040 "value": " a ? b : (c => d)",
2041 "start":56,"end":75,"loc":{"start":{"line":2,"column":18,"index":56},"end":{"line":2,"column":37,"index":75}}
2042 },
2043 {
2044 "type": "CommentLine",
2045 "value": " a ? ((b): c => d) : e",
2046 "start":98,"end":122,"loc":{"start":{"line":3,"column":22,"index":98},"end":{"line":3,"column":46,"index":122}}
2047 },
2048 {
2049 "type": "CommentLine",
2050 "value": " a ? b : ((c): d => e)",
2051 "start":147,"end":171,"loc":{"start":{"line":4,"column":24,"index":147},"end":{"line":4,"column":48,"index":171}}
2052 },
2053 {
2054 "type": "CommentLine",
2055 "value": " Nested arrow function inside parentheses",
2056 "start":173,"end":216,"loc":{"start":{"line":6,"column":0,"index":173},"end":{"line":6,"column":43,"index":216}}
2057 },
2058 {
2059 "type": "CommentLine",
2060 "value": " a ? (b = (c) => d) : (e => f)",
2061 "start":246,"end":278,"loc":{"start":{"line":7,"column":29,"index":246},"end":{"line":7,"column":61,"index":278}}
2062 },
2063 {
2064 "type": "CommentLine",
2065 "value": " a ? ((b = (c) => d): e => f) : g",
2066 "start":312,"end":347,"loc":{"start":{"line":8,"column":33,"index":312},"end":{"line":8,"column":68,"index":347}}
2067 },
2068 {
2069 "type": "CommentLine",
2070 "value": " Nested conditional expressions",
2071 "start":349,"end":382,"loc":{"start":{"line":10,"column":0,"index":349},"end":{"line":10,"column":33,"index":382}}
2072 },
2073 {
2074 "type": "CommentLine",
2075 "value": " b ? (c ? ((d): e => f) : g) : h",
2076 "start":419,"end":453,"loc":{"start":{"line":11,"column":36,"index":419},"end":{"line":11,"column":70,"index":453}}
2077 },
2078 {
2079 "type": "CommentLine",
2080 "value": " a ? (b ? (c ? d : (e => f)) : g) : h",
2081 "start":490,"end":529,"loc":{"start":{"line":12,"column":36,"index":490},"end":{"line":12,"column":75,"index":529}}
2082 },
2083 {
2084 "type": "CommentLine",
2085 "value": " a ? (b ? c : ((d): e => f)) : g",
2086 "start":565,"end":599,"loc":{"start":{"line":14,"column":34,"index":565},"end":{"line":14,"column":68,"index":599}}
2087 },
2088 {
2089 "type": "CommentLine",
2090 "value": " Multiple arrow functions",
2091 "start":601,"end":628,"loc":{"start":{"line":16,"column":0,"index":601},"end":{"line":16,"column":27,"index":628}}
2092 },
2093 {
2094 "type": "CommentLine",
2095 "value": " a ? ((b): c => d) : ((e): f => g)",
2096 "start":662,"end":698,"loc":{"start":{"line":17,"column":33,"index":662},"end":{"line":17,"column":69,"index":698}}
2097 },
2098 {
2099 "type": "CommentLine",
2100 "value": " Multiple nested arrow functions (<T> is needed to avoid ambiguities)",
2101 "start":700,"end":771,"loc":{"start":{"line":19,"column":0,"index":700},"end":{"line":19,"column":71,"index":771}}
2102 },
2103 {
2104 "type": "CommentLine",
2105 "value": " a ? ((b): c => ((d): e => f)) : g",
2106 "start":805,"end":841,"loc":{"start":{"line":20,"column":33,"index":805},"end":{"line":20,"column":69,"index":841}}
2107 },
2108 {
2109 "type": "CommentLine",
2110 "value": " a ? b : (c => (<T>(d): e => f))",
2111 "start":874,"end":908,"loc":{"start":{"line":21,"column":32,"index":874},"end":{"line":21,"column":66,"index":908}}
2112 },
2113 {
2114 "type": "CommentLine",
2115 "value": " a ? (<T>(b): c => d) : (e => f)",
2116 "start":941,"end":975,"loc":{"start":{"line":22,"column":32,"index":941},"end":{"line":22,"column":66,"index":975}}
2117 },
2118 {
2119 "type": "CommentLine",
2120 "value": " Invalid lhs value inside parentheses",
2121 "start":977,"end":1016,"loc":{"start":{"line":24,"column":0,"index":977},"end":{"line":24,"column":39,"index":1016}}
2122 },
2123 {
2124 "type": "CommentLine",
2125 "value": " a ? (b => c) : (d => e)",
2126 "start":1040,"end":1066,"loc":{"start":{"line":25,"column":23,"index":1040},"end":{"line":25,"column":49,"index":1066}}
2127 },
2128 {
2129 "type": "CommentLine",
2130 "value": " a ? (b ? (c => d) : (e => f)) : g",
2131 "start":1098,"end":1134,"loc":{"start":{"line":26,"column":31,"index":1098},"end":{"line":26,"column":67,"index":1134}}
2132 },
2133 {
2134 "type": "CommentLine",
2135 "value": " Invalid lhs value inside parentheses inside arrow function",
2136 "start":1136,"end":1197,"loc":{"start":{"line":28,"column":0,"index":1136},"end":{"line":28,"column":61,"index":1197}}
2137 },
2138 {
2139 "type": "CommentLine",
2140 "value": " a ? ((b): c => (d => e)) : (f => g)",
2141 "start":1232,"end":1270,"loc":{"start":{"line":29,"column":34,"index":1232},"end":{"line":29,"column":72,"index":1270}}
2142 },
2143 {
2144 "type": "CommentLine",
2145 "value": " a ? (b ? (c => d) : (e => (f => g))) : (h => i)",
2146 "start":1314,"end":1364,"loc":{"start":{"line":30,"column":43,"index":1314},"end":{"line":30,"column":93,"index":1364}}
2147 },
2148 {
2149 "type": "CommentLine",
2150 "value": " Function as type annotation",
2151 "start":1366,"end":1396,"loc":{"start":{"line":32,"column":0,"index":1366},"end":{"line":32,"column":30,"index":1396}}
2152 },
2153 {
2154 "type": "CommentLine",
2155 "value": " a ? ((b): (c => d) => e) : f",
2156 "start":1426,"end":1457,"loc":{"start":{"line":33,"column":29,"index":1426},"end":{"line":33,"column":60,"index":1457}}
2157 },
2158 {
2159 "type": "CommentLine",
2160 "value": " Async functions or calls",
2161 "start":1459,"end":1486,"loc":{"start":{"line":35,"column":0,"index":1459},"end":{"line":35,"column":27,"index":1486}}
2162 },
2163 {
2164 "type": "CommentLine",
2165 "value": " a ? (async(b)) : (c => d)",
2166 "start":1511,"end":1539,"loc":{"start":{"line":36,"column":24,"index":1511},"end":{"line":36,"column":52,"index":1539}}
2167 },
2168 {
2169 "type": "CommentLine",
2170 "value": " a ? (async (b): c => d) : e",
2171 "start":1568,"end":1598,"loc":{"start":{"line":37,"column":28,"index":1568},"end":{"line":37,"column":58,"index":1598}}
2172 },
2173 {
2174 "type": "CommentLine",
2175 "value": " a ? (async(b => c)) : (d => e)",
2176 "start":1628,"end":1661,"loc":{"start":{"line":38,"column":29,"index":1628},"end":{"line":38,"column":62,"index":1661}}
2177 },
2178 {
2179 "type": "CommentLine",
2180 "value": " a ? (async (b) => c => d) : (e => f)",
2181 "start":1698,"end":1737,"loc":{"start":{"line":39,"column":36,"index":1698},"end":{"line":39,"column":75,"index":1737}}
2182 },
2183 {
2184 "type": "CommentLine",
2185 "value": " https://github.com/prettier/prettier/issues/2194",
2186 "start":1739,"end":1790,"loc":{"start":{"line":41,"column":0,"index":1739},"end":{"line":41,"column":51,"index":1790}}
2187 }
2188 ]
2189 }