Debian Codegraph @

test/prism/snapshots/unparser/corpus/literal/kwbegin.txt

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