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
|
ProgramNode(0...90)(
[],
StatementsNode(0...90)(
[DefNode(0...45)(
(4...7),
nil,
ParametersNode(8...20)(
[RequiredParameterNode(8...16)(:argument)],
[],
[],
nil,
[],
KeywordRestParameterNode(18...20)(nil, nil, (18...20)),
nil
),
StatementsNode(24...41)(
[CallNode(24...41)(
nil,
nil,
(24...27),
(27...28),
ArgumentsNode(28...40)(
[LocalVariableReadNode(28...36)(:argument, 0),
KeywordHashNode(38...40)(
[AssocSplatNode(38...40)(nil, (38...40))]
)]
),
(40...41),
nil,
0,
"bar"
)]
),
[:argument, :**],
(0...3),
nil,
(7...8),
(20...21),
nil,
(42...45)
),
DefNode(47...90)(
(51...54),
nil,
ParametersNode(55...66)(
[RequiredParameterNode(55...63)(:argument)],
[],
[],
RestParameterNode(65...66)((65...66), nil),
[],
nil,
nil
),
StatementsNode(70...86)(
[CallNode(70...86)(
nil,
nil,
(70...73),
(73...74),
ArgumentsNode(74...85)(
[LocalVariableReadNode(74...82)(:argument, 0),
SplatNode(84...85)((84...85), nil)]
),
(85...86),
nil,
0,
"bar"
)]
),
[:argument, :*],
(47...50),
nil,
(54...55),
(66...67),
nil,
(87...90)
)]
)
)
|