arpaka 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,656 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Rule IDs refer to upstream_rules.json, validated against the pinned source.
4
+ # Each entry is [classification, Ruby expression used as the reduction value].
5
+ module Arpaka::RubyGrammarActions
6
+ ACTIONS = {
7
+ 1 => ["empty", "nil"], 2 => ["empty", "nil"], 3 => ["empty", "nil"],
8
+ 4 => ["pass_through", "$1"], 5 => ["ported", "@builder.program($2)"],
9
+ 11 => ["empty", "nil"], 14 => ["empty", "nil"], 15 => ["empty", "nil"],
10
+ 23 => ["empty", "nil"], 27 => ["empty", "nil"], 39 => ["pass_through", "$1"],
11
+ 42 => ["pass_through", "$1"],
12
+ 48 => ["pass_through", "$1"], 57 => ["pass_through", "$1"],
13
+ 60 => ["pass_through", "$1"], 61 => ["pass_through", "$1"],
14
+ 66 => ["pass_through", "$1"], 68 => ["pass_through", "$1"],
15
+ 74 => ["empty", "nil"],
16
+ 76 => ["empty", "nil"], 81 => ["empty", "nil"],
17
+ 90 => ["pass_through", "$1"], 91 => ["pass_through", "$1"],
18
+ 92 => ["pass_through", "$1"], 93 => ["pass_through", "$1"],
19
+ 97 => ["pass_through", "$1"], 98 => ["pass_through", "$1"],
20
+ 111 => ["pass_through", "$1"], 113 => ["pass_through", "$1"],
21
+ 115 => ["pass_through", "$1"], 118 => ["pass_through", "$1"],
22
+ 125 => ["empty", "nil"], 127 => ["pass_through", "$1"],
23
+ 131 => ["pass_through", "$1"], 132 => ["pass_through", "$1"],
24
+ 139 => ["pass_through", "$1"], 141 => ["pass_through", "$1"],
25
+ 148 => ["pass_through", "$1"], 155 => ["pass_through", "$1"],
26
+ 156 => ["pass_through", "$1"], 157 => ["pass_through", "$1"],
27
+ 158 => ["pass_through", "$1"], 159 => ["pass_through", "$1"],
28
+ 160 => ["pass_through", "$1"], 161 => ["pass_through", "$1"],
29
+ 162 => ["empty", "nil"],
30
+ 164 => ["ported", "@builder.operator(\"|\")"], 165 => ["ported", "@builder.operator(\"^\")"],
31
+ 166 => ["ported", "@builder.operator(\"&\")"], 167 => ["ported", "@builder.operator(\"<=>\")"],
32
+ 168 => ["ported", "@builder.operator(\"==\")"],
33
+ 169 => ["ported", "@builder.operator(\"===\")"], 170 => ["ported", "@builder.operator(\"=~\")"],
34
+ 171 => ["ported", "@builder.operator(\"!~\")"], 172 => ["ported", "@builder.operator(\">\")"],
35
+ 173 => ["ported", "@builder.operator(\">=\")"], 174 => ["ported", "@builder.operator(\"<\")"],
36
+ 175 => ["ported", "@builder.operator(\"<=\")"], 176 => ["ported", "@builder.operator(\"!=\")"],
37
+ 177 => ["ported", "@builder.operator(\"<<\")"], 178 => ["ported", "@builder.operator(\">>\")"],
38
+ 179 => ["ported", "@builder.operator(\"+\")"], 180 => ["ported", "@builder.operator(\"-\")"],
39
+ 181 => ["ported", "@builder.operator(\"*\")"], 182 => ["ported", "@builder.operator(\"*\")"],
40
+ 183 => ["ported", "@builder.operator(\"/\")"], 184 => ["ported", "@builder.operator(\"%\")"],
41
+ 185 => ["ported", "@builder.operator(\"**\")"], 186 => ["ported", "@builder.operator(\"**\")"],
42
+ 187 => ["ported", "@builder.operator(\"!\")"], 188 => ["ported", "@builder.operator(\"~\")"],
43
+ 189 => ["ported", "@builder.operator(\"+@\")"], 190 => ["ported", "@builder.operator(\"-@\")"],
44
+ 191 => ["ported", "@builder.operator(\"[]\")"], 192 => ["ported", "@builder.operator(\"[]=\")"],
45
+ 193 => ["ported", "@builder.operator(\"`\")"],
46
+ 194 => ["ported", "@builder.reserved_word(\"__LINE__\")"],
47
+ 195 => ["ported", "@builder.reserved_word(\"__FILE__\")"],
48
+ 196 => ["ported", "@builder.reserved_word(\"__ENCODING__\")"],
49
+ 197 => ["ported", "@builder.reserved_word(\"BEGIN\")"],
50
+ 198 => ["ported", "@builder.reserved_word(\"END\")"],
51
+ 199 => ["ported", "@builder.reserved_word(\"alias\")"],
52
+ 200 => ["ported", "@builder.reserved_word(\"and\")"],
53
+ 201 => ["ported", "@builder.reserved_word(\"begin\")"],
54
+ 202 => ["ported", "@builder.reserved_word(\"break\")"],
55
+ 203 => ["ported", "@builder.reserved_word(\"case\")"],
56
+ 204 => ["ported", "@builder.reserved_word(\"class\")"],
57
+ 205 => ["ported", "@builder.reserved_word(\"def\")"],
58
+ 206 => ["ported", "@builder.reserved_word(\"defined?\")"],
59
+ 207 => ["ported", "@builder.reserved_word(\"do\")"],
60
+ 208 => ["ported", "@builder.reserved_word(\"else\")"],
61
+ 209 => ["ported", "@builder.reserved_word(\"elsif\")"],
62
+ 210 => ["ported", "@builder.reserved_word(\"end\")"],
63
+ 211 => ["ported", "@builder.reserved_word(\"ensure\")"],
64
+ 212 => ["ported", "@builder.reserved_word(\"false\")"],
65
+ 213 => ["ported", "@builder.reserved_word(\"for\")"],
66
+ 214 => ["ported", "@builder.reserved_word(\"in\")"],
67
+ 215 => ["ported", "@builder.reserved_word(\"module\")"],
68
+ 216 => ["ported", "@builder.reserved_word(\"next\")"],
69
+ 217 => ["ported", "@builder.reserved_word(\"nil\")"],
70
+ 218 => ["ported", "@builder.reserved_word(\"not\")"],
71
+ 219 => ["ported", "@builder.reserved_word(\"or\")"],
72
+ 220 => ["ported", "@builder.reserved_word(\"redo\")"],
73
+ 221 => ["ported", "@builder.reserved_word(\"rescue\")"],
74
+ 222 => ["ported", "@builder.reserved_word(\"retry\")"],
75
+ 223 => ["ported", "@builder.reserved_word(\"return\")"],
76
+ 224 => ["ported", "@builder.reserved_word(\"self\")"],
77
+ 225 => ["ported", "@builder.reserved_word(\"super\")"],
78
+ 226 => ["ported", "@builder.reserved_word(\"then\")"],
79
+ 227 => ["ported", "@builder.reserved_word(\"true\")"],
80
+ 228 => ["ported", "@builder.reserved_word(\"undef\")"],
81
+ 229 => ["ported", "@builder.reserved_word(\"when\")"],
82
+ 230 => ["ported", "@builder.reserved_word(\"yield\")"],
83
+ 231 => ["ported", "@builder.reserved_word(\"if\")"],
84
+ 232 => ["ported", "@builder.reserved_word(\"unless\")"],
85
+ 233 => ["ported", "@builder.reserved_word(\"while\")"],
86
+ 234 => ["ported", "@builder.reserved_word(\"until\")"],
87
+ 83 => ["pass_through", "$1"], 84 => ["pass_through", "$1"],
88
+ 86 => ["empty", "nil"], 87 => ["empty", "nil"],
89
+ 6 => ["ported", "[].freeze"], 7 => ["ported", "[$1].freeze"],
90
+ 8 => ["ported", "($1 + [$3]).freeze"], 9 => ["pass_through", "$1"],
91
+ 13 => ["pass_through", "$1"], 19 => ["ported", "[].freeze"],
92
+ 20 => ["ported", "[$1].freeze"], 21 => ["ported", "($1 + [$3]).freeze"],
93
+ 22 => ["pass_through", "$1"], 45 => ["pass_through", "$1"],
94
+ 25 => ["empty", "nil"],
95
+ 63 => ["empty", "nil"], 64 => ["pass_through", "nil"],
96
+ 70 => ["ported", "@builder.binary(:and, $1, $3)"],
97
+ 69 => ["pass_through", "$1"],
98
+ 72 => ["ported", "@builder.unary(:\"!\", $3)"],
99
+ 287 => ["ported", "@builder.unary(:\"!\", $3)"],
100
+ 71 => ["ported", "@builder.binary(:or, $1, $3)"],
101
+ 108 => ["ported", "@builder.call(:return, $2 || [])"],
102
+ 107 => ["ported", "@builder.call(:yield, $2 || [])"],
103
+ 106 => ["ported", "@builder.call(:super, $2 || [])"],
104
+ 99 => ["ported", "@builder.call($1, $2 || [])"],
105
+ 33 => ["ported", "@builder.if_node($3, [$1], nil)"],
106
+ 34 => ["ported", "@builder.unless_node($3, [$1], nil)"],
107
+ 35 => ["ported", "@builder.loop(:while, $3, [$1])"],
108
+ 36 => ["ported", "@builder.loop(:until, $3, [$1])"],
109
+ 37 => ["ported", "@builder.rescue_modifier($1, $4)"],
110
+ 374 => ["empty", "nil"], 376 => ["empty", "nil"],
111
+ 375 => ["ported", "@builder.case_node($2, @builder.case_parts($5).first, @builder.case_parts($5).last)"],
112
+ 377 => ["ported", "@builder.case_node(@builder.literal(nil), @builder.case_parts($4).first, @builder.case_parts($4).last)"],
113
+ 521 => ["ported", "[$1].freeze"],
114
+ 523 => ["ported", "($1 + [$3]).freeze"],
115
+ 525 => ["ported", "@builder.case_chain(@builder.when_node($2, $4), $5)"],
116
+ 526 => ["pass_through", "$1"],
117
+ 527 => ["ported", "[$1].freeze"],
118
+ 412 => ["pass_through", "nil"],
119
+ 420 => ["pass_through", "nil"], 421 => ["pass_through", "nil"],
120
+ 95 => ["ported", "$2"],
121
+ 94 => ["pass_through", "$1"],
122
+ 82 => ["pass_through", "$1"],
123
+ 77 => ["pass_through", "$1"],
124
+ 75 => ["pass_through", "$1"],
125
+ 797 => ["pass_through", "$1"],
126
+ 795 => ["pass_through", "$1"],
127
+ 792 => ["pass_through", "$1"],
128
+ 781 => ["pass_through", "$1"],
129
+ 779 => ["pass_through", "$1"],
130
+ 778 => ["pass_through", "$1"],
131
+ 777 => ["pass_through", "$1"],
132
+ 776 => ["pass_through", "$1"],
133
+ 775 => ["pass_through", "$1"],
134
+ 774 => ["pass_through", "$1"],
135
+ 773 => ["pass_through", "$1"],
136
+ 772 => ["pass_through", "$1"],
137
+ 771 => ["pass_through", "$1"],
138
+ 770 => ["pass_through", "$1"],
139
+ 769 => ["pass_through", "$1"],
140
+ 768 => ["pass_through", "$1"],
141
+ 761 => ["pass_through", "$1"],
142
+ 759 => ["pass_through", "$1"],
143
+ 758 => ["pass_through", "$1"],
144
+ 757 => ["pass_through", "$1"],
145
+ 756 => ["pass_through", "$1"],
146
+ 755 => ["pass_through", "$1"],
147
+ 754 => ["pass_through", "$1"],
148
+ 753 => ["pass_through", "$1"],
149
+ 752 => ["pass_through", "$1"],
150
+ 751 => ["pass_through", "$1"],
151
+ 750 => ["pass_through", "$1"],
152
+ 749 => ["pass_through", "$1"],
153
+ 748 => ["pass_through", "$1"],
154
+ 745 => ["pass_through", "$1"],
155
+ 743 => ["pass_through", "$1"],
156
+ 739 => ["pass_through", "$1"],
157
+ 738 => ["pass_through", "$1"],
158
+ 737 => ["pass_through", "$1"],
159
+ 733 => ["pass_through", "$1"],
160
+ 732 => ["pass_through", "$1"],
161
+ 731 => ["pass_through", "$1"],
162
+ 728 => ["pass_through", "$1"],
163
+ 725 => ["pass_through", "$1"],
164
+ 689 => ["ported", "@builder.symbol(@builder.join_strings($2))"],
165
+ 679 => ["ported", "@builder.interpolation($6)"],
166
+ 674 => ["pass_through", "$1"],
167
+ 665 => ["pass_through", "$1"],
168
+ 628 => ["pass_through", "$1"],
169
+ 626 => ["pass_through", "$1"],
170
+ 625 => ["pass_through", "$2"],
171
+ 624 => ["pass_through", "$3"],
172
+ 622 => ["pass_through", "$2"],
173
+ 621 => ["pass_through", "$1"],
174
+ 602 => ["pass_through", "$1"],
175
+ 601 => ["pass_through", "$1"],
176
+ 595 => ["pass_through", "$1"],
177
+ 594 => ["pass_through", "$1"],
178
+ 591 => ["pass_through", "$1"],
179
+ 590 => ["pass_through", "$1"],
180
+ 585 => ["pass_through", "$1"],
181
+ 583 => ["pass_through", "$1"],
182
+ 580 => ["pass_through", "$2"],
183
+ 579 => ["pass_through", "$1"],
184
+ 578 => ["pass_through", "$1"],
185
+ 576 => ["pass_through", "$1"],
186
+ 573 => ["pass_through", "$1"],
187
+ 572 => ["pass_through", "$1"],
188
+ 571 => ["pass_through", "$1"],
189
+ 568 => ["pass_through", "$1"],
190
+ 566 => ["pass_through", "$1"],
191
+ 563 => ["pass_through", "$2"],
192
+ 562 => ["pass_through", "$2"],
193
+ 561 => ["pass_through", "$1"],
194
+ 560 => ["pass_through", "$1"],
195
+ 559 => ["pass_through", "$1"],
196
+ 558 => ["pass_through", "$1"],
197
+ 557 => ["pass_through", "$1"],
198
+ 556 => ["pass_through", "$1"],
199
+ 555 => ["pass_through", "$1"],
200
+ 554 => ["pass_through", "$1"],
201
+ 548 => ["pass_through", "$1"],
202
+ 545 => ["pass_through", "$1"],
203
+ 540 => ["pass_through", "$1"],
204
+ 537 => ["pass_through", "$1"],
205
+ 536 => ["pass_through", "$1"],
206
+ 532 => ["pass_through", "$1"],
207
+ 524 => ["pass_through", "$1"],
208
+ 520 => ["pass_through", "$7"],
209
+ 518 => ["pass_through", "$7"],
210
+ 516 => ["pass_through", "$2"],
211
+ 511 => ["ported", "@builder.receiver_call($1, $2, :call, $3)"],
212
+ 510 => ["ported", "@builder.receiver_call($1, :\"::\", $3, [])"],
213
+ 509 => ["ported", "@builder.receiver_call($1, :\"::\", $3, $4)"],
214
+ 508 => ["ported", "@builder.receiver_call($1, $2, $3, $4)"],
215
+ 506 => ["pass_through", "$1"],
216
+ 505 => ["pass_through", "$1"],
217
+ 504 => ["pass_through", "$1"],
218
+ 503 => ["pass_through", "$1"],
219
+ 502 => ["ported", "@builder.block_call($1, $2)"],
220
+ 501 => ["pass_through", "$2"],
221
+ 488 => ["pass_through", "$1"],
222
+ 487 => ["pass_through", "$1"],
223
+ 485 => ["pass_through", "$3"],
224
+ 481 => ["pass_through", "$2"],
225
+ 476 => ["pass_through", "$1"],
226
+ 475 => ["pass_through", "$1"],
227
+ 473 => ["pass_through", "$1"],
228
+ 472 => ["pass_through", "$1"],
229
+ 471 => ["pass_through", "$1"],
230
+ 470 => ["pass_through", "$1"],
231
+ 469 => ["pass_through", "$1"],
232
+ 468 => ["pass_through", "$1"],
233
+ 467 => ["pass_through", "$1"],
234
+ 466 => ["pass_through", "$1"],
235
+ 444 => ["empty", "nil"],
236
+ 438 => ["pass_through", "$1"],
237
+ 436 => ["pass_through", "$1"],
238
+ 435 => ["pass_through", "$1"],
239
+ 433 => ["pass_through", "$1"],
240
+ 431 => ["pass_through", "$2"],
241
+ 409 => ["empty", "nil"],
242
+ 391 => ["pass_through", "$1"],
243
+ 385 => ["pass_through", "$3"],
244
+ 378 => ["pass_through", "$2"],
245
+ 465 => ["pass_through", "$1"],
246
+ 464 => ["pass_through", "$1"],
247
+ 463 => ["pass_through", "$1"],
248
+ 462 => ["pass_through", "$1"],
249
+ 459 => ["pass_through", "$1"],
250
+ 457 => ["pass_through", "$1"],
251
+ 453 => ["pass_through", "$1"],
252
+ 452 => ["pass_through", "$1"],
253
+ 451 => ["pass_through", "$1"],
254
+ 448 => ["pass_through", "$1"],
255
+ 368 => ["ported", "@builder.block_call($1, $2)"],
256
+ 366 => ["ported", "@builder.block_call(@builder.call($1, []), $2)"],
257
+ 356 => ["pass_through", "$2"],
258
+ 313 => ["pass_through", "$1"],
259
+ 280 => ["pass_through", "$1"],
260
+ 279 => ["pass_through", "$1"],
261
+ 244 => ["pass_through", "$1"],
262
+ 243 => ["pass_through", "nil"],
263
+ 242 => ["pass_through", "$1"],
264
+ 241 => ["pass_through", "$1"],
265
+ 240 => ["pass_through", "$1"],
266
+ 239 => ["pass_through", "$1"],
267
+ 238 => ["pass_through", "$1"],
268
+ 237 => ["pass_through", "$1"],
269
+ 145 => ["pass_through", "$1"],
270
+ 144 => ["pass_through", "$1"],
271
+ 143 => ["pass_through", "$1"],
272
+ 142 => ["ported", "@builder.index($1, $3 || [])"],
273
+ 136 => ["pass_through", "$1"],
274
+ 135 => ["pass_through", "$1"],
275
+ 134 => ["pass_through", "$1"],
276
+ 105 => ["ported", "@builder.block_call(@builder.receiver_call($1, :\"::\", $3, []), $5)"],
277
+ 104 => ["ported", "@builder.block_call(@builder.receiver_call($1, :\"::\", $3, $4), $5)"],
278
+ 103 => ["ported", "@builder.receiver_call($1, :\"::\", $3, $4)"],
279
+ 102 => ["ported", "@builder.block_call(@builder.receiver_call($1, $2, $3, $4), $5)"],
280
+ 100 => ["ported", "@builder.block_call(@builder.call($1, $2 || []), $3)"],
281
+ 101 => ["ported", "@builder.receiver_call($1, $2, $3, $4)"],
282
+ 606 => ["ported", "@builder.range(:\"...\", nil, $2)"],
283
+ 605 => ["ported", "@builder.range(:\"..\", nil, $2)"],
284
+ 604 => ["ported", "@builder.range(:\"...\", $1, nil)"],
285
+ 810 => ["pass_through", "$2"],
286
+ 820 => ["pass_through", "$3"],
287
+ 828 => ["pass_through", "$4"],
288
+ 806 => ["ported", "[$2].freeze"],
289
+ 802 => ["pass_through", "$2"],
290
+ 835 => ["pass_through", "$1"],
291
+ 831 => ["pass_through", "$1"],
292
+ 829 => ["pass_through", "$2"],
293
+ 846 => ["empty", "nil"],
294
+ 811 => ["empty", "nil"],
295
+ 790 => ["empty", "nil"],
296
+ 789 => ["empty", "nil"],
297
+ 788 => ["empty", "nil"],
298
+ 766 => ["pass_through", "$2"],
299
+ 746 => ["pass_through", "$2"],
300
+ 729 => ["pass_through", "$2"],
301
+ 597 => ["pass_through", "$1"],
302
+ 623 => ["pass_through", "$2"],
303
+ 587 => ["pass_through", "$1"],
304
+ 575 => ["pass_through", "$1"],
305
+ 567 => ["empty", "nil"],
306
+ 314 => ["pass_through", "$1"],
307
+ 564 => ["empty", "nil"],
308
+ 551 => ["pass_through", "$2"],
309
+ 550 => ["pass_through", "$2"],
310
+ 539 => ["pass_through", "$1"],
311
+ 522 => ["pass_through", "$2"],
312
+ 630 => ["pass_through", "$1"], 631 => ["pass_through", "$1"],
313
+ 632 => ["empty", "nil"], 633 => ["pass_through", "$2"], 634 => ["empty", "nil"],
314
+ 635 => ["pass_through", "$2"],
315
+ 245 => ["pass_through", "$1"], 285 => ["pass_through", "$1"],
316
+ 315 => ["pass_through", "$1"], 316 => ["pass_through", "$1"],
317
+ 317 => ["pass_through", "$1"],
318
+ 321 => ["pass_through", "$1"], 325 => ["empty", "nil"],
319
+ 329 => ["pass_through", "$1"], 333 => ["empty", "nil"],
320
+ 334 => ["pass_through", "$1"],
321
+ 335 => ["pass_through", "$1"], 350 => ["empty", "nil"],
322
+ 352 => ["empty", "nil"], 390 => ["empty", "nil"],
323
+ 296 => ["pass_through", "nil"],
324
+ 109 => ["ported", "@builder.call(:break, $2 || [])"],
325
+ 110 => ["ported", "@builder.call(:next, $2 || [])"],
326
+ 89 => ["pass_through", "$1"],
327
+ 78 => ["pass_through", "$1"], 140 => ["ported", "@builder.declare_local($1)"],
328
+ 154 => ["pass_through", "$1"],
329
+ 88 => ["pass_through", "$2"],
330
+ 372 => ["ported", "@builder.loop(:while, $2, $3)"],
331
+ 373 => ["ported", "@builder.loop(:until, $2, $3)"],
332
+ 392 => ["ported", "@builder.control(:break)"],
333
+ 393 => ["ported", "@builder.control(:next)"],
334
+ 394 => ["ported", "@builder.control(:redo)"],
335
+ 395 => ["ported", "@builder.control(:retry)"],
336
+ 359 => ["ported", "@builder.control(:return)"],
337
+ 235 => ["ported", "@builder.assign($1, $4)"], 236 => ["pass_through", "$1"],
338
+ 246 => ["ported", "@builder.range(:\"..\", $1, $3)"],
339
+ 247 => ["ported", "@builder.range(:\"...\", $1, $3)"],
340
+ 248 => ["ported", "@builder.range(:\"..\", $1, nil)"],
341
+ 249 => ["ported", "@builder.range(:\"...\", $1, nil)"],
342
+ 250 => ["ported", "@builder.range(:\"..\", nil, $2)"],
343
+ 251 => ["ported", "@builder.range(:\"...\", nil, $2)"],
344
+ 258 => ["ported", "@builder.binary(:\"**\", $1, $3)"],
345
+ 259 => ["ported", "@builder.binary(:\"**\", @builder.unary(:-@, $2), $4)"],
346
+ 306 => ["ported", "($2 + [$4]).freeze"],
347
+ 307 => ["pass_through", "$2"],
348
+ 319 => ["pass_through", "$1"],
349
+ 320 => ["ported", "(($1 || []) + ($3 || [])).freeze"],
350
+ 324 => ["pass_through", "$2"],
351
+ 326 => ["pass_through", "$2"],
352
+ 331 => ["ported", "@builder.append_arguments($1, $3)"],
353
+ 332 => ["ported", "[$2].freeze"],
354
+ 336 => ["ported", "($1 + [$3]).freeze"],
355
+ 337 => ["ported", "($1 + [$4]).freeze"],
356
+ 338 => ["ported", "[$2].freeze"],
357
+ 349 => ["ported", "@builder.reserved_word(\"method\")"],
358
+ 16 => ["ported", "@builder.body_nodes($1)"],
359
+ 43 => ["ported", "@builder.assign($1, @builder.rescue_modifier($4, $7))"],
360
+ 281 => ["pass_through", "$1"],
361
+ 416 => ["empty", "nil"],
362
+ 439 => ["pass_through", "$2"],
363
+ 449 => ["pass_through", "$2"],
364
+ 460 => ["pass_through", "$2"],
365
+ 515 => ["pass_through", "$2"],
366
+ 133 => ["ported", "@builder.index($1, $3 || [])"],
367
+ 138 => ["ported", "@builder.variable(:constant, $2)"],
368
+ 137 => ["ported", "@builder.variable(:constant, $3)"],
369
+ 146 => ["ported", "@builder.variable(:constant, $3)"],
370
+ 355 => ["ported", "@builder.variable(:constant, $3)"],
371
+ 365 => ["ported", "@builder.reserved_word(\"not\")"],
372
+ 603 => ["ported", "@builder.range(:\"..\", $1, nil)"],
373
+ 147 => ["ported", "@builder.variable(:constant, $2)"],
374
+ 286 => ["ported", "@builder.rescue_modifier($1, $4)"],
375
+ 112 => ["pass_through", "$2"],
376
+ 163 => ["ported", "($1 + [$4]).freeze"],
377
+ 351 => ["ported", "@builder.body_nodes($3)"],
378
+ 114 => ["pass_through", "$2"],
379
+ 128 => ["pass_through", "$2"],
380
+ 129 => ["ported", "[$1].freeze"],
381
+ 116 => ["ported", "(Array($1) + [$2]).freeze"],
382
+ 117 => ["ported", "(Array($1) + [$3]).freeze"],
383
+ 119 => ["ported", "(Array($1) + [$3]).freeze"],
384
+ 120 => ["ported", "(Array($1) + [$3] + Array($5)).freeze"],
385
+ 122 => ["pass_through", "$1"],
386
+ 121 => ["pass_through", "$1"],
387
+ 123 => ["pass_through", "$2"],
388
+ 124 => ["pass_through", "$2"],
389
+ 126 => ["pass_through", "$3"],
390
+ 130 => ["ported", "($1 + [$2]).freeze"],
391
+ 304 => ["ported", "@builder.rescue_modifier($1, $4)"],
392
+ 46 => ["empty", "nil"],
393
+ 85 => ["empty", "nil"],
394
+ 252 => ["pass_through", "$1"],
395
+ 284 => ["ported", "@builder.ternary($1, $3, $6)"],
396
+ 96 => ["pass_through", "$1"],
397
+ 305 => ["pass_through", "$2"],
398
+ 308 => ["empty", "nil"], 309 => ["pass_through", "$1"],
399
+ 310 => ["empty", "nil"], 311 => ["pass_through", "$1"],
400
+ 312 => ["pass_through", "$1"],
401
+ 327 => ["empty", "nil"],
402
+ 318 => ["pass_through", "$1"],
403
+ 322 => ["empty", "nil"],
404
+ 323 => ["pass_through", "$2"],
405
+ 507 => ["ported", "@builder.call($1, $2 || [])"],
406
+ 367 => ["pass_through", "$1"],
407
+ 396 => ["pass_through", "$1"], 397 => ["pass_through", "$1"],
408
+ 401 => ["pass_through", "nil"], 402 => ["pass_through", "nil"],
409
+ 403 => ["pass_through", "nil"],
410
+ 423 => ["pass_through", "nil"],
411
+ 417 => ["pass_through", "nil"],
412
+ 418 => ["pass_through", "nil"],
413
+ 360 => ["ported", "@builder.call(:yield, $3 || [])"],
414
+ 361 => ["ported", "@builder.call(:yield, [])"],
415
+ 362 => ["ported", "@builder.call(:yield, [])"],
416
+ 512 => ["ported", "@builder.call(:super, $2 || [])"],
417
+ 513 => ["ported", "@builder.call(:super, [])"],
418
+ 364 => ["ported", "@builder.unary(:\"!\", $3)"],
419
+ 295 => ["pass_through", "nil"],
420
+ 363 => ["ported", "@builder.call(:defined, [$5])"],
421
+ 278 => ["ported", "@builder.call(:defined, [$4])"],
422
+ 340 => ["pass_through", "$1"],
423
+ 343 => ["ported", "@builder.word_array($1)"],
424
+ 344 => ["ported", "@builder.word_array($1, symbols: true)"],
425
+ 496 => ["pass_through", "$2"], 785 => ["pass_through", "$1"],
426
+ 346 => ["pass_through", "$1"],
427
+ 611 => ["pass_through", "$1"], 612 => ["pass_through", "$1"],
428
+ 613 => ["pass_through", "$1"], 614 => ["pass_through", "$1"],
429
+ 615 => ["pass_through", "$1"], 616 => ["pass_through", "$1"],
430
+ 646 => ["pass_through", "nil"], 647 => ["pass_through", "nil"],
431
+ 648 => ["pass_through", "$3"], 649 => ["pass_through", "$1"],
432
+ 650 => ["empty", "[]"], 651 => ["ported", "($1 + [$2]).freeze"],
433
+ 652 => ["pass_through", "$1"], 653 => ["ported", "$1.to_s + $2.to_s"],
434
+ 654 => ["pass_through", "$3"], 655 => ["ported", "@builder.word_array($1, symbols: true)"],
435
+ 656 => ["empty", "[]"], 657 => ["ported", "($1 + [$2]).freeze"],
436
+ 658 => ["pass_through", "$3"], 659 => ["ported", "@builder.word_array($1)"],
437
+ 660 => ["pass_through", "$3"], 661 => ["ported", "@builder.word_array($1, symbols: true)"],
438
+ 662 => ["empty", "[]"], 663 => ["ported", "($1 + [$2]).freeze"],
439
+ 342 => ["pass_through", "$1"],
440
+ 341 => ["pass_through", "$1"],
441
+ 379 => ["empty", "nil"], 380 => ["empty", "nil"],
442
+ 381 => ["ported", "@builder.for_node($2, $5, $8)"],
443
+ 404 => ["pass_through", "nil"], 428 => ["pass_through", "$1"],
444
+ 644 => ["ported", "@builder.xstring(@builder.join_strings($2))"],
445
+ 668 => ["empty", "[]"], 669 => ["ported", "($1 + [$2]).freeze"],
446
+ 645 => ["ported", "@builder.regexp(@builder.join_strings($2))"],
447
+ 670 => ["empty", "[]"], 671 => ["ported", "($1 + [$2]).freeze"],
448
+ 639 => ["pass_through", "$1"],
449
+ 638 => ["pass_through", "$1"],
450
+ 514 => ["ported", "@builder.index($1, $3 || [])"],
451
+ 643 => ["ported", "@builder.string(@builder.join_strings($2))"],
452
+ 641 => ["pass_through", "$1"],
453
+ 642 => ["ported", "@builder.concat_strings($1, $2)"],
454
+ 666 => ["empty", "[]"], 667 => ["ported", "($1 + [$2]).freeze"],
455
+ 672 => ["pass_through", "$1"],
456
+ 345 => ["pass_through", "$1"],
457
+ 684 => ["pass_through", "$1"], 685 => ["pass_through", "$1"],
458
+ 686 => ["ported", "@builder.symbol($2)"],
459
+ 687 => ["pass_through", "$1"], 688 => ["pass_through", "$1"],
460
+ 253 => ["ported", "@builder.binary(:+, $1, $3)"],
461
+ 254 => ["ported", "@builder.binary(:-, $1, $3)"],
462
+ 255 => ["ported", "@builder.binary(:*, $1, $3)"],
463
+ 256 => ["ported", "@builder.binary(:/, $1, $3)"],
464
+ 257 => ["ported", "@builder.binary(:%, $1, $3)"],
465
+ 262 => ["ported", "@builder.binary(:\"|\", $1, $3)"],
466
+ 263 => ["ported", "@builder.binary(:\"^\", $1, $3)"],
467
+ 264 => ["ported", "@builder.binary(:\"&\", $1, $3)"],
468
+ 265 => ["ported", "@builder.binary(:\"<=>\", $1, $3)"],
469
+ 266 => ["pass_through", "$1"],
470
+ 267 => ["ported", "@builder.binary(:\"==\", $1, $3)"],
471
+ 268 => ["ported", "@builder.binary(:\"===\", $1, $3)"],
472
+ 269 => ["ported", "@builder.binary(:\"!=\", $1, $3)"],
473
+ 270 => ["ported", "@builder.binary(:\"=~\", $1, $3)"],
474
+ 271 => ["ported", "@builder.binary(:\"!~\", $1, $3)"],
475
+ 272 => ["ported", "@builder.unary(:\"!\", $2)"],
476
+ 273 => ["ported", "@builder.unary(:\"~\", $2)"],
477
+ 274 => ["ported", "@builder.binary(:\"<<\", $1, $3)"],
478
+ 275 => ["ported", "@builder.binary(:\">>\", $1, $3)"],
479
+ 276 => ["ported", "@builder.binary(:\"&&\", $1, $3)"],
480
+ 277 => ["ported", "@builder.binary(:\"||\", $1, $3)"],
481
+ 282 => ["pass_through", "$1"],
482
+ 288 => ["ported", "@builder.operator(\">\")"], 289 => ["ported", "@builder.operator(\"<\")"],
483
+ 290 => ["ported", "@builder.operator(\">=\")"], 291 => ["ported", "@builder.operator(\"<=\")"],
484
+ 292 => ["ported", "@builder.binary($2, $1, $3)"],
485
+ 293 => ["ported", "@builder.binary($2, $1, $3)"],
486
+ 260 => ["ported", "@builder.unary(:+, $2)"],
487
+ 261 => ["ported", "@builder.unary(:-, $2)"],
488
+ 283 => ["pass_through", "$1"], 294 => ["empty", "nil"],
489
+ 297 => ["pass_through", "$1"], 303 => ["pass_through", "$1"],
490
+ 339 => ["pass_through", "$1"],
491
+ 353 => ["ported", "@builder.parentheses($2, 353)"],
492
+ 354 => ["ported", "@builder.parentheses($2, 354)"],
493
+ 637 => ["pass_through", "$1"], 690 => ["pass_through", "$1"],
494
+ 691 => ["ported", "@builder.unary(:-, $2)"],
495
+ 692 => ["ported", "@builder.integer($1)"], 693 => ["ported", "@builder.float($1)"],
496
+ 640 => ["ported", "@builder.literal($1)"],
497
+ 617 => ["pass_through", "$1"], 618 => ["pass_through", "$1"],
498
+ 694 => ["ported", "@builder.literal($1)"],
499
+ 695 => ["ported", "@builder.literal($1)"],
500
+ 699 => ["ported", "@builder.identifier($1)"],
501
+ 700 => ["ported", "@builder.variable(:constant, $1)"],
502
+ 702 => ["ported", "@builder.literal(nil)"],
503
+ 703 => ["ported", "@builder.literal(:self)"],
504
+ 706 => ["ported", "@builder.literal(:__FILE__)"],
505
+ 707 => ["ported", "@builder.literal(:__LINE__)"],
506
+ 708 => ["ported", "@builder.literal(:__ENCODING__)"],
507
+ 713 => ["ported", "@builder.variable(:backref, $1)"],
508
+ 714 => ["ported", "@builder.variable(:backref, $1)"],
509
+ 348 => ["pass_through", "$1"],
510
+ 696 => ["ported", "@builder.variable(:instance, $1)"],
511
+ 697 => ["ported", "@builder.variable(:global, $1)"],
512
+ 698 => ["ported", "@builder.variable(:class, $1)"],
513
+ 701 => ["pass_through", "$1"],
514
+ 704 => ["ported", "@builder.literal(true)"], 705 => ["ported", "@builder.literal(false)"],
515
+ 709 => ["ported", "@builder.read_local($1)"], 710 => ["pass_through", "$1"],
516
+ 849 => ["empty", "nil"], 850 => ["empty", "nil"], 851 => ["empty", "nil"],
517
+ 852 => ["empty", "nil"], 853 => ["empty", "nil"],
518
+ 298 => ["pass_through", "$1"],
519
+ 299 => ["ported", "[].freeze"],
520
+ 300 => ["pass_through", "$1"],
521
+ 301 => ["ported", "($1 + $3).freeze"],
522
+ 302 => ["pass_through", "$1"],
523
+ 328 => ["ported", "[$1].freeze"],
524
+ 330 => ["ported", "@builder.append_arguments($1, $3)"],
525
+ 347 => ["pass_through", "$1"],
526
+ 357 => ["ported", "@builder.array($2)"],
527
+ 358 => ["ported", "@builder.hash($2)"],
528
+ 821 => ["ported", "[].freeze"],
529
+ 822 => ["pass_through", "$1"],
530
+ 823 => ["ported", "[$1].freeze"],
531
+ 824 => ["ported", "($1 + [$3]).freeze"],
532
+ 825 => ["ported", "@builder.pair($1, $3)"],
533
+ 826 => ["ported", "@builder.pair(@builder.symbol($1), $2)"],
534
+ 847 => ["pass_through", "nil"],
535
+ 848 => ["pass_through", "nil"],
536
+ 844 => ["pass_through", "nil"],
537
+ 845 => ["pass_through", "nil"],
538
+ 370 => ["ported", "@builder.if_node($2, $4, $5)"],
539
+ 371 => ["ported", "@builder.unless_node($2, $4, $5)"],
540
+ 399 => ["pass_through", "nil"], 400 => ["pass_through", "nil"],
541
+ 413 => ["pass_through", "nil"], 414 => ["pass_through", "nil"],
542
+ 415 => ["pass_through", "nil"],
543
+ 419 => ["pass_through", "nil"], 420 => ["pass_through", "nil"],
544
+ 421 => ["pass_through", "nil"],
545
+ 424 => ["pass_through", "$1"],
546
+ 425 => ["ported", "@builder.elsif_node($2, $4, $5)"],
547
+ 426 => ["empty", "nil"],
548
+ 445 => ["pass_through", "$1"],
549
+ 427 => ["pass_through", "$2"],
550
+ 17 => ["empty", "nil"], 18 => ["ported", "@builder.body_nodes($1)"],
551
+ 79 => ["pass_through", "$1"], 80 => ["pass_through", "$2"], 407 => ["empty", "nil"],
552
+ 388 => ["empty", "nil"],
553
+ 720 => ["empty", "nil"], 721 => ["pass_through", "$2"],
554
+ 722 => ["pass_through", "$1"], 723 => ["empty", "nil"], 724 => ["pass_through", "$2"],
555
+ 764 => ["empty", "[]"], 765 => ["pass_through", "$1"],
556
+ 389 => ["ported", "@builder.def_node($1, $2, @builder.body_nodes($4))"],
557
+ 629 => ["empty", "nil"], 636 => ["empty", "nil"],
558
+ 149 => ["pass_through", "$1"], 150 => ["pass_through", "$1"],
559
+ 151 => ["pass_through", "$2"], 152 => ["pass_through", "$1"], 153 => ["pass_through", "$3"],
560
+ 382 => ["empty", "nil"], 384 => ["empty", "nil"], 386 => ["empty", "nil"],
561
+ 383 => ["ported", "@builder.class_node($2, $3, $5)"],
562
+ 387 => ["ported", "@builder.module_node($2, $4)"],
563
+ 405 => ["empty", "nil"], 406 => ["empty", "nil"],
564
+ 408 => ["empty", "nil"], 410 => ["empty", "nil"], 411 => ["empty", "nil"],
565
+ 422 => ["pass_through", "$1"], 429 => ["pass_through", "$1"],
566
+ 430 => ["pass_through", "$1"],
567
+ 432 => ["pass_through", "$1"], 434 => ["pass_through", "$1"],
568
+ 437 => ["pass_through", "$1"], 440 => ["empty", "nil"],
569
+ 441 => ["pass_through", "$1"], 442 => ["pass_through", "$1"],
570
+ 443 => ["empty", "nil"], 446 => ["pass_through", "$1"],
571
+ 447 => ["pass_through", "$1"], 450 => ["empty", "nil"],
572
+ 454 => ["pass_through", "$1"], 455 => ["pass_through", "$1"],
573
+ 456 => ["empty", "nil"], 458 => ["pass_through", "$1"],
574
+ 461 => ["empty", "nil"], 474 => ["pass_through", "$1"],
575
+ 477 => ["pass_through", "$1"], 478 => ["pass_through", "$1"],
576
+ 479 => ["empty", "nil"],
577
+ 480 => ["pass_through", "$1"], 482 => ["empty", "nil"],
578
+ 483 => ["pass_through", "$1"], 484 => ["pass_through", "$1"],
579
+ 486 => ["pass_through", "$1"], 489 => ["pass_through", "$1"],
580
+ 490 => ["empty", "nil"], 491 => ["empty", "nil"], 492 => ["empty", "nil"],
581
+ 497 => ["pass_through", "$1"], 517 => ["empty", "nil"], 519 => ["empty", "nil"],
582
+ 528 => ["empty", "nil"], 529 => ["empty", "nil"], 530 => ["empty", "nil"],
583
+ 531 => ["empty", "nil"], 533 => ["pass_through", "$1"], 534 => ["pass_through", "$1"],
584
+ 535 => ["pass_through", "$1"], 538 => ["pass_through", "$1"],
585
+ 541 => ["pass_through", "$1"], 542 => ["pass_through", "$1"],
586
+ 543 => ["pass_through", "$1"], 544 => ["pass_through", "$1"],
587
+ 546 => ["pass_through", "$1"], 547 => ["empty", "nil"],
588
+ 549 => ["pass_through", "$1"], 552 => ["pass_through", "$1"],
589
+ 553 => ["pass_through", "$1"], 565 => ["empty", "nil"],
590
+ 569 => ["pass_through", "$1"], 570 => ["pass_through", "$1"],
591
+ 574 => ["pass_through", "$1"], 577 => ["pass_through", "$1"],
592
+ 581 => ["empty", "nil"],
593
+ 582 => ["pass_through", "$1"], 584 => ["pass_through", "$1"],
594
+ 586 => ["pass_through", "$1"], 588 => ["pass_through", "$1"],
595
+ 589 => ["pass_through", "$1"], 592 => ["pass_through", "$1"],
596
+ 593 => ["pass_through", "$1"], 596 => ["empty", "nil"],
597
+ 598 => ["pass_through", "$1"], 599 => ["pass_through", "$1"],
598
+ 600 => ["pass_through", "$1"], 607 => ["pass_through", "$1"],
599
+ 608 => ["pass_through", "$1"], 609 => ["pass_through", "$1"],
600
+ 610 => ["pass_through", "$1"],
601
+ 619 => ["pass_through", "$1"], 627 => ["pass_through", "$1"],
602
+ 664 => ["empty", "nil"], 673 => ["empty", "nil"], 675 => ["empty", "nil"],
603
+ 676 => ["empty", "nil"], 677 => ["empty", "nil"], 678 => ["empty", "nil"],
604
+ 680 => ["empty", "nil"], 681 => ["empty", "nil"], 682 => ["pass_through", "$1"],
605
+ 683 => ["pass_through", "$1"], 711 => ["pass_through", "$1"],
606
+ 712 => ["pass_through", "$1"], 715 => ["empty", "nil"],
607
+ 718 => ["pass_through", "$1"], 719 => ["empty", "nil"],
608
+ 726 => ["pass_through", "$1"], 727 => ["pass_through", "$1"],
609
+ 730 => ["pass_through", "$1"], 734 => ["pass_through", "$1"],
610
+ 735 => ["pass_through", "$1"], 736 => ["pass_through", "$1"],
611
+ 740 => ["pass_through", "$1"], 741 => ["pass_through", "$1"],
612
+ 742 => ["pass_through", "$1"],
613
+ 744 => ["pass_through", "$1"], 747 => ["pass_through", "$1"],
614
+ 760 => ["pass_through", "$1"], 762 => ["pass_through", "$1"],
615
+ 763 => ["pass_through", "$1"], 767 => ["empty", "nil"],
616
+ 780 => ["pass_through", "$1"], 782 => ["pass_through", "$1"],
617
+ 783 => ["pass_through", "$1"], 784 => ["empty", "nil"],
618
+ 786 => ["empty", "nil"], 787 => ["pass_through", "$1"],
619
+ 791 => ["pass_through", "$1"],
620
+ 793 => ["pass_through", "$1"], 794 => ["pass_through", "$1"],
621
+ 796 => ["pass_through", "$1"], 798 => ["pass_through", "$1"],
622
+ 799 => ["empty", "nil"], 800 => ["empty", "nil"], 801 => ["pass_through", "$1"],
623
+ 803 => ["pass_through", "$1"], 804 => ["empty", "nil"], 805 => ["empty", "nil"],
624
+ 807 => ["empty", "[]"], 808 => ["empty", "nil"], 809 => ["empty", "nil"],
625
+ 812 => ["pass_through", "$1"], 813 => ["empty", "nil"], 814 => ["pass_through", "$1"],
626
+ 815 => ["pass_through", "$1"], 816 => ["pass_through", "$1"], 817 => ["pass_through", "$1"],
627
+ 818 => ["pass_through", "$1"],
628
+ 819 => ["empty", "nil"], 827 => ["pass_through", "$1"], 830 => ["empty", "nil"],
629
+ 832 => ["pass_through", "$1"], 833 => ["pass_through", "$1"], 834 => ["pass_through", "$1"],
630
+ 836 => ["pass_through", "$1"], 837 => ["pass_through", "$1"],
631
+ 838 => ["ported", "@builder.operator(\".\")"], 839 => ["ported", "@builder.operator(\"::\")"],
632
+ 840 => ["ported", "@builder.operator(\".\")"], 841 => ["ported", "@builder.operator(\"&.\")"],
633
+ 842 => ["pass_through", "$1"], 843 => ["ported", "@builder.operator(\"::\")"],
634
+ 398 => ["empty", "nil"],
635
+ 10 => ["pass_through", "$2"], 12 => ["pass_through", "$2"],
636
+ 24 => ["pass_through", "$3"], 26 => ["pass_through", "$1"],
637
+ 28 => ["pass_through", "$2"], 29 => ["pass_through", "$2"],
638
+ 30 => ["pass_through", "$2"], 31 => ["pass_through", "$2"],
639
+ 32 => ["pass_through", "$2"], 38 => ["pass_through", "$3"],
640
+ 40 => ["pass_through", "$1"], 41 => ["pass_through", "$1"],
641
+ 44 => ["pass_through", "$1"], 47 => ["pass_through", "$1"],
642
+ 49 => ["pass_through", "$1"], 50 => ["pass_through", "$1"],
643
+ 51 => ["pass_through", "$1"], 52 => ["pass_through", "$1"],
644
+ 53 => ["pass_through", "$1"], 54 => ["pass_through", "$1"],
645
+ 55 => ["pass_through", "$2"],
646
+ 56 => ["pass_through", "$1"], 58 => ["pass_through", "$1"],
647
+ 59 => ["pass_through", "$1"], 62 => ["pass_through", "$1"],
648
+ 65 => ["pass_through", "$3"], 67 => ["pass_through", "$1"],
649
+ 73 => ["ported", "@builder.unary(:\"!\", $2)"],
650
+ 716 => ["pass_through", "$3"], 717 => ["empty", "nil"],
651
+ 493 => ["empty", "nil"], 494 => ["empty", "nil"],
652
+ 495 => ["ported", "@builder.lambda_node($7, $8)"],
653
+ 498 => ["pass_through", "$2"], 499 => ["empty", "nil"], 500 => ["pass_through", "$3"],
654
+ 369 => ["pass_through", "$1"], 620 => ["pass_through", "$1"]
655
+ }.freeze
656
+ end