summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/unparser/corpus/literal/kwbegin.txt
blob: 48e53af00e4e0f5652af3bbf64f2a9c86ccab18a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
@ ProgramNode (location: (1,0)-(80,3))
├── locals: [:foo, :bar, :exception]
└── statements:
    @ StatementsNode (location: (1,0)-(80,3))
    └── body: (length: 14)
        ├── @ BeginNode (location: (1,0)-(3,3))
        │   ├── begin_keyword_loc: (1,0)-(1,5) = "begin"
        │   ├── statements: ∅
        │   ├── rescue_clause:
        │   │   @ RescueNode (location: (2,0)-(2,6))
        │   │   ├── keyword_loc: (2,0)-(2,6) = "rescue"
        │   │   ├── exceptions: (length: 0)
        │   │   ├── operator_loc: ∅
        │   │   ├── reference: ∅
        │   │   ├── statements: ∅
        │   │   └── consequent: ∅
        │   ├── else_clause: ∅
        │   ├── ensure_clause: ∅
        │   └── end_keyword_loc: (3,0)-(3,3) = "end"
        ├── @ BeginNode (location: (5,0)-(7,3))
        │   ├── begin_keyword_loc: (5,0)-(5,5) = "begin"
        │   ├── statements: ∅
        │   ├── rescue_clause: ∅
        │   ├── else_clause: ∅
        │   ├── ensure_clause:
        │   │   @ EnsureNode (location: (6,0)-(7,3))
        │   │   ├── ensure_keyword_loc: (6,0)-(6,6) = "ensure"
        │   │   ├── statements: ∅
        │   │   └── end_keyword_loc: (7,0)-(7,3) = "end"
        │   └── end_keyword_loc: (7,0)-(7,3) = "end"
        ├── @ BeginNode (location: (9,0)-(11,3))
        │   ├── begin_keyword_loc: (9,0)-(9,5) = "begin"
        │   ├── statements:
        │   │   @ StatementsNode (location: (10,2)-(10,3))
        │   │   └── body: (length: 1)
        │   │       └── @ CallNode (location: (10,2)-(10,3))
        │   │           ├── flags: variable_call, ignore_visibility
        │   │           ├── receiver: ∅
        │   │           ├── call_operator_loc: ∅
        │   │           ├── name: :a
        │   │           ├── message_loc: (10,2)-(10,3) = "a"
        │   │           ├── opening_loc: ∅
        │   │           ├── arguments: ∅
        │   │           ├── closing_loc: ∅
        │   │           └── block: ∅
        │   ├── rescue_clause: ∅
        │   ├── else_clause: ∅
        │   ├── ensure_clause: ∅
        │   └── end_keyword_loc: (11,0)-(11,3) = "end"
        ├── @ BeginNode (location: (13,0)-(17,3))
        │   ├── begin_keyword_loc: (13,0)-(13,5) = "begin"
        │   ├── statements:
        │   │   @ StatementsNode (location: (14,2)-(14,3))
        │   │   └── body: (length: 1)
        │   │       └── @ CallNode (location: (14,2)-(14,3))
        │   │           ├── flags: variable_call, ignore_visibility
        │   │           ├── receiver: ∅
        │   │           ├── call_operator_loc: ∅
        │   │           ├── name: :a
        │   │           ├── message_loc: (14,2)-(14,3) = "a"
        │   │           ├── opening_loc: ∅
        │   │           ├── arguments: ∅
        │   │           ├── closing_loc: ∅
        │   │           └── block: ∅
        │   ├── rescue_clause:
        │   │   @ RescueNode (location: (15,0)-(16,3))
        │   │   ├── keyword_loc: (15,0)-(15,6) = "rescue"
        │   │   ├── exceptions: (length: 0)
        │   │   ├── operator_loc: ∅
        │   │   ├── reference: ∅
        │   │   ├── statements:
        │   │   │   @ StatementsNode (location: (16,2)-(16,3))
        │   │   │   └── body: (length: 1)
        │   │   │       └── @ CallNode (location: (16,2)-(16,3))
        │   │   │           ├── flags: variable_call, ignore_visibility
        │   │   │           ├── receiver: ∅
        │   │   │           ├── call_operator_loc: ∅
        │   │   │           ├── name: :b
        │   │   │           ├── message_loc: (16,2)-(16,3) = "b"
        │   │   │           ├── opening_loc: ∅
        │   │   │           ├── arguments: ∅
        │   │   │           ├── closing_loc: ∅
        │   │   │           └── block: ∅
        │   │   └── consequent: ∅
        │   ├── else_clause: ∅
        │   ├── ensure_clause: ∅
        │   └── end_keyword_loc: (17,0)-(17,3) = "end"
        ├── @ BeginNode (location: (19,0)-(24,3))
        │   ├── begin_keyword_loc: (19,0)-(19,5) = "begin"
        │   ├── statements:
        │   │   @ StatementsNode (location: (20,2)-(21,3))
        │   │   └── body: (length: 2)
        │   │       ├── @ CallNode (location: (20,2)-(20,3))
        │   │       │   ├── flags: variable_call, ignore_visibility
        │   │       │   ├── receiver: ∅
        │   │       │   ├── call_operator_loc: ∅
        │   │       │   ├── name: :a
        │   │       │   ├── message_loc: (20,2)-(20,3) = "a"
        │   │       │   ├── opening_loc: ∅
        │   │       │   ├── arguments: ∅
        │   │       │   ├── closing_loc: ∅
        │   │       │   └── block: ∅
        │   │       └── @ CallNode (location: (21,2)-(21,3))
        │   │           ├── flags: variable_call, ignore_visibility
        │   │           ├── receiver: ∅
        │   │           ├── call_operator_loc: ∅
        │   │           ├── name: :b
        │   │           ├── message_loc: (21,2)-(21,3) = "b"
        │   │           ├── opening_loc: ∅
        │   │           ├── arguments: ∅
        │   │           ├── closing_loc: ∅
        │   │           └── block: ∅
        │   ├── rescue_clause:
        │   │   @ RescueNode (location: (22,0)-(23,3))
        │   │   ├── keyword_loc: (22,0)-(22,6) = "rescue"
        │   │   ├── exceptions: (length: 0)
        │   │   ├── operator_loc: ∅
        │   │   ├── reference: ∅
        │   │   ├── statements:
        │   │   │   @ StatementsNode (location: (23,2)-(23,3))
        │   │   │   └── body: (length: 1)
        │   │   │       └── @ CallNode (location: (23,2)-(23,3))
        │   │   │           ├── flags: variable_call, ignore_visibility
        │   │   │           ├── receiver: ∅
        │   │   │           ├── call_operator_loc: ∅
        │   │   │           ├── name: :b
        │   │   │           ├── message_loc: (23,2)-(23,3) = "b"
        │   │   │           ├── opening_loc: ∅
        │   │   │           ├── arguments: ∅
        │   │   │           ├── closing_loc: ∅
        │   │   │           └── block: ∅
        │   │   └── consequent: ∅
        │   ├── else_clause: ∅
        │   ├── ensure_clause: ∅
        │   └── end_keyword_loc: (24,0)-(24,3) = "end"
        ├── @ BeginNode (location: (26,0)-(28,3))
        │   ├── begin_keyword_loc: (26,0)-(26,5) = "begin"
        │   ├── statements: ∅
        │   ├── rescue_clause:
        │   │   @ RescueNode (location: (27,0)-(27,8))
        │   │   ├── keyword_loc: (27,0)-(27,6) = "rescue"
        │   │   ├── exceptions: (length: 1)
        │   │   │   └── @ ConstantReadNode (location: (27,7)-(27,8))
        │   │   │       └── name: :A
        │   │   ├── operator_loc: ∅
        │   │   ├── reference: ∅
        │   │   ├── statements: ∅
        │   │   └── consequent: ∅
        │   ├── else_clause: ∅
        │   ├── ensure_clause: ∅
        │   └── end_keyword_loc: (28,0)-(28,3) = "end"
        ├── @ BeginNode (location: (30,0)-(32,3))
        │   ├── begin_keyword_loc: (30,0)-(30,5) = "begin"
        │   ├── statements: ∅
        │   ├── rescue_clause:
        │   │   @ RescueNode (location: (31,0)-(31,15))
        │   │   ├── keyword_loc: (31,0)-(31,6) = "rescue"
        │   │   ├── exceptions: (length: 1)
        │   │   │   └── @ ConstantReadNode (location: (31,7)-(31,8))
        │   │   │       └── name: :A
        │   │   ├── operator_loc: (31,9)-(31,11) = "=>"
        │   │   ├── reference:
        │   │   │   @ LocalVariableTargetNode (location: (31,12)-(31,15))
        │   │   │   ├── name: :foo
        │   │   │   └── depth: 0
        │   │   ├── statements: ∅
        │   │   └── consequent: ∅
        │   ├── else_clause: ∅
        │   ├── ensure_clause: ∅
        │   └── end_keyword_loc: (32,0)-(32,3) = "end"
        ├── @ BeginNode (location: (34,0)-(42,3))
        │   ├── begin_keyword_loc: (34,0)-(34,5) = "begin"
        │   ├── statements:
        │   │   @ StatementsNode (location: (35,2)-(35,3))
        │   │   └── body: (length: 1)
        │   │       └── @ CallNode (location: (35,2)-(35,3))
        │   │           ├── flags: variable_call, ignore_visibility
        │   │           ├── receiver: ∅
        │   │           ├── call_operator_loc: ∅
        │   │           ├── name: :a
        │   │           ├── message_loc: (35,2)-(35,3) = "a"
        │   │           ├── opening_loc: ∅
        │   │           ├── arguments: ∅
        │   │           ├── closing_loc: ∅
        │   │           └── block: ∅
        │   ├── rescue_clause:
        │   │   @ RescueNode (location: (36,0)-(39,3))
        │   │   ├── keyword_loc: (36,0)-(36,6) = "rescue"
        │   │   ├── exceptions: (length: 1)
        │   │   │   └── @ ConstantReadNode (location: (36,7)-(36,8))
        │   │   │       └── name: :A
        │   │   ├── operator_loc: ∅
        │   │   ├── reference: ∅
        │   │   ├── statements:
        │   │   │   @ StatementsNode (location: (37,2)-(37,3))
        │   │   │   └── body: (length: 1)
        │   │   │       └── @ CallNode (location: (37,2)-(37,3))
        │   │   │           ├── flags: variable_call, ignore_visibility
        │   │   │           ├── receiver: ∅
        │   │   │           ├── call_operator_loc: ∅
        │   │   │           ├── name: :b
        │   │   │           ├── message_loc: (37,2)-(37,3) = "b"
        │   │   │           ├── opening_loc: ∅
        │   │   │           ├── arguments: ∅
        │   │   │           ├── closing_loc: ∅
        │   │   │           └── block: ∅
        │   │   └── consequent:
        │   │       @ RescueNode (location: (38,0)-(39,3))
        │   │       ├── keyword_loc: (38,0)-(38,6) = "rescue"
        │   │       ├── exceptions: (length: 1)
        │   │       │   └── @ ConstantReadNode (location: (38,7)-(38,8))
        │   │       │       └── name: :B
        │   │       ├── operator_loc: ∅
        │   │       ├── reference: ∅
        │   │       ├── statements:
        │   │       │   @ StatementsNode (location: (39,2)-(39,3))
        │   │       │   └── body: (length: 1)
        │   │       │       └── @ CallNode (location: (39,2)-(39,3))
        │   │       │           ├── flags: variable_call, ignore_visibility
        │   │       │           ├── receiver: ∅
        │   │       │           ├── call_operator_loc: ∅
        │   │       │           ├── name: :c
        │   │       │           ├── message_loc: (39,2)-(39,3) = "c"
        │   │       │           ├── opening_loc: ∅
        │   │       │           ├── arguments: ∅
        │   │       │           ├── closing_loc: ∅
        │   │       │           └── block: ∅
        │   │       └── consequent: ∅
        │   ├── else_clause: ∅
        │   ├── ensure_clause:
        │   │   @ EnsureNode (location: (40,0)-(42,3))
        │   │   ├── ensure_keyword_loc: (40,0)-(40,6) = "ensure"
        │   │   ├── statements:
        │   │   │   @ StatementsNode (location: (41,2)-(41,3))
        │   │   │   └── body: (length: 1)
        │   │   │       └── @ CallNode (location: (41,2)-(41,3))
        │   │   │           ├── flags: variable_call, ignore_visibility
        │   │   │           ├── receiver: ∅
        │   │   │           ├── call_operator_loc: ∅
        │   │   │           ├── name: :d
        │   │   │           ├── message_loc: (41,2)-(41,3) = "d"
        │   │   │           ├── opening_loc: ∅
        │   │   │           ├── arguments: ∅
        │   │   │           ├── closing_loc: ∅
        │   │   │           └── block: ∅
        │   │   └── end_keyword_loc: (42,0)-(42,3) = "end"
        │   └── end_keyword_loc: (42,0)-(42,3) = "end"
        ├── @ BeginNode (location: (44,0)-(53,3))
        │   ├── begin_keyword_loc: (44,0)-(44,5) = "begin"
        │   ├── statements:
        │   │   @ StatementsNode (location: (45,2)-(49,5))
        │   │   └── body: (length: 1)
        │   │       └── @ BeginNode (location: (45,2)-(49,5))
        │   │           ├── begin_keyword_loc: (45,2)-(45,7) = "begin"
        │   │           ├── statements:
        │   │           │   @ StatementsNode (location: (46,4)-(47,7))
        │   │           │   └── body: (length: 2)
        │   │           │       ├── @ LocalVariableReadNode (location: (46,4)-(46,7))
        │   │           │       │   ├── name: :foo
        │   │           │       │   └── depth: 0
        │   │           │       └── @ CallNode (location: (47,4)-(47,7))
        │   │           │           ├── flags: variable_call, ignore_visibility
        │   │           │           ├── receiver: ∅
        │   │           │           ├── call_operator_loc: ∅
        │   │           │           ├── name: :bar
        │   │           │           ├── message_loc: (47,4)-(47,7) = "bar"
        │   │           │           ├── opening_loc: ∅
        │   │           │           ├── arguments: ∅
        │   │           │           ├── closing_loc: ∅
        │   │           │           └── block: ∅
        │   │           ├── rescue_clause:
        │   │           │   @ RescueNode (location: (48,2)-(48,8))
        │   │           │   ├── keyword_loc: (48,2)-(48,8) = "rescue"
        │   │           │   ├── exceptions: (length: 0)
        │   │           │   ├── operator_loc: ∅
        │   │           │   ├── reference: ∅
        │   │           │   ├── statements: ∅
        │   │           │   └── consequent: ∅
        │   │           ├── else_clause: ∅
        │   │           ├── ensure_clause: ∅
        │   │           └── end_keyword_loc: (49,2)-(49,5) = "end"
        │   ├── rescue_clause:
        │   │   @ RescueNode (location: (50,0)-(52,5))
        │   │   ├── keyword_loc: (50,0)-(50,6) = "rescue"
        │   │   ├── exceptions: (length: 0)
        │   │   ├── operator_loc: ∅
        │   │   ├── reference: ∅
        │   │   ├── statements:
        │   │   │   @ StatementsNode (location: (51,2)-(52,5))
        │   │   │   └── body: (length: 2)
        │   │   │       ├── @ CallNode (location: (51,2)-(51,5))
        │   │   │       │   ├── flags: variable_call, ignore_visibility
        │   │   │       │   ├── receiver: ∅
        │   │   │       │   ├── call_operator_loc: ∅
        │   │   │       │   ├── name: :baz
        │   │   │       │   ├── message_loc: (51,2)-(51,5) = "baz"
        │   │   │       │   ├── opening_loc: ∅
        │   │   │       │   ├── arguments: ∅
        │   │   │       │   ├── closing_loc: ∅
        │   │   │       │   └── block: ∅
        │   │   │       └── @ CallNode (location: (52,2)-(52,5))
        │   │   │           ├── flags: variable_call, ignore_visibility
        │   │   │           ├── receiver: ∅
        │   │   │           ├── call_operator_loc: ∅
        │   │   │           ├── name: :bar
        │   │   │           ├── message_loc: (52,2)-(52,5) = "bar"
        │   │   │           ├── opening_loc: ∅
        │   │   │           ├── arguments: ∅
        │   │   │           ├── closing_loc: ∅
        │   │   │           └── block: ∅
        │   │   └── consequent: ∅
        │   ├── else_clause: ∅
        │   ├── ensure_clause: ∅
        │   └── end_keyword_loc: (53,0)-(53,3) = "end"
        ├── @ BeginNode (location: (55,0)-(58,3))
        │   ├── begin_keyword_loc: (55,0)-(55,5) = "begin"
        │   ├── statements:
        │   │   @ StatementsNode (location: (56,2)-(56,35))
        │   │   └── body: (length: 1)
        │   │       └── @ RescueModifierNode (location: (56,2)-(56,35))
        │   │           ├── expression:
        │   │           │   @ CallNode (location: (56,2)-(56,18))
        │   │           │   ├── flags: ignore_visibility
        │   │           │   ├── receiver: ∅
        │   │           │   ├── call_operator_loc: ∅
        │   │           │   ├── name: :raise
        │   │           │   ├── message_loc: (56,2)-(56,7) = "raise"
        │   │           │   ├── opening_loc: (56,7)-(56,8) = "("
        │   │           │   ├── arguments:
        │   │           │   │   @ ArgumentsNode (location: (56,8)-(56,17))
        │   │           │   │   ├── flags: ∅
        │   │           │   │   └── arguments: (length: 1)
        │   │           │   │       └── @ ConstantReadNode (location: (56,8)-(56,17))
        │   │           │   │           └── name: :Exception
        │   │           │   ├── closing_loc: (56,17)-(56,18) = ")"
        │   │           │   └── block: ∅
        │   │           ├── keyword_loc: (56,19)-(56,25) = "rescue"
        │   │           └── rescue_expression:
        │   │               @ LocalVariableWriteNode (location: (56,26)-(56,35))
        │   │               ├── name: :foo
        │   │               ├── depth: 0
        │   │               ├── name_loc: (56,26)-(56,29) = "foo"
        │   │               ├── value:
        │   │               │   @ CallNode (location: (56,32)-(56,35))
        │   │               │   ├── flags: variable_call, ignore_visibility
        │   │               │   ├── receiver: ∅
        │   │               │   ├── call_operator_loc: ∅
        │   │               │   ├── name: :bar
        │   │               │   ├── message_loc: (56,32)-(56,35) = "bar"
        │   │               │   ├── opening_loc: ∅
        │   │               │   ├── arguments: ∅
        │   │               │   ├── closing_loc: ∅
        │   │               │   └── block: ∅
        │   │               └── operator_loc: (56,30)-(56,31) = "="
        │   ├── rescue_clause:
        │   │   @ RescueNode (location: (57,0)-(57,16))
        │   │   ├── keyword_loc: (57,0)-(57,6) = "rescue"
        │   │   ├── exceptions: (length: 1)
        │   │   │   └── @ ConstantReadNode (location: (57,7)-(57,16))
        │   │   │       └── name: :Exception
        │   │   ├── operator_loc: ∅
        │   │   ├── reference: ∅
        │   │   ├── statements: ∅
        │   │   └── consequent: ∅
        │   ├── else_clause: ∅
        │   ├── ensure_clause: ∅
        │   └── end_keyword_loc: (58,0)-(58,3) = "end"
        ├── @ BeginNode (location: (60,0)-(64,3))
        │   ├── begin_keyword_loc: (60,0)-(60,5) = "begin"
        │   ├── statements:
        │   │   @ StatementsNode (location: (61,2)-(61,5))
        │   │   └── body: (length: 1)
        │   │       └── @ LocalVariableReadNode (location: (61,2)-(61,5))
        │   │           ├── name: :foo
        │   │           └── depth: 0
        │   ├── rescue_clause:
        │   │   @ RescueNode (location: (62,0)-(63,5))
        │   │   ├── keyword_loc: (62,0)-(62,6) = "rescue"
        │   │   ├── exceptions: (length: 0)
        │   │   ├── operator_loc: (62,7)-(62,9) = "=>"
        │   │   ├── reference:
        │   │   │   @ LocalVariableTargetNode (location: (62,10)-(62,13))
        │   │   │   ├── name: :bar
        │   │   │   └── depth: 0
        │   │   ├── statements:
        │   │   │   @ StatementsNode (location: (63,2)-(63,5))
        │   │   │   └── body: (length: 1)
        │   │   │       └── @ LocalVariableReadNode (location: (63,2)-(63,5))
        │   │   │           ├── name: :bar
        │   │   │           └── depth: 0
        │   │   └── consequent: ∅
        │   ├── else_clause: ∅
        │   ├── ensure_clause: ∅
        │   └── end_keyword_loc: (64,0)-(64,3) = "end"
        ├── @ BeginNode (location: (66,0)-(70,3))
        │   ├── begin_keyword_loc: (66,0)-(66,5) = "begin"
        │   ├── statements:
        │   │   @ StatementsNode (location: (67,2)-(67,5))
        │   │   └── body: (length: 1)
        │   │       └── @ LocalVariableReadNode (location: (67,2)-(67,5))
        │   │           ├── name: :foo
        │   │           └── depth: 0
        │   ├── rescue_clause:
        │   │   @ RescueNode (location: (68,0)-(69,5))
        │   │   ├── keyword_loc: (68,0)-(68,6) = "rescue"
        │   │   ├── exceptions: (length: 2)
        │   │   │   ├── @ ConstantReadNode (location: (68,7)-(68,16))
        │   │   │   │   └── name: :Exception
        │   │   │   └── @ ConstantReadNode (location: (68,18)-(68,23))
        │   │   │       └── name: :Other
        │   │   ├── operator_loc: (68,24)-(68,26) = "=>"
        │   │   ├── reference:
        │   │   │   @ LocalVariableTargetNode (location: (68,27)-(68,30))
        │   │   │   ├── name: :bar
        │   │   │   └── depth: 0
        │   │   ├── statements:
        │   │   │   @ StatementsNode (location: (69,2)-(69,5))
        │   │   │   └── body: (length: 1)
        │   │   │       └── @ LocalVariableReadNode (location: (69,2)-(69,5))
        │   │   │           ├── name: :bar
        │   │   │           └── depth: 0
        │   │   └── consequent: ∅
        │   ├── else_clause: ∅
        │   ├── ensure_clause: ∅
        │   └── end_keyword_loc: (70,0)-(70,3) = "end"
        ├── @ BeginNode (location: (72,0)-(76,3))
        │   ├── begin_keyword_loc: (72,0)-(72,5) = "begin"
        │   ├── statements:
        │   │   @ StatementsNode (location: (73,2)-(73,5))
        │   │   └── body: (length: 1)
        │   │       └── @ LocalVariableReadNode (location: (73,2)-(73,5))
        │   │           ├── name: :bar
        │   │           └── depth: 0
        │   ├── rescue_clause:
        │   │   @ RescueNode (location: (74,0)-(75,5))
        │   │   ├── keyword_loc: (74,0)-(74,6) = "rescue"
        │   │   ├── exceptions: (length: 2)
        │   │   │   ├── @ ConstantReadNode (location: (74,7)-(74,16))
        │   │   │   │   └── name: :SomeError
        │   │   │   └── @ SplatNode (location: (74,18)-(74,22))
        │   │   │       ├── operator_loc: (74,18)-(74,19) = "*"
        │   │   │       └── expression:
        │   │   │           @ LocalVariableReadNode (location: (74,19)-(74,22))
        │   │   │           ├── name: :bar
        │   │   │           └── depth: 0
        │   │   ├── operator_loc: (74,23)-(74,25) = "=>"
        │   │   ├── reference:
        │   │   │   @ LocalVariableTargetNode (location: (74,26)-(74,35))
        │   │   │   ├── name: :exception
        │   │   │   └── depth: 0
        │   │   ├── statements:
        │   │   │   @ StatementsNode (location: (75,2)-(75,5))
        │   │   │   └── body: (length: 1)
        │   │   │       └── @ CallNode (location: (75,2)-(75,5))
        │   │   │           ├── flags: variable_call, ignore_visibility
        │   │   │           ├── receiver: ∅
        │   │   │           ├── call_operator_loc: ∅
        │   │   │           ├── name: :baz
        │   │   │           ├── message_loc: (75,2)-(75,5) = "baz"
        │   │   │           ├── opening_loc: ∅
        │   │   │           ├── arguments: ∅
        │   │   │           ├── closing_loc: ∅
        │   │   │           └── block: ∅
        │   │   └── consequent: ∅
        │   ├── else_clause: ∅
        │   ├── ensure_clause: ∅
        │   └── end_keyword_loc: (76,0)-(76,3) = "end"
        └── @ SingletonClassNode (location: (78,0)-(80,3))
            ├── locals: []
            ├── class_keyword_loc: (78,0)-(78,5) = "class"
            ├── operator_loc: (78,6)-(78,8) = "<<"
            ├── expression:
            │   @ SelfNode (location: (78,9)-(78,13))
            ├── body:
            │   @ StatementsNode (location: (79,2)-(79,23))
            │   └── body: (length: 1)
            │       └── @ RescueModifierNode (location: (79,2)-(79,23))
            │           ├── expression:
            │           │   @ UndefNode (location: (79,2)-(79,12))
            │           │   ├── names: (length: 1)
            │           │   │   └── @ SymbolNode (location: (79,8)-(79,12))
            │           │   │       ├── flags: forced_us_ascii_encoding
            │           │   │       ├── opening_loc: (79,8)-(79,9) = ":"
            │           │   │       ├── value_loc: (79,9)-(79,12) = "bar"
            │           │   │       ├── closing_loc: ∅
            │           │   │       └── unescaped: "bar"
            │           │   └── keyword_loc: (79,2)-(79,7) = "undef"
            │           ├── keyword_loc: (79,13)-(79,19) = "rescue"
            │           └── rescue_expression:
            │               @ NilNode (location: (79,20)-(79,23))
            └── end_keyword_loc: (80,0)-(80,3) = "end"