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
|
@ ProgramNode (location: (1,0)-(19,16))
├── locals: [:c, :d, :b, :a]
└── statements:
@ StatementsNode (location: (1,0)-(19,16))
└── body: (length: 10)
├── @ MultiWriteNode (location: (1,0)-(1,7))
│ ├── targets: (length: 1)
│ │ └── @ SplatNode (location: (1,0)-(1,1))
│ │ ├── operator_loc: (1,0)-(1,1) = "*"
│ │ └── expression: ∅
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (1,2)-(1,3) = "="
│ └── value:
│ @ CallNode (location: (1,4)-(1,7))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── message_loc: (1,4)-(1,7) = "bar"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: variable_call
│ └── name: "bar"
├── @ MultiWriteNode (location: (3,0)-(3,13))
│ ├── targets: (length: 3)
│ │ ├── @ MultiTargetNode (location: (3,0)-(3,1))
│ │ │ ├── targets: (length: 1)
│ │ │ │ └── @ SplatNode (location: (3,0)-(3,1))
│ │ │ │ ├── operator_loc: (3,0)-(3,1) = "*"
│ │ │ │ └── expression: ∅
│ │ │ ├── lparen_loc: ∅
│ │ │ └── rparen_loc: ∅
│ │ ├── @ LocalVariableTargetNode (location: (3,3)-(3,4))
│ │ │ ├── name: :c
│ │ │ └── depth: 0
│ │ └── @ LocalVariableTargetNode (location: (3,6)-(3,7))
│ │ ├── name: :d
│ │ └── depth: 0
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (3,8)-(3,9) = "="
│ └── value:
│ @ CallNode (location: (3,10)-(3,13))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── message_loc: (3,10)-(3,13) = "bar"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: variable_call
│ └── name: "bar"
├── @ MultiWriteNode (location: (5,0)-(5,8))
│ ├── targets: (length: 1)
│ │ └── @ SplatNode (location: (5,0)-(5,2))
│ │ ├── operator_loc: (5,0)-(5,1) = "*"
│ │ └── expression:
│ │ @ LocalVariableTargetNode (location: (5,1)-(5,2))
│ │ ├── name: :b
│ │ └── depth: 0
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (5,3)-(5,4) = "="
│ └── value:
│ @ CallNode (location: (5,5)-(5,8))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── message_loc: (5,5)-(5,8) = "bar"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: variable_call
│ └── name: "bar"
├── @ MultiWriteNode (location: (7,0)-(7,11))
│ ├── targets: (length: 2)
│ │ ├── @ MultiTargetNode (location: (7,0)-(7,2))
│ │ │ ├── targets: (length: 1)
│ │ │ │ └── @ SplatNode (location: (7,0)-(7,2))
│ │ │ │ ├── operator_loc: (7,0)-(7,1) = "*"
│ │ │ │ └── expression:
│ │ │ │ @ LocalVariableTargetNode (location: (7,1)-(7,2))
│ │ │ │ ├── name: :b
│ │ │ │ └── depth: 0
│ │ │ ├── lparen_loc: ∅
│ │ │ └── rparen_loc: ∅
│ │ └── @ LocalVariableTargetNode (location: (7,4)-(7,5))
│ │ ├── name: :c
│ │ └── depth: 0
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (7,6)-(7,7) = "="
│ └── value:
│ @ CallNode (location: (7,8)-(7,11))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── message_loc: (7,8)-(7,11) = "bar"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: variable_call
│ └── name: "bar"
├── @ MultiWriteNode (location: (9,0)-(9,18))
│ ├── targets: (length: 2)
│ │ ├── @ InstanceVariableTargetNode (location: (9,0)-(9,4))
│ │ │ └── name: :@foo
│ │ └── @ ClassVariableTargetNode (location: (9,6)-(9,11))
│ │ └── name: :@@bar
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (9,12)-(9,13) = "="
│ └── value:
│ @ ArrayNode (location: (9,14)-(9,18))
│ ├── elements: (length: 1)
│ │ └── @ SplatNode (location: (9,14)-(9,18))
│ │ ├── operator_loc: (9,14)-(9,15) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (9,15)-(9,18))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── message_loc: (9,15)-(9,18) = "foo"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
│ │ ├── flags: variable_call
│ │ └── name: "foo"
│ ├── opening_loc: ∅
│ └── closing_loc: ∅
├── @ MultiWriteNode (location: (11,0)-(11,10))
│ ├── targets: (length: 2)
│ │ ├── @ LocalVariableTargetNode (location: (11,0)-(11,1))
│ │ │ ├── name: :a
│ │ │ └── depth: 0
│ │ └── @ SplatNode (location: (11,3)-(11,4))
│ │ ├── operator_loc: (11,3)-(11,4) = "*"
│ │ └── expression: ∅
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (11,5)-(11,6) = "="
│ └── value:
│ @ CallNode (location: (11,7)-(11,10))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── message_loc: (11,7)-(11,10) = "bar"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: variable_call
│ └── name: "bar"
├── @ MultiWriteNode (location: (13,0)-(13,13))
│ ├── targets: (length: 3)
│ │ ├── @ LocalVariableTargetNode (location: (13,0)-(13,1))
│ │ │ ├── name: :a
│ │ │ └── depth: 0
│ │ ├── @ SplatNode (location: (13,3)-(13,4))
│ │ │ ├── operator_loc: (13,3)-(13,4) = "*"
│ │ │ └── expression: ∅
│ │ └── @ LocalVariableTargetNode (location: (13,6)-(13,7))
│ │ ├── name: :c
│ │ └── depth: 0
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (13,8)-(13,9) = "="
│ └── value:
│ @ CallNode (location: (13,10)-(13,13))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── message_loc: (13,10)-(13,13) = "bar"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: variable_call
│ └── name: "bar"
├── @ MultiWriteNode (location: (15,0)-(15,11))
│ ├── targets: (length: 2)
│ │ ├── @ LocalVariableTargetNode (location: (15,0)-(15,1))
│ │ │ ├── name: :a
│ │ │ └── depth: 0
│ │ └── @ SplatNode (location: (15,3)-(15,5))
│ │ ├── operator_loc: (15,3)-(15,4) = "*"
│ │ └── expression:
│ │ @ LocalVariableTargetNode (location: (15,4)-(15,5))
│ │ ├── name: :b
│ │ └── depth: 0
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (15,6)-(15,7) = "="
│ └── value:
│ @ CallNode (location: (15,8)-(15,11))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── message_loc: (15,8)-(15,11) = "bar"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: variable_call
│ └── name: "bar"
├── @ MultiWriteNode (location: (17,0)-(17,14))
│ ├── targets: (length: 3)
│ │ ├── @ LocalVariableTargetNode (location: (17,0)-(17,1))
│ │ │ ├── name: :a
│ │ │ └── depth: 0
│ │ ├── @ SplatNode (location: (17,3)-(17,5))
│ │ │ ├── operator_loc: (17,3)-(17,4) = "*"
│ │ │ └── expression:
│ │ │ @ LocalVariableTargetNode (location: (17,4)-(17,5))
│ │ │ ├── name: :b
│ │ │ └── depth: 0
│ │ └── @ LocalVariableTargetNode (location: (17,7)-(17,8))
│ │ ├── name: :c
│ │ └── depth: 0
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (17,9)-(17,10) = "="
│ └── value:
│ @ CallNode (location: (17,11)-(17,14))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── message_loc: (17,11)-(17,14) = "bar"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: variable_call
│ └── name: "bar"
└── @ MultiWriteNode (location: (19,0)-(19,16))
├── targets: (length: 2)
│ ├── @ LocalVariableTargetNode (location: (19,0)-(19,1))
│ │ ├── name: :a
│ │ └── depth: 0
│ └── @ LocalVariableTargetNode (location: (19,3)-(19,4))
│ ├── name: :b
│ └── depth: 0
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (19,5)-(19,6) = "="
└── value:
@ ArrayNode (location: (19,7)-(19,16))
├── elements: (length: 2)
│ ├── @ SplatNode (location: (19,7)-(19,11))
│ │ ├── operator_loc: (19,7)-(19,8) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (19,8)-(19,11))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── message_loc: (19,8)-(19,11) = "foo"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
│ │ ├── flags: variable_call
│ │ └── name: "foo"
│ └── @ CallNode (location: (19,13)-(19,16))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── message_loc: (19,13)-(19,16) = "bar"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: variable_call
│ └── name: "bar"
├── opening_loc: ∅
└── closing_loc: ∅
|