summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/repeat_parameters.txt
blob: fd98294ce6150eb807849075c50651cca6eabb7e (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
@ ProgramNode (location: (1,0)-(38,3))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(38,3))
    └── body: (length: 13)
        ├── @ DefNode (location: (1,0)-(2,3))
        │   ├── name: :foo
        │   ├── name_loc: (1,4)-(1,7) = "foo"
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (1,8)-(1,12))
        │   │   ├── requireds: (length: 2)
        │   │   │   ├── @ RequiredParameterNode (location: (1,8)-(1,9))
        │   │   │   │   ├── flags: ∅
        │   │   │   │   └── name: :a
        │   │   │   └── @ RequiredParameterNode (location: (1,11)-(1,12))
        │   │   │       ├── flags: ∅
        │   │   │       └── name: :_
        │   │   ├── optionals: (length: 0)
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 0)
        │   │   ├── keyword_rest: ∅
        │   │   └── block: ∅
        │   ├── body: ∅
        │   ├── locals: [:a, :_]
        │   ├── def_keyword_loc: (1,0)-(1,3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (1,7)-(1,8) = "("
        │   ├── rparen_loc: (1,12)-(1,13) = ")"
        │   ├── equal_loc: ∅
        │   └── end_keyword_loc: (2,0)-(2,3) = "end"
        ├── @ DefNode (location: (4,0)-(5,3))
        │   ├── name: :foo
        │   ├── name_loc: (4,4)-(4,7) = "foo"
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (4,8)-(4,15))
        │   │   ├── requireds: (length: 3)
        │   │   │   ├── @ RequiredParameterNode (location: (4,8)-(4,9))
        │   │   │   │   ├── flags: ∅
        │   │   │   │   └── name: :a
        │   │   │   ├── @ RequiredParameterNode (location: (4,11)-(4,12))
        │   │   │   │   ├── flags: ∅
        │   │   │   │   └── name: :_
        │   │   │   └── @ RequiredParameterNode (location: (4,14)-(4,15))
        │   │   │       ├── flags: repeated_parameter
        │   │   │       └── name: :_
        │   │   ├── optionals: (length: 0)
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 0)
        │   │   ├── keyword_rest: ∅
        │   │   └── block: ∅
        │   ├── body: ∅
        │   ├── locals: [:a, :_]
        │   ├── def_keyword_loc: (4,0)-(4,3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (4,7)-(4,8) = "("
        │   ├── rparen_loc: (4,15)-(4,16) = ")"
        │   ├── equal_loc: ∅
        │   └── end_keyword_loc: (5,0)-(5,3) = "end"
        ├── @ DefNode (location: (7,0)-(8,3))
        │   ├── name: :foo
        │   ├── name_loc: (7,4)-(7,7) = "foo"
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (7,8)-(7,19))
        │   │   ├── requireds: (length: 4)
        │   │   │   ├── @ RequiredParameterNode (location: (7,8)-(7,9))
        │   │   │   │   ├── flags: ∅
        │   │   │   │   └── name: :a
        │   │   │   ├── @ RequiredParameterNode (location: (7,11)-(7,12))
        │   │   │   │   ├── flags: ∅
        │   │   │   │   └── name: :_
        │   │   │   ├── @ RequiredParameterNode (location: (7,14)-(7,15))
        │   │   │   │   ├── flags: repeated_parameter
        │   │   │   │   └── name: :_
        │   │   │   └── @ RequiredParameterNode (location: (7,17)-(7,19))
        │   │   │       ├── flags: ∅
        │   │   │       └── name: :_b
        │   │   ├── optionals: (length: 0)
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 0)
        │   │   ├── keyword_rest: ∅
        │   │   └── block: ∅
        │   ├── body: ∅
        │   ├── locals: [:a, :_, :_b]
        │   ├── def_keyword_loc: (7,0)-(7,3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (7,7)-(7,8) = "("
        │   ├── rparen_loc: (7,19)-(7,20) = ")"
        │   ├── equal_loc: ∅
        │   └── end_keyword_loc: (8,0)-(8,3) = "end"
        ├── @ DefNode (location: (10,0)-(11,3))
        │   ├── name: :foo
        │   ├── name_loc: (10,4)-(10,7) = "foo"
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (10,8)-(10,23))
        │   │   ├── requireds: (length: 5)
        │   │   │   ├── @ RequiredParameterNode (location: (10,8)-(10,9))
        │   │   │   │   ├── flags: ∅
        │   │   │   │   └── name: :a
        │   │   │   ├── @ RequiredParameterNode (location: (10,11)-(10,12))
        │   │   │   │   ├── flags: ∅
        │   │   │   │   └── name: :_
        │   │   │   ├── @ RequiredParameterNode (location: (10,14)-(10,15))
        │   │   │   │   ├── flags: repeated_parameter
        │   │   │   │   └── name: :_
        │   │   │   ├── @ RequiredParameterNode (location: (10,17)-(10,19))
        │   │   │   │   ├── flags: ∅
        │   │   │   │   └── name: :_b
        │   │   │   └── @ RequiredParameterNode (location: (10,21)-(10,23))
        │   │   │       ├── flags: repeated_parameter
        │   │   │       └── name: :_b
        │   │   ├── optionals: (length: 0)
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 0)
        │   │   ├── keyword_rest: ∅
        │   │   └── block: ∅
        │   ├── body: ∅
        │   ├── locals: [:a, :_, :_b]
        │   ├── def_keyword_loc: (10,0)-(10,3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (10,7)-(10,8) = "("
        │   ├── rparen_loc: (10,23)-(10,24) = ")"
        │   ├── equal_loc: ∅
        │   └── end_keyword_loc: (11,0)-(11,3) = "end"
        ├── @ DefNode (location: (13,0)-(14,3))
        │   ├── name: :foo
        │   ├── name_loc: (13,4)-(13,7) = "foo"
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (13,8)-(13,35))
        │   │   ├── requireds: (length: 3)
        │   │   │   ├── @ RequiredParameterNode (location: (13,8)-(13,9))
        │   │   │   │   ├── flags: ∅
        │   │   │   │   └── name: :a
        │   │   │   ├── @ MultiTargetNode (location: (13,11)-(13,22))
        │   │   │   │   ├── lefts: (length: 1)
        │   │   │   │   │   └── @ RequiredParameterNode (location: (13,12)-(13,13))
        │   │   │   │   │       ├── flags: ∅
        │   │   │   │   │       └── name: :b
        │   │   │   │   ├── rest:
        │   │   │   │   │   @ SplatNode (location: (13,15)-(13,18))
        │   │   │   │   │   ├── operator_loc: (13,15)-(13,16) = "*"
        │   │   │   │   │   └── expression:
        │   │   │   │   │       @ RequiredParameterNode (location: (13,16)-(13,18))
        │   │   │   │   │       ├── flags: ∅
        │   │   │   │   │       └── name: :_c
        │   │   │   │   ├── rights: (length: 1)
        │   │   │   │   │   └── @ RequiredParameterNode (location: (13,20)-(13,21))
        │   │   │   │   │       ├── flags: ∅
        │   │   │   │   │       └── name: :d
        │   │   │   │   ├── lparen_loc: (13,11)-(13,12) = "("
        │   │   │   │   └── rparen_loc: (13,21)-(13,22) = ")"
        │   │   │   └── @ MultiTargetNode (location: (13,24)-(13,35))
        │   │   │       ├── lefts: (length: 1)
        │   │   │       │   └── @ RequiredParameterNode (location: (13,25)-(13,26))
        │   │   │       │       ├── flags: ∅
        │   │   │       │       └── name: :e
        │   │   │       ├── rest:
        │   │   │       │   @ SplatNode (location: (13,28)-(13,31))
        │   │   │       │   ├── operator_loc: (13,28)-(13,29) = "*"
        │   │   │       │   └── expression:
        │   │   │       │       @ RequiredParameterNode (location: (13,29)-(13,31))
        │   │   │       │       ├── flags: repeated_parameter
        │   │   │       │       └── name: :_c
        │   │   │       ├── rights: (length: 1)
        │   │   │       │   └── @ RequiredParameterNode (location: (13,33)-(13,34))
        │   │   │       │       ├── flags: ∅
        │   │   │       │       └── name: :f
        │   │   │       ├── lparen_loc: (13,24)-(13,25) = "("
        │   │   │       └── rparen_loc: (13,34)-(13,35) = ")"
        │   │   ├── optionals: (length: 0)
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 0)
        │   │   ├── keyword_rest: ∅
        │   │   └── block: ∅
        │   ├── body: ∅
        │   ├── locals: [:a, :b, :_c, :d, :e, :f]
        │   ├── def_keyword_loc: (13,0)-(13,3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (13,7)-(13,8) = "("
        │   ├── rparen_loc: (13,35)-(13,36) = ")"
        │   ├── equal_loc: ∅
        │   └── end_keyword_loc: (14,0)-(14,3) = "end"
        ├── @ DefNode (location: (16,0)-(17,3))
        │   ├── name: :foo
        │   ├── name_loc: (16,4)-(16,7) = "foo"
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (16,8)-(16,20))
        │   │   ├── requireds: (length: 4)
        │   │   │   ├── @ RequiredParameterNode (location: (16,8)-(16,10))
        │   │   │   │   ├── flags: ∅
        │   │   │   │   └── name: :_a
        │   │   │   ├── @ RequiredParameterNode (location: (16,12)-(16,14))
        │   │   │   │   ├── flags: repeated_parameter
        │   │   │   │   └── name: :_a
        │   │   │   ├── @ RequiredParameterNode (location: (16,16)-(16,17))
        │   │   │   │   ├── flags: ∅
        │   │   │   │   └── name: :b
        │   │   │   └── @ RequiredParameterNode (location: (16,19)-(16,20))
        │   │   │       ├── flags: ∅
        │   │   │       └── name: :c
        │   │   ├── optionals: (length: 0)
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 0)
        │   │   ├── keyword_rest: ∅
        │   │   └── block: ∅
        │   ├── body: ∅
        │   ├── locals: [:_a, :b, :c]
        │   ├── def_keyword_loc: (16,0)-(16,3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (16,7)-(16,8) = "("
        │   ├── rparen_loc: (16,20)-(16,21) = ")"
        │   ├── equal_loc: ∅
        │   └── end_keyword_loc: (17,0)-(17,3) = "end"
        ├── @ DefNode (location: (19,0)-(20,3))
        │   ├── name: :foo
        │   ├── name_loc: (19,4)-(19,7) = "foo"
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (19,8)-(19,32))
        │   │   ├── requireds: (length: 2)
        │   │   │   ├── @ MultiTargetNode (location: (19,8)-(19,19))
        │   │   │   │   ├── lefts: (length: 1)
        │   │   │   │   │   └── @ RequiredParameterNode (location: (19,9)-(19,10))
        │   │   │   │   │       ├── flags: ∅
        │   │   │   │   │       └── name: :a
        │   │   │   │   ├── rest:
        │   │   │   │   │   @ SplatNode (location: (19,12)-(19,15))
        │   │   │   │   │   ├── operator_loc: (19,12)-(19,13) = "*"
        │   │   │   │   │   └── expression:
        │   │   │   │   │       @ RequiredParameterNode (location: (19,13)-(19,15))
        │   │   │   │   │       ├── flags: ∅
        │   │   │   │   │       └── name: :_b
        │   │   │   │   ├── rights: (length: 1)
        │   │   │   │   │   └── @ RequiredParameterNode (location: (19,17)-(19,18))
        │   │   │   │   │       ├── flags: ∅
        │   │   │   │   │       └── name: :c
        │   │   │   │   ├── lparen_loc: (19,8)-(19,9) = "("
        │   │   │   │   └── rparen_loc: (19,18)-(19,19) = ")"
        │   │   │   └── @ MultiTargetNode (location: (19,21)-(19,32))
        │   │   │       ├── lefts: (length: 1)
        │   │   │       │   └── @ RequiredParameterNode (location: (19,22)-(19,23))
        │   │   │       │       ├── flags: ∅
        │   │   │       │       └── name: :d
        │   │   │       ├── rest:
        │   │   │       │   @ SplatNode (location: (19,25)-(19,28))
        │   │   │       │   ├── operator_loc: (19,25)-(19,26) = "*"
        │   │   │       │   └── expression:
        │   │   │       │       @ RequiredParameterNode (location: (19,26)-(19,28))
        │   │   │       │       ├── flags: repeated_parameter
        │   │   │       │       └── name: :_b
        │   │   │       ├── rights: (length: 1)
        │   │   │       │   └── @ RequiredParameterNode (location: (19,30)-(19,31))
        │   │   │       │       ├── flags: ∅
        │   │   │       │       └── name: :e
        │   │   │       ├── lparen_loc: (19,21)-(19,22) = "("
        │   │   │       └── rparen_loc: (19,31)-(19,32) = ")"
        │   │   ├── optionals: (length: 0)
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 0)
        │   │   ├── keyword_rest: ∅
        │   │   └── block: ∅
        │   ├── body: ∅
        │   ├── locals: [:a, :_b, :c, :d, :e]
        │   ├── def_keyword_loc: (19,0)-(19,3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (19,7)-(19,8) = "("
        │   ├── rparen_loc: (19,32)-(19,33) = ")"
        │   ├── equal_loc: ∅
        │   └── end_keyword_loc: (20,0)-(20,3) = "end"
        ├── @ DefNode (location: (22,0)-(23,3))
        │   ├── name: :foo
        │   ├── name_loc: (22,4)-(22,7) = "foo"
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (22,8)-(22,22))
        │   │   ├── requireds: (length: 0)
        │   │   ├── optionals: (length: 2)
        │   │   │   ├── @ OptionalParameterNode (location: (22,8)-(22,14))
        │   │   │   │   ├── flags: ∅
        │   │   │   │   ├── name: :_a
        │   │   │   │   ├── name_loc: (22,8)-(22,10) = "_a"
        │   │   │   │   ├── operator_loc: (22,11)-(22,12) = "="
        │   │   │   │   └── value:
        │   │   │   │       @ IntegerNode (location: (22,13)-(22,14))
        │   │   │   │       ├── flags: decimal
        │   │   │   │       └── value: 1
        │   │   │   └── @ OptionalParameterNode (location: (22,16)-(22,22))
        │   │   │       ├── flags: repeated_parameter
        │   │   │       ├── name: :_a
        │   │   │       ├── name_loc: (22,16)-(22,18) = "_a"
        │   │   │       ├── operator_loc: (22,19)-(22,20) = "="
        │   │   │       └── value:
        │   │   │           @ IntegerNode (location: (22,21)-(22,22))
        │   │   │           ├── flags: decimal
        │   │   │           └── value: 2
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 0)
        │   │   ├── keyword_rest: ∅
        │   │   └── block: ∅
        │   ├── body: ∅
        │   ├── locals: [:_a]
        │   ├── def_keyword_loc: (22,0)-(22,3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (22,7)-(22,8) = "("
        │   ├── rparen_loc: (22,22)-(22,23) = ")"
        │   ├── equal_loc: ∅
        │   └── end_keyword_loc: (23,0)-(23,3) = "end"
        ├── @ DefNode (location: (25,0)-(26,3))
        │   ├── name: :foo
        │   ├── name_loc: (25,4)-(25,7) = "foo"
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (25,8)-(25,16))
        │   │   ├── requireds: (length: 0)
        │   │   ├── optionals: (length: 0)
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 2)
        │   │   │   ├── @ RequiredKeywordParameterNode (location: (25,8)-(25,11))
        │   │   │   │   ├── flags: ∅
        │   │   │   │   ├── name: :_a
        │   │   │   │   └── name_loc: (25,8)-(25,11) = "_a:"
        │   │   │   └── @ RequiredKeywordParameterNode (location: (25,13)-(25,16))
        │   │   │       ├── flags: repeated_parameter
        │   │   │       ├── name: :_a
        │   │   │       └── name_loc: (25,13)-(25,16) = "_a:"
        │   │   ├── keyword_rest: ∅
        │   │   └── block: ∅
        │   ├── body: ∅
        │   ├── locals: [:_a]
        │   ├── def_keyword_loc: (25,0)-(25,3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (25,7)-(25,8) = "("
        │   ├── rparen_loc: (25,16)-(25,17) = ")"
        │   ├── equal_loc: ∅
        │   └── end_keyword_loc: (26,0)-(26,3) = "end"
        ├── @ DefNode (location: (28,0)-(29,3))
        │   ├── name: :foo
        │   ├── name_loc: (28,4)-(28,7) = "foo"
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (28,8)-(28,20))
        │   │   ├── requireds: (length: 0)
        │   │   ├── optionals: (length: 0)
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 2)
        │   │   │   ├── @ OptionalKeywordParameterNode (location: (28,8)-(28,13))
        │   │   │   │   ├── flags: ∅
        │   │   │   │   ├── name: :_a
        │   │   │   │   ├── name_loc: (28,8)-(28,11) = "_a:"
        │   │   │   │   └── value:
        │   │   │   │       @ IntegerNode (location: (28,12)-(28,13))
        │   │   │   │       ├── flags: decimal
        │   │   │   │       └── value: 1
        │   │   │   └── @ OptionalKeywordParameterNode (location: (28,15)-(28,20))
        │   │   │       ├── flags: repeated_parameter
        │   │   │       ├── name: :_a
        │   │   │       ├── name_loc: (28,15)-(28,18) = "_a:"
        │   │   │       └── value:
        │   │   │           @ IntegerNode (location: (28,19)-(28,20))
        │   │   │           ├── flags: decimal
        │   │   │           └── value: 2
        │   │   ├── keyword_rest: ∅
        │   │   └── block: ∅
        │   ├── body: ∅
        │   ├── locals: [:_a]
        │   ├── def_keyword_loc: (28,0)-(28,3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (28,7)-(28,8) = "("
        │   ├── rparen_loc: (28,20)-(28,21) = ")"
        │   ├── equal_loc: ∅
        │   └── end_keyword_loc: (29,0)-(29,3) = "end"
        ├── @ DefNode (location: (31,0)-(32,3))
        │   ├── name: :foo
        │   ├── name_loc: (31,4)-(31,7) = "foo"
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (31,8)-(31,16))
        │   │   ├── requireds: (length: 1)
        │   │   │   └── @ RequiredParameterNode (location: (31,8)-(31,10))
        │   │   │       ├── flags: ∅
        │   │   │       └── name: :_a
        │   │   ├── optionals: (length: 0)
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 0)
        │   │   ├── keyword_rest:
        │   │   │   @ KeywordRestParameterNode (location: (31,12)-(31,16))
        │   │   │   ├── flags: repeated_parameter
        │   │   │   ├── name: :_a
        │   │   │   ├── name_loc: (31,14)-(31,16) = "_a"
        │   │   │   └── operator_loc: (31,12)-(31,14) = "**"
        │   │   └── block: ∅
        │   ├── body: ∅
        │   ├── locals: [:_a]
        │   ├── def_keyword_loc: (31,0)-(31,3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (31,7)-(31,8) = "("
        │   ├── rparen_loc: (31,16)-(31,17) = ")"
        │   ├── equal_loc: ∅
        │   └── end_keyword_loc: (32,0)-(32,3) = "end"
        ├── @ DefNode (location: (34,0)-(35,3))
        │   ├── name: :foo
        │   ├── name_loc: (34,4)-(34,7) = "foo"
        │   ├── receiver: ∅
        │   ├── parameters:
        │   │   @ ParametersNode (location: (34,8)-(34,15))
        │   │   ├── requireds: (length: 1)
        │   │   │   └── @ RequiredParameterNode (location: (34,8)-(34,10))
        │   │   │       ├── flags: ∅
        │   │   │       └── name: :_a
        │   │   ├── optionals: (length: 0)
        │   │   ├── rest: ∅
        │   │   ├── posts: (length: 0)
        │   │   ├── keywords: (length: 0)
        │   │   ├── keyword_rest: ∅
        │   │   └── block:
        │   │       @ BlockParameterNode (location: (34,12)-(34,15))
        │   │       ├── flags: repeated_parameter
        │   │       ├── name: :_a
        │   │       ├── name_loc: (34,13)-(34,15) = "_a"
        │   │       └── operator_loc: (34,12)-(34,13) = "&"
        │   ├── body: ∅
        │   ├── locals: [:_a]
        │   ├── def_keyword_loc: (34,0)-(34,3) = "def"
        │   ├── operator_loc: ∅
        │   ├── lparen_loc: (34,7)-(34,8) = "("
        │   ├── rparen_loc: (34,15)-(34,16) = ")"
        │   ├── equal_loc: ∅
        │   └── end_keyword_loc: (35,0)-(35,3) = "end"
        └── @ DefNode (location: (37,0)-(38,3))
            ├── name: :foo
            ├── name_loc: (37,4)-(37,7) = "foo"
            ├── receiver: ∅
            ├── parameters:
            │   @ ParametersNode (location: (37,8)-(37,15))
            │   ├── requireds: (length: 1)
            │   │   └── @ RequiredParameterNode (location: (37,8)-(37,10))
            │   │       ├── flags: ∅
            │   │       └── name: :_a
            │   ├── optionals: (length: 0)
            │   ├── rest:
            │   │   @ RestParameterNode (location: (37,12)-(37,15))
            │   │   ├── flags: repeated_parameter
            │   │   ├── name: :_a
            │   │   ├── name_loc: (37,13)-(37,15) = "_a"
            │   │   └── operator_loc: (37,12)-(37,13) = "*"
            │   ├── posts: (length: 0)
            │   ├── keywords: (length: 0)
            │   ├── keyword_rest: ∅
            │   └── block: ∅
            ├── body: ∅
            ├── locals: [:_a]
            ├── def_keyword_loc: (37,0)-(37,3) = "def"
            ├── operator_loc: ∅
            ├── lparen_loc: (37,7)-(37,8) = "("
            ├── rparen_loc: (37,15)-(37,16) = ")"
            ├── equal_loc: ∅
            └── end_keyword_loc: (38,0)-(38,3) = "end"