sorbet-result 1.0.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/.standard.yml +6 -0
  4. data/.tool-versions +1 -1
  5. data/CHANGELOG.md +21 -0
  6. data/Gemfile +3 -5
  7. data/Gemfile.lock +79 -64
  8. data/README.md +25 -2
  9. data/Rakefile +3 -5
  10. data/lib/minitest/result_assertions.rb +48 -0
  11. data/lib/sorbet-result.rb +1 -5
  12. data/lib/typed/result.rb +199 -7
  13. data/sorbet/rbi/gems/.gitattributes +1 -0
  14. data/sorbet/rbi/gems/ast@2.4.2.rbi +1 -0
  15. data/sorbet/rbi/gems/erubi@1.13.0.rbi +150 -0
  16. data/sorbet/rbi/gems/{io-console@0.6.0.rbi → io-console@0.7.2.rbi} +1 -0
  17. data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.7.5.rbi} +168 -72
  18. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14238 -0
  19. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +240 -0
  20. data/sorbet/rbi/gems/{minitest@5.18.1.rbi → minitest@5.25.1.rbi} +337 -282
  21. data/sorbet/rbi/gems/netrc@0.11.0.rbi +1 -0
  22. data/sorbet/rbi/gems/{parallel@1.23.0.rbi → parallel@1.26.3.rbi} +38 -20
  23. data/sorbet/rbi/gems/{parser@3.2.2.3.rbi → parser@3.3.5.1.rbi} +663 -2397
  24. data/sorbet/rbi/gems/prism@1.2.0.rbi +39085 -0
  25. data/sorbet/rbi/gems/psych@5.1.2.rbi +1732 -0
  26. data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.8.1.rbi} +37 -36
  27. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +1 -0
  28. data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.2.1.rbi} +79 -75
  29. data/sorbet/rbi/gems/rbi@0.2.1.rbi +4535 -0
  30. data/sorbet/rbi/gems/{regexp_parser@2.8.1.rbi → regexp_parser@2.9.2.rbi} +190 -167
  31. data/sorbet/rbi/gems/{reline@0.3.5.rbi → reline@0.5.10.rbi} +1 -0
  32. data/sorbet/rbi/gems/{rubocop-ast@1.29.0.rbi → rubocop-ast@1.33.1.rbi} +1220 -748
  33. data/sorbet/rbi/gems/rubocop-performance@1.22.1.rbi +9 -0
  34. data/sorbet/rbi/gems/rubocop-sorbet@0.7.8.rbi +9 -0
  35. data/sorbet/rbi/gems/{rubocop@1.52.1.rbi → rubocop@1.66.1.rbi} +6236 -3446
  36. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1 -0
  37. data/sorbet/rbi/gems/spoom@1.5.0.rbi +4932 -0
  38. data/sorbet/rbi/gems/standard-custom@1.0.2.rbi +9 -0
  39. data/sorbet/rbi/gems/standard-performance@1.5.0.rbi +9 -0
  40. data/sorbet/rbi/gems/standard-sorbet@0.0.2.rbi +53 -0
  41. data/sorbet/rbi/gems/standard@1.41.1.rbi +926 -0
  42. data/sorbet/rbi/gems/stringio@3.1.1.rbi +9 -0
  43. data/sorbet/rbi/gems/{tapioca@0.11.6.rbi → tapioca@0.16.3.rbi} +937 -635
  44. data/sorbet/rbi/gems/{thor@1.2.2.rbi → thor@1.3.2.rbi} +832 -419
  45. data/sorbet/rbi/gems/{unicode-display_width@2.4.2.rbi → unicode-display_width@2.6.0.rbi} +1 -0
  46. data/sorbet/rbi/gems/{yard-sorbet@0.8.1.rbi → yard-sorbet@0.9.0.rbi} +36 -29
  47. data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.37.rbi} +431 -271
  48. data/sorbet/tapioca/config.yml +3 -12
  49. data/sorbet/tapioca/require.rb +0 -1
  50. metadata +37 -47
  51. data/.rubocop.yml +0 -33
  52. data/lib/typed/failure.rb +0 -81
  53. data/lib/typed/success.rb +0 -80
  54. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -1083
  55. data/sorbet/rbi/gems/irb@1.7.0.rbi +0 -342
  56. data/sorbet/rbi/gems/rbi@0.0.16.rbi +0 -3008
  57. data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -4717
  58. data/sorbet/rbi/gems/rubocop-minitest@0.31.0.rbi +0 -2528
  59. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -328
  60. data/sorbet/rbi/gems/rubocop-sorbet@0.7.0.rbi +0 -1043
  61. data/sorbet/rbi/gems/spoom@1.2.1.rbi +0 -2503
  62. data/sorbet/rbi/gems/unparser@0.6.8.rbi +0 -4525
  63. data/sorbet/rbi/gems/zeitwerk@2.6.8.rbi +0 -986
@@ -4,17 +4,11 @@
4
4
  # This is an autogenerated file for types exported from the `parser` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem parser`.
6
6
 
7
+
7
8
  # @api public
8
9
  #
9
10
  # source://parser//lib/parser.rb#19
10
- module Parser
11
- class << self
12
- private
13
-
14
- # source://parser//lib/parser/current.rb#5
15
- def warn_syntax_deviation(feature, version); end
16
- end
17
- end
11
+ module Parser; end
18
12
 
19
13
  # @api public
20
14
  #
@@ -59,603 +53,605 @@ end
59
53
  # @api public
60
54
  #
61
55
  # source://parser//lib/parser/ast/processor.rb#9
62
- class Parser::AST::Processor < ::AST::Processor
56
+ class Parser::AST::Processor
57
+ include ::AST::Processor::Mixin
58
+
63
59
  # @api public
64
60
  #
65
- # source://parser//lib/parser/ast/processor.rb#10
61
+ # source://parser//lib/parser/ast/processor.rb#12
66
62
  def on_alias(node); end
67
63
 
68
64
  # @api public
69
65
  #
70
- # source://parser//lib/parser/ast/processor.rb#10
66
+ # source://parser//lib/parser/ast/processor.rb#12
71
67
  def on_and(node); end
72
68
 
73
69
  # @api public
74
70
  #
75
- # source://parser//lib/parser/ast/processor.rb#10
71
+ # source://parser//lib/parser/ast/processor.rb#12
76
72
  def on_and_asgn(node); end
77
73
 
78
74
  # @api public
79
75
  # @private
80
76
  #
81
- # source://parser//lib/parser/ast/processor.rb#116
77
+ # source://parser//lib/parser/ast/processor.rb#118
82
78
  def on_arg(node); end
83
79
 
84
80
  # @api public
85
81
  #
86
- # source://parser//lib/parser/ast/processor.rb#10
82
+ # source://parser//lib/parser/ast/processor.rb#12
87
83
  def on_arg_expr(node); end
88
84
 
89
85
  # @api public
90
86
  #
91
- # source://parser//lib/parser/ast/processor.rb#10
87
+ # source://parser//lib/parser/ast/processor.rb#12
92
88
  def on_args(node); end
93
89
 
94
90
  # @api public
95
91
  #
96
- # source://parser//lib/parser/ast/processor.rb#103
92
+ # source://parser//lib/parser/ast/processor.rb#105
97
93
  def on_argument(node); end
98
94
 
99
95
  # @api public
100
96
  #
101
- # source://parser//lib/parser/ast/processor.rb#10
97
+ # source://parser//lib/parser/ast/processor.rb#12
102
98
  def on_array(node); end
103
99
 
104
100
  # @api public
105
101
  #
106
- # source://parser//lib/parser/ast/processor.rb#10
102
+ # source://parser//lib/parser/ast/processor.rb#12
107
103
  def on_array_pattern(node); end
108
104
 
109
105
  # @api public
110
106
  #
111
- # source://parser//lib/parser/ast/processor.rb#10
107
+ # source://parser//lib/parser/ast/processor.rb#12
112
108
  def on_array_pattern_with_tail(node); end
113
109
 
114
110
  # @api public
115
111
  # @private
116
112
  #
117
- # source://parser//lib/parser/ast/processor.rb#32
113
+ # source://parser//lib/parser/ast/processor.rb#34
118
114
  def on_back_ref(node); end
119
115
 
120
116
  # @api public
121
117
  #
122
- # source://parser//lib/parser/ast/processor.rb#10
118
+ # source://parser//lib/parser/ast/processor.rb#12
123
119
  def on_begin(node); end
124
120
 
125
121
  # @api public
126
122
  #
127
- # source://parser//lib/parser/ast/processor.rb#10
123
+ # source://parser//lib/parser/ast/processor.rb#12
128
124
  def on_block(node); end
129
125
 
130
126
  # @api public
131
127
  #
132
- # source://parser//lib/parser/ast/processor.rb#10
128
+ # source://parser//lib/parser/ast/processor.rb#12
133
129
  def on_block_pass(node); end
134
130
 
135
131
  # @api public
136
132
  # @private
137
133
  #
138
- # source://parser//lib/parser/ast/processor.rb#116
134
+ # source://parser//lib/parser/ast/processor.rb#118
139
135
  def on_blockarg(node); end
140
136
 
141
137
  # @api public
142
138
  #
143
- # source://parser//lib/parser/ast/processor.rb#10
139
+ # source://parser//lib/parser/ast/processor.rb#12
144
140
  def on_blockarg_expr(node); end
145
141
 
146
142
  # @api public
147
143
  #
148
- # source://parser//lib/parser/ast/processor.rb#10
144
+ # source://parser//lib/parser/ast/processor.rb#12
149
145
  def on_break(node); end
150
146
 
151
147
  # @api public
152
148
  #
153
- # source://parser//lib/parser/ast/processor.rb#10
149
+ # source://parser//lib/parser/ast/processor.rb#12
154
150
  def on_case(node); end
155
151
 
156
152
  # @api public
157
153
  #
158
- # source://parser//lib/parser/ast/processor.rb#10
154
+ # source://parser//lib/parser/ast/processor.rb#12
159
155
  def on_case_match(node); end
160
156
 
161
157
  # @api public
162
158
  #
163
- # source://parser//lib/parser/ast/processor.rb#87
159
+ # source://parser//lib/parser/ast/processor.rb#89
164
160
  def on_casgn(node); end
165
161
 
166
162
  # @api public
167
163
  #
168
- # source://parser//lib/parser/ast/processor.rb#10
164
+ # source://parser//lib/parser/ast/processor.rb#12
169
165
  def on_class(node); end
170
166
 
171
167
  # @api public
172
168
  #
173
- # source://parser//lib/parser/ast/processor.rb#79
169
+ # source://parser//lib/parser/ast/processor.rb#81
174
170
  def on_const(node); end
175
171
 
176
172
  # @api public
177
173
  #
178
- # source://parser//lib/parser/ast/processor.rb#10
174
+ # source://parser//lib/parser/ast/processor.rb#12
179
175
  def on_const_pattern(node); end
180
176
 
181
177
  # @api public
182
178
  #
183
- # source://parser//lib/parser/ast/processor.rb#179
179
+ # source://parser//lib/parser/ast/processor.rb#181
184
180
  def on_csend(node); end
185
181
 
186
182
  # @api public
187
183
  # @private
188
184
  #
189
- # source://parser//lib/parser/ast/processor.rb#32
185
+ # source://parser//lib/parser/ast/processor.rb#34
190
186
  def on_cvar(node); end
191
187
 
192
188
  # @api public
193
189
  # @private
194
190
  #
195
- # source://parser//lib/parser/ast/processor.rb#56
191
+ # source://parser//lib/parser/ast/processor.rb#58
196
192
  def on_cvasgn(node); end
197
193
 
198
194
  # @api public
199
195
  #
200
- # source://parser//lib/parser/ast/processor.rb#158
196
+ # source://parser//lib/parser/ast/processor.rb#160
201
197
  def on_def(node); end
202
198
 
203
199
  # @api public
204
200
  #
205
- # source://parser//lib/parser/ast/processor.rb#10
201
+ # source://parser//lib/parser/ast/processor.rb#12
206
202
  def on_defined?(node); end
207
203
 
208
204
  # @api public
209
205
  #
210
- # source://parser//lib/parser/ast/processor.rb#167
206
+ # source://parser//lib/parser/ast/processor.rb#169
211
207
  def on_defs(node); end
212
208
 
213
209
  # @api public
214
210
  #
215
- # source://parser//lib/parser/ast/processor.rb#10
211
+ # source://parser//lib/parser/ast/processor.rb#12
216
212
  def on_dstr(node); end
217
213
 
218
214
  # @api public
219
215
  #
220
- # source://parser//lib/parser/ast/processor.rb#10
216
+ # source://parser//lib/parser/ast/processor.rb#12
221
217
  def on_dsym(node); end
222
218
 
223
219
  # @api public
224
220
  #
225
- # source://parser//lib/parser/ast/processor.rb#10
221
+ # source://parser//lib/parser/ast/processor.rb#12
226
222
  def on_eflipflop(node); end
227
223
 
228
224
  # @api public
229
225
  #
230
- # source://parser//lib/parser/ast/processor.rb#286
226
+ # source://parser//lib/parser/ast/processor.rb#288
231
227
  def on_empty_else(node); end
232
228
 
233
229
  # @api public
234
230
  #
235
- # source://parser//lib/parser/ast/processor.rb#10
231
+ # source://parser//lib/parser/ast/processor.rb#12
236
232
  def on_ensure(node); end
237
233
 
238
234
  # @api public
239
235
  #
240
- # source://parser//lib/parser/ast/processor.rb#10
236
+ # source://parser//lib/parser/ast/processor.rb#12
241
237
  def on_erange(node); end
242
238
 
243
239
  # @api public
244
240
  #
245
- # source://parser//lib/parser/ast/processor.rb#10
241
+ # source://parser//lib/parser/ast/processor.rb#12
246
242
  def on_find_pattern(node); end
247
243
 
248
244
  # @api public
249
245
  #
250
- # source://parser//lib/parser/ast/processor.rb#10
246
+ # source://parser//lib/parser/ast/processor.rb#12
251
247
  def on_for(node); end
252
248
 
253
249
  # @api public
254
250
  # @private
255
251
  #
256
- # source://parser//lib/parser/ast/processor.rb#116
252
+ # source://parser//lib/parser/ast/processor.rb#118
257
253
  def on_forward_arg(node); end
258
254
 
259
255
  # @api public
260
256
  #
261
- # source://parser//lib/parser/ast/processor.rb#10
257
+ # source://parser//lib/parser/ast/processor.rb#12
262
258
  def on_forwarded_kwrestarg(node); end
263
259
 
264
260
  # @api public
265
261
  #
266
- # source://parser//lib/parser/ast/processor.rb#10
262
+ # source://parser//lib/parser/ast/processor.rb#12
267
263
  def on_forwarded_restarg(node); end
268
264
 
269
265
  # @api public
270
266
  # @private
271
267
  #
272
- # source://parser//lib/parser/ast/processor.rb#32
268
+ # source://parser//lib/parser/ast/processor.rb#34
273
269
  def on_gvar(node); end
274
270
 
275
271
  # @api public
276
272
  # @private
277
273
  #
278
- # source://parser//lib/parser/ast/processor.rb#56
274
+ # source://parser//lib/parser/ast/processor.rb#58
279
275
  def on_gvasgn(node); end
280
276
 
281
277
  # @api public
282
278
  #
283
- # source://parser//lib/parser/ast/processor.rb#10
279
+ # source://parser//lib/parser/ast/processor.rb#12
284
280
  def on_hash(node); end
285
281
 
286
282
  # @api public
287
283
  #
288
- # source://parser//lib/parser/ast/processor.rb#10
284
+ # source://parser//lib/parser/ast/processor.rb#12
289
285
  def on_hash_pattern(node); end
290
286
 
291
287
  # @api public
292
288
  #
293
- # source://parser//lib/parser/ast/processor.rb#10
289
+ # source://parser//lib/parser/ast/processor.rb#12
294
290
  def on_if(node); end
295
291
 
296
292
  # @api public
297
293
  #
298
- # source://parser//lib/parser/ast/processor.rb#10
294
+ # source://parser//lib/parser/ast/processor.rb#12
299
295
  def on_if_guard(node); end
300
296
 
301
297
  # @api public
302
298
  #
303
- # source://parser//lib/parser/ast/processor.rb#10
299
+ # source://parser//lib/parser/ast/processor.rb#12
304
300
  def on_iflipflop(node); end
305
301
 
306
302
  # @api public
307
303
  #
308
- # source://parser//lib/parser/ast/processor.rb#10
304
+ # source://parser//lib/parser/ast/processor.rb#12
309
305
  def on_in_match(node); end
310
306
 
311
307
  # @api public
312
308
  #
313
- # source://parser//lib/parser/ast/processor.rb#10
309
+ # source://parser//lib/parser/ast/processor.rb#12
314
310
  def on_in_pattern(node); end
315
311
 
316
312
  # @api public
317
313
  #
318
- # source://parser//lib/parser/ast/processor.rb#10
314
+ # source://parser//lib/parser/ast/processor.rb#12
319
315
  def on_index(node); end
320
316
 
321
317
  # @api public
322
318
  #
323
- # source://parser//lib/parser/ast/processor.rb#10
319
+ # source://parser//lib/parser/ast/processor.rb#12
324
320
  def on_indexasgn(node); end
325
321
 
326
322
  # @api public
327
323
  #
328
- # source://parser//lib/parser/ast/processor.rb#10
324
+ # source://parser//lib/parser/ast/processor.rb#12
329
325
  def on_irange(node); end
330
326
 
331
327
  # @api public
332
328
  # @private
333
329
  #
334
- # source://parser//lib/parser/ast/processor.rb#32
330
+ # source://parser//lib/parser/ast/processor.rb#34
335
331
  def on_ivar(node); end
336
332
 
337
333
  # @api public
338
334
  # @private
339
335
  #
340
- # source://parser//lib/parser/ast/processor.rb#56
336
+ # source://parser//lib/parser/ast/processor.rb#58
341
337
  def on_ivasgn(node); end
342
338
 
343
339
  # @api public
344
340
  # @private
345
341
  #
346
- # source://parser//lib/parser/ast/processor.rb#116
342
+ # source://parser//lib/parser/ast/processor.rb#118
347
343
  def on_kwarg(node); end
348
344
 
349
345
  # @api public
350
346
  #
351
- # source://parser//lib/parser/ast/processor.rb#10
347
+ # source://parser//lib/parser/ast/processor.rb#12
352
348
  def on_kwargs(node); end
353
349
 
354
350
  # @api public
355
351
  #
356
- # source://parser//lib/parser/ast/processor.rb#10
352
+ # source://parser//lib/parser/ast/processor.rb#12
357
353
  def on_kwbegin(node); end
358
354
 
359
355
  # @api public
360
356
  # @private
361
357
  #
362
- # source://parser//lib/parser/ast/processor.rb#116
358
+ # source://parser//lib/parser/ast/processor.rb#118
363
359
  def on_kwoptarg(node); end
364
360
 
365
361
  # @api public
366
362
  # @private
367
363
  #
368
- # source://parser//lib/parser/ast/processor.rb#116
364
+ # source://parser//lib/parser/ast/processor.rb#118
369
365
  def on_kwrestarg(node); end
370
366
 
371
367
  # @api public
372
368
  #
373
- # source://parser//lib/parser/ast/processor.rb#10
369
+ # source://parser//lib/parser/ast/processor.rb#12
374
370
  def on_kwsplat(node); end
375
371
 
376
372
  # @api public
377
373
  #
378
- # source://parser//lib/parser/ast/processor.rb#10
374
+ # source://parser//lib/parser/ast/processor.rb#12
379
375
  def on_lambda(node); end
380
376
 
381
377
  # @api public
382
378
  # @private
383
379
  #
384
- # source://parser//lib/parser/ast/processor.rb#32
380
+ # source://parser//lib/parser/ast/processor.rb#34
385
381
  def on_lvar(node); end
386
382
 
387
383
  # @api public
388
384
  # @private
389
385
  #
390
- # source://parser//lib/parser/ast/processor.rb#56
386
+ # source://parser//lib/parser/ast/processor.rb#58
391
387
  def on_lvasgn(node); end
392
388
 
393
389
  # @api public
394
390
  #
395
- # source://parser//lib/parser/ast/processor.rb#10
391
+ # source://parser//lib/parser/ast/processor.rb#12
396
392
  def on_masgn(node); end
397
393
 
398
394
  # @api public
399
395
  #
400
- # source://parser//lib/parser/ast/processor.rb#10
396
+ # source://parser//lib/parser/ast/processor.rb#12
401
397
  def on_match_alt(node); end
402
398
 
403
399
  # @api public
404
400
  #
405
- # source://parser//lib/parser/ast/processor.rb#10
401
+ # source://parser//lib/parser/ast/processor.rb#12
406
402
  def on_match_as(node); end
407
403
 
408
404
  # @api public
409
405
  #
410
- # source://parser//lib/parser/ast/processor.rb#10
406
+ # source://parser//lib/parser/ast/processor.rb#12
411
407
  def on_match_current_line(node); end
412
408
 
413
409
  # @api public
414
410
  #
415
- # source://parser//lib/parser/ast/processor.rb#10
411
+ # source://parser//lib/parser/ast/processor.rb#12
416
412
  def on_match_pattern(node); end
417
413
 
418
414
  # @api public
419
415
  #
420
- # source://parser//lib/parser/ast/processor.rb#10
416
+ # source://parser//lib/parser/ast/processor.rb#12
421
417
  def on_match_pattern_p(node); end
422
418
 
423
419
  # @api public
424
420
  #
425
- # source://parser//lib/parser/ast/processor.rb#10
421
+ # source://parser//lib/parser/ast/processor.rb#12
426
422
  def on_match_rest(node); end
427
423
 
428
424
  # @api public
429
425
  # @private
430
426
  #
431
- # source://parser//lib/parser/ast/processor.rb#32
427
+ # source://parser//lib/parser/ast/processor.rb#34
432
428
  def on_match_var(node); end
433
429
 
434
430
  # @api public
435
431
  #
436
- # source://parser//lib/parser/ast/processor.rb#10
432
+ # source://parser//lib/parser/ast/processor.rb#12
437
433
  def on_match_with_lvasgn(node); end
438
434
 
439
435
  # @api public
440
436
  #
441
- # source://parser//lib/parser/ast/processor.rb#10
437
+ # source://parser//lib/parser/ast/processor.rb#12
442
438
  def on_mlhs(node); end
443
439
 
444
440
  # @api public
445
441
  #
446
- # source://parser//lib/parser/ast/processor.rb#10
442
+ # source://parser//lib/parser/ast/processor.rb#12
447
443
  def on_module(node); end
448
444
 
449
445
  # @api public
450
446
  #
451
- # source://parser//lib/parser/ast/processor.rb#10
447
+ # source://parser//lib/parser/ast/processor.rb#12
452
448
  def on_next(node); end
453
449
 
454
450
  # @api public
455
451
  #
456
- # source://parser//lib/parser/ast/processor.rb#10
452
+ # source://parser//lib/parser/ast/processor.rb#12
457
453
  def on_not(node); end
458
454
 
459
455
  # @api public
460
456
  # @private
461
457
  #
462
- # source://parser//lib/parser/ast/processor.rb#32
458
+ # source://parser//lib/parser/ast/processor.rb#34
463
459
  def on_nth_ref(node); end
464
460
 
465
461
  # @api public
466
462
  #
467
- # source://parser//lib/parser/ast/processor.rb#196
463
+ # source://parser//lib/parser/ast/processor.rb#198
468
464
  def on_numblock(node); end
469
465
 
470
466
  # @api public
471
467
  #
472
- # source://parser//lib/parser/ast/processor.rb#68
468
+ # source://parser//lib/parser/ast/processor.rb#70
473
469
  def on_op_asgn(node); end
474
470
 
475
471
  # @api public
476
472
  # @private
477
473
  #
478
- # source://parser//lib/parser/ast/processor.rb#116
474
+ # source://parser//lib/parser/ast/processor.rb#118
479
475
  def on_optarg(node); end
480
476
 
481
477
  # @api public
482
478
  #
483
- # source://parser//lib/parser/ast/processor.rb#10
479
+ # source://parser//lib/parser/ast/processor.rb#12
484
480
  def on_or(node); end
485
481
 
486
482
  # @api public
487
483
  #
488
- # source://parser//lib/parser/ast/processor.rb#10
484
+ # source://parser//lib/parser/ast/processor.rb#12
489
485
  def on_or_asgn(node); end
490
486
 
491
487
  # @api public
492
488
  #
493
- # source://parser//lib/parser/ast/processor.rb#10
489
+ # source://parser//lib/parser/ast/processor.rb#12
494
490
  def on_pair(node); end
495
491
 
496
492
  # @api public
497
493
  #
498
- # source://parser//lib/parser/ast/processor.rb#10
494
+ # source://parser//lib/parser/ast/processor.rb#12
499
495
  def on_pin(node); end
500
496
 
501
497
  # @api public
502
498
  #
503
- # source://parser//lib/parser/ast/processor.rb#10
499
+ # source://parser//lib/parser/ast/processor.rb#12
504
500
  def on_postexe(node); end
505
501
 
506
502
  # @api public
507
503
  #
508
- # source://parser//lib/parser/ast/processor.rb#10
504
+ # source://parser//lib/parser/ast/processor.rb#12
509
505
  def on_preexe(node); end
510
506
 
511
507
  # @api public
512
508
  #
513
- # source://parser//lib/parser/ast/processor.rb#130
509
+ # source://parser//lib/parser/ast/processor.rb#132
514
510
  def on_procarg0(node); end
515
511
 
516
512
  # @api public
517
513
  #
518
- # source://parser//lib/parser/ast/processor.rb#10
514
+ # source://parser//lib/parser/ast/processor.rb#12
519
515
  def on_redo(node); end
520
516
 
521
517
  # @api public
522
518
  #
523
- # source://parser//lib/parser/ast/processor.rb#10
519
+ # source://parser//lib/parser/ast/processor.rb#12
524
520
  def on_regexp(node); end
525
521
 
526
522
  # @api public
527
523
  #
528
- # source://parser//lib/parser/ast/processor.rb#10
524
+ # source://parser//lib/parser/ast/processor.rb#12
529
525
  def on_resbody(node); end
530
526
 
531
527
  # @api public
532
528
  #
533
- # source://parser//lib/parser/ast/processor.rb#10
529
+ # source://parser//lib/parser/ast/processor.rb#12
534
530
  def on_rescue(node); end
535
531
 
536
532
  # @api public
537
533
  # @private
538
534
  #
539
- # source://parser//lib/parser/ast/processor.rb#116
535
+ # source://parser//lib/parser/ast/processor.rb#118
540
536
  def on_restarg(node); end
541
537
 
542
538
  # @api public
543
539
  #
544
- # source://parser//lib/parser/ast/processor.rb#10
540
+ # source://parser//lib/parser/ast/processor.rb#12
545
541
  def on_restarg_expr(node); end
546
542
 
547
543
  # @api public
548
544
  #
549
- # source://parser//lib/parser/ast/processor.rb#10
545
+ # source://parser//lib/parser/ast/processor.rb#12
550
546
  def on_retry(node); end
551
547
 
552
548
  # @api public
553
549
  #
554
- # source://parser//lib/parser/ast/processor.rb#10
550
+ # source://parser//lib/parser/ast/processor.rb#12
555
551
  def on_return(node); end
556
552
 
557
553
  # @api public
558
554
  #
559
- # source://parser//lib/parser/ast/processor.rb#10
555
+ # source://parser//lib/parser/ast/processor.rb#12
560
556
  def on_sclass(node); end
561
557
 
562
558
  # @api public
563
559
  #
564
- # source://parser//lib/parser/ast/processor.rb#179
560
+ # source://parser//lib/parser/ast/processor.rb#181
565
561
  def on_send(node); end
566
562
 
567
563
  # @api public
568
564
  # @private
569
565
  #
570
- # source://parser//lib/parser/ast/processor.rb#116
566
+ # source://parser//lib/parser/ast/processor.rb#118
571
567
  def on_shadowarg(node); end
572
568
 
573
569
  # @api public
574
570
  #
575
- # source://parser//lib/parser/ast/processor.rb#10
571
+ # source://parser//lib/parser/ast/processor.rb#12
576
572
  def on_splat(node); end
577
573
 
578
574
  # @api public
579
575
  #
580
- # source://parser//lib/parser/ast/processor.rb#10
576
+ # source://parser//lib/parser/ast/processor.rb#12
581
577
  def on_super(node); end
582
578
 
583
579
  # @api public
584
580
  #
585
- # source://parser//lib/parser/ast/processor.rb#10
581
+ # source://parser//lib/parser/ast/processor.rb#12
586
582
  def on_undef(node); end
587
583
 
588
584
  # @api public
589
585
  #
590
- # source://parser//lib/parser/ast/processor.rb#10
586
+ # source://parser//lib/parser/ast/processor.rb#12
591
587
  def on_unless_guard(node); end
592
588
 
593
589
  # @api public
594
590
  #
595
- # source://parser//lib/parser/ast/processor.rb#10
591
+ # source://parser//lib/parser/ast/processor.rb#12
596
592
  def on_until(node); end
597
593
 
598
594
  # @api public
599
595
  #
600
- # source://parser//lib/parser/ast/processor.rb#10
596
+ # source://parser//lib/parser/ast/processor.rb#12
601
597
  def on_until_post(node); end
602
598
 
603
599
  # @api public
604
600
  #
605
- # source://parser//lib/parser/ast/processor.rb#27
601
+ # source://parser//lib/parser/ast/processor.rb#29
606
602
  def on_var(node); end
607
603
 
608
604
  # @api public
609
605
  #
610
- # source://parser//lib/parser/ast/processor.rb#43
606
+ # source://parser//lib/parser/ast/processor.rb#45
611
607
  def on_vasgn(node); end
612
608
 
613
609
  # @api public
614
610
  #
615
- # source://parser//lib/parser/ast/processor.rb#10
611
+ # source://parser//lib/parser/ast/processor.rb#12
616
612
  def on_when(node); end
617
613
 
618
614
  # @api public
619
615
  #
620
- # source://parser//lib/parser/ast/processor.rb#10
616
+ # source://parser//lib/parser/ast/processor.rb#12
621
617
  def on_while(node); end
622
618
 
623
619
  # @api public
624
620
  #
625
- # source://parser//lib/parser/ast/processor.rb#10
621
+ # source://parser//lib/parser/ast/processor.rb#12
626
622
  def on_while_post(node); end
627
623
 
628
624
  # @api public
629
625
  #
630
- # source://parser//lib/parser/ast/processor.rb#10
626
+ # source://parser//lib/parser/ast/processor.rb#12
631
627
  def on_xstr(node); end
632
628
 
633
629
  # @api public
634
630
  #
635
- # source://parser//lib/parser/ast/processor.rb#10
631
+ # source://parser//lib/parser/ast/processor.rb#12
636
632
  def on_yield(node); end
637
633
 
638
634
  # @api public
639
635
  # @private
640
636
  #
641
- # source://parser//lib/parser/ast/processor.rb#279
637
+ # source://parser//lib/parser/ast/processor.rb#281
642
638
  def process_argument_node(node); end
643
639
 
644
640
  # @api public
645
641
  #
646
- # source://parser//lib/parser/ast/processor.rb#10
642
+ # source://parser//lib/parser/ast/processor.rb#12
647
643
  def process_regular_node(node); end
648
644
 
649
645
  # @api public
650
646
  # @private
651
647
  #
652
- # source://parser//lib/parser/ast/processor.rb#271
648
+ # source://parser//lib/parser/ast/processor.rb#273
653
649
  def process_var_asgn_node(node); end
654
650
 
655
651
  # @api public
656
652
  # @private
657
653
  #
658
- # source://parser//lib/parser/ast/processor.rb#263
654
+ # source://parser//lib/parser/ast/processor.rb#265
659
655
  def process_variable_node(node); end
660
656
  end
661
657
 
@@ -868,7 +864,7 @@ end
868
864
 
869
865
  # @api public
870
866
  #
871
- # source://parser//lib/parser.rb#77
867
+ # source://parser//lib/parser.rb#78
872
868
  module Parser::Builders; end
873
869
 
874
870
  # source://parser//lib/parser/builders/default.rb#8
@@ -876,7 +872,7 @@ class Parser::Builders::Default
876
872
  # source://parser//lib/parser/builders/default.rb#243
877
873
  def initialize; end
878
874
 
879
- # source://parser//lib/parser/builders/default.rb#690
875
+ # source://parser//lib/parser/builders/default.rb#703
880
876
  def __ENCODING__(__ENCODING__t); end
881
877
 
882
878
  # source://parser//lib/parser/builders/default.rb#348
@@ -885,79 +881,79 @@ class Parser::Builders::Default
885
881
  # source://parser//lib/parser/builders/default.rb#312
886
882
  def __LINE__(__LINE__t); end
887
883
 
888
- # source://parser//lib/parser/builders/default.rb#616
884
+ # source://parser//lib/parser/builders/default.rb#622
889
885
  def accessible(node); end
890
886
 
891
- # source://parser//lib/parser/builders/default.rb#865
887
+ # source://parser//lib/parser/builders/default.rb#878
892
888
  def alias(alias_t, to, from); end
893
889
 
894
- # source://parser//lib/parser/builders/default.rb#904
890
+ # source://parser//lib/parser/builders/default.rb#917
895
891
  def arg(name_t); end
896
892
 
897
- # source://parser//lib/parser/builders/default.rb#994
893
+ # source://parser//lib/parser/builders/default.rb#1007
898
894
  def arg_expr(expr); end
899
895
 
900
- # source://parser//lib/parser/builders/default.rb#874
896
+ # source://parser//lib/parser/builders/default.rb#887
901
897
  def args(begin_t, args, end_t, check_args = T.unsafe(nil)); end
902
898
 
903
899
  # source://parser//lib/parser/builders/default.rb#440
904
900
  def array(begin_t, elements, end_t); end
905
901
 
906
- # source://parser//lib/parser/builders/default.rb#1577
902
+ # source://parser//lib/parser/builders/default.rb#1590
907
903
  def array_pattern(lbrack_t, elements, rbrack_t); end
908
904
 
909
- # source://parser//lib/parser/builders/default.rb#754
905
+ # source://parser//lib/parser/builders/default.rb#767
910
906
  def assign(lhs, eql_t, rhs); end
911
907
 
912
- # source://parser//lib/parser/builders/default.rb#699
908
+ # source://parser//lib/parser/builders/default.rb#712
913
909
  def assignable(node); end
914
910
 
915
911
  # source://parser//lib/parser/builders/default.rb#540
916
912
  def associate(begin_t, pairs, end_t); end
917
913
 
918
- # source://parser//lib/parser/builders/default.rb#1158
914
+ # source://parser//lib/parser/builders/default.rb#1171
919
915
  def attr_asgn(receiver, dot_t, selector_t); end
920
916
 
921
- # source://parser//lib/parser/builders/default.rb#606
917
+ # source://parser//lib/parser/builders/default.rb#612
922
918
  def back_ref(token); end
923
919
 
924
- # source://parser//lib/parser/builders/default.rb#1422
920
+ # source://parser//lib/parser/builders/default.rb#1435
925
921
  def begin(begin_t, body, end_t); end
926
922
 
927
- # source://parser//lib/parser/builders/default.rb#1364
923
+ # source://parser//lib/parser/builders/default.rb#1377
928
924
  def begin_body(compound_stmt, rescue_bodies = T.unsafe(nil), else_t = T.unsafe(nil), else_ = T.unsafe(nil), ensure_t = T.unsafe(nil), ensure_ = T.unsafe(nil)); end
929
925
 
930
- # source://parser//lib/parser/builders/default.rb#1440
926
+ # source://parser//lib/parser/builders/default.rb#1453
931
927
  def begin_keyword(begin_t, body, end_t); end
932
928
 
933
- # source://parser//lib/parser/builders/default.rb#1192
929
+ # source://parser//lib/parser/builders/default.rb#1205
934
930
  def binary_op(receiver, operator_t, arg); end
935
931
 
936
- # source://parser//lib/parser/builders/default.rb#1109
932
+ # source://parser//lib/parser/builders/default.rb#1122
937
933
  def block(method_call, begin_t, args, body, end_t); end
938
934
 
939
- # source://parser//lib/parser/builders/default.rb#1144
935
+ # source://parser//lib/parser/builders/default.rb#1157
940
936
  def block_pass(amper_t, arg); end
941
937
 
942
- # source://parser//lib/parser/builders/default.rb#969
938
+ # source://parser//lib/parser/builders/default.rb#982
943
939
  def blockarg(amper_t, name_t); end
944
940
 
945
- # source://parser//lib/parser/builders/default.rb#1014
941
+ # source://parser//lib/parser/builders/default.rb#1027
946
942
  def blockarg_expr(amper_t, expr); end
947
943
 
948
- # source://parser//lib/parser/builders/default.rb#1100
944
+ # source://parser//lib/parser/builders/default.rb#1113
949
945
  def call_lambda(lambda_t); end
950
946
 
951
- # source://parser//lib/parser/builders/default.rb#1083
947
+ # source://parser//lib/parser/builders/default.rb#1096
952
948
  def call_method(receiver, dot_t, selector_t, lparen_t = T.unsafe(nil), args = T.unsafe(nil), rparen_t = T.unsafe(nil)); end
953
949
 
954
- # source://parser//lib/parser/builders/default.rb#1055
950
+ # source://parser//lib/parser/builders/default.rb#1068
955
951
  def call_type_for_dot(dot_t); end
956
952
 
957
- # source://parser//lib/parser/builders/default.rb#1297
953
+ # source://parser//lib/parser/builders/default.rb#1310
958
954
  def case(case_t, expr, when_bodies, else_t, else_body, end_t); end
959
955
 
960
- # source://parser//lib/parser/builders/default.rb#1460
956
+ # source://parser//lib/parser/builders/default.rb#1473
961
957
  def case_match(case_t, expr, in_bodies, else_t, else_body, end_t); end
962
958
 
963
959
  # source://parser//lib/parser/builders/default.rb#343
@@ -966,55 +962,55 @@ class Parser::Builders::Default
966
962
  # source://parser//lib/parser/builders/default.rb#284
967
963
  def complex(complex_t); end
968
964
 
969
- # source://parser//lib/parser/builders/default.rb#1410
965
+ # source://parser//lib/parser/builders/default.rb#1423
970
966
  def compstmt(statements); end
971
967
 
972
- # source://parser//lib/parser/builders/default.rb#1273
968
+ # source://parser//lib/parser/builders/default.rb#1286
973
969
  def condition(cond_t, cond, then_t, if_true, else_t, if_false, end_t); end
974
970
 
975
- # source://parser//lib/parser/builders/default.rb#1279
971
+ # source://parser//lib/parser/builders/default.rb#1292
976
972
  def condition_mod(if_true, if_false, cond_t, cond); end
977
973
 
978
- # source://parser//lib/parser/builders/default.rb#673
974
+ # source://parser//lib/parser/builders/default.rb#686
979
975
  def const(name_t); end
980
976
 
981
- # source://parser//lib/parser/builders/default.rb#685
977
+ # source://parser//lib/parser/builders/default.rb#698
982
978
  def const_fetch(scope, t_colon2, name_t); end
983
979
 
984
- # source://parser//lib/parser/builders/default.rb#678
980
+ # source://parser//lib/parser/builders/default.rb#691
985
981
  def const_global(t_colon3, name_t); end
986
982
 
987
- # source://parser//lib/parser/builders/default.rb#750
983
+ # source://parser//lib/parser/builders/default.rb#763
988
984
  def const_op_assignable(node); end
989
985
 
990
- # source://parser//lib/parser/builders/default.rb#1607
986
+ # source://parser//lib/parser/builders/default.rb#1620
991
987
  def const_pattern(const, ldelim_t, pattern, rdelim_t); end
992
988
 
993
- # source://parser//lib/parser/builders/default.rb#601
989
+ # source://parser//lib/parser/builders/default.rb#607
994
990
  def cvar(token); end
995
991
 
996
992
  # source://parser//lib/parser/builders/default.rb#388
997
993
  def dedent_string(node, dedent_level); end
998
994
 
999
- # source://parser//lib/parser/builders/default.rb#801
995
+ # source://parser//lib/parser/builders/default.rb#814
1000
996
  def def_class(class_t, name, lt_t, superclass, body, end_t); end
1001
997
 
1002
- # source://parser//lib/parser/builders/default.rb#832
998
+ # source://parser//lib/parser/builders/default.rb#845
1003
999
  def def_endless_method(def_t, name_t, args, assignment_t, body); end
1004
1000
 
1005
- # source://parser//lib/parser/builders/default.rb#850
1001
+ # source://parser//lib/parser/builders/default.rb#863
1006
1002
  def def_endless_singleton(def_t, definee, dot_t, name_t, args, assignment_t, body); end
1007
1003
 
1008
- # source://parser//lib/parser/builders/default.rb#824
1004
+ # source://parser//lib/parser/builders/default.rb#837
1009
1005
  def def_method(def_t, name_t, args, body, end_t); end
1010
1006
 
1011
- # source://parser//lib/parser/builders/default.rb#814
1007
+ # source://parser//lib/parser/builders/default.rb#827
1012
1008
  def def_module(module_t, name, body, end_t); end
1013
1009
 
1014
- # source://parser//lib/parser/builders/default.rb#808
1010
+ # source://parser//lib/parser/builders/default.rb#821
1015
1011
  def def_sclass(class_t, lshft_t, expr, body, end_t); end
1016
1012
 
1017
- # source://parser//lib/parser/builders/default.rb#840
1013
+ # source://parser//lib/parser/builders/default.rb#853
1018
1014
  def def_singleton(def_t, definee, dot_t, name_t, args, body, end_t); end
1019
1015
 
1020
1016
  # source://parser//lib/parser/builders/default.rb#237
@@ -1026,52 +1022,52 @@ class Parser::Builders::Default
1026
1022
  # source://parser//lib/parser/builders/default.rb#265
1027
1023
  def false(false_t); end
1028
1024
 
1029
- # source://parser//lib/parser/builders/default.rb#1598
1025
+ # source://parser//lib/parser/builders/default.rb#1611
1030
1026
  def find_pattern(lbrack_t, elements, rbrack_t); end
1031
1027
 
1032
1028
  # source://parser//lib/parser/builders/default.rb#276
1033
1029
  def float(float_t); end
1034
1030
 
1035
- # source://parser//lib/parser/builders/default.rb#1318
1031
+ # source://parser//lib/parser/builders/default.rb#1331
1036
1032
  def for(for_t, iterator, in_t, iteratee, do_t, body, end_t); end
1037
1033
 
1038
- # source://parser//lib/parser/builders/default.rb#900
1034
+ # source://parser//lib/parser/builders/default.rb#913
1039
1035
  def forward_arg(dots_t); end
1040
1036
 
1041
- # source://parser//lib/parser/builders/default.rb#890
1037
+ # source://parser//lib/parser/builders/default.rb#903
1042
1038
  def forward_only_args(begin_t, dots_t, end_t); end
1043
1039
 
1044
- # source://parser//lib/parser/builders/default.rb#1071
1040
+ # source://parser//lib/parser/builders/default.rb#1084
1045
1041
  def forwarded_args(dots_t); end
1046
1042
 
1047
- # source://parser//lib/parser/builders/default.rb#1079
1043
+ # source://parser//lib/parser/builders/default.rb#1092
1048
1044
  def forwarded_kwrestarg(dstar_t); end
1049
1045
 
1050
- # source://parser//lib/parser/builders/default.rb#1075
1046
+ # source://parser//lib/parser/builders/default.rb#1088
1051
1047
  def forwarded_restarg(star_t); end
1052
1048
 
1053
1049
  # source://parser//lib/parser/builders/default.rb#596
1054
1050
  def gvar(token); end
1055
1051
 
1056
- # source://parser//lib/parser/builders/default.rb#1571
1052
+ # source://parser//lib/parser/builders/default.rb#1584
1057
1053
  def hash_pattern(lbrace_t, kwargs, rbrace_t); end
1058
1054
 
1059
1055
  # source://parser//lib/parser/builders/default.rb#586
1060
1056
  def ident(token); end
1061
1057
 
1062
- # source://parser//lib/parser/builders/default.rb#1487
1058
+ # source://parser//lib/parser/builders/default.rb#1500
1063
1059
  def if_guard(if_t, if_body); end
1064
1060
 
1065
- # source://parser//lib/parser/builders/default.rb#1466
1061
+ # source://parser//lib/parser/builders/default.rb#1479
1066
1062
  def in_match(lhs, in_t, rhs); end
1067
1063
 
1068
- # source://parser//lib/parser/builders/default.rb#1481
1064
+ # source://parser//lib/parser/builders/default.rb#1494
1069
1065
  def in_pattern(in_t, pattern, guard, then_t, body); end
1070
1066
 
1071
- # source://parser//lib/parser/builders/default.rb#1167
1067
+ # source://parser//lib/parser/builders/default.rb#1180
1072
1068
  def index(receiver, lbrack_t, indexes, rbrack_t); end
1073
1069
 
1074
- # source://parser//lib/parser/builders/default.rb#1181
1070
+ # source://parser//lib/parser/builders/default.rb#1194
1075
1071
  def index_asgn(receiver, lbrack_t, indexes, rbrack_t); end
1076
1072
 
1077
1073
  # source://parser//lib/parser/builders/default.rb#272
@@ -1080,103 +1076,103 @@ class Parser::Builders::Default
1080
1076
  # source://parser//lib/parser/builders/default.rb#591
1081
1077
  def ivar(token); end
1082
1078
 
1083
- # source://parser//lib/parser/builders/default.rb#1326
1079
+ # source://parser//lib/parser/builders/default.rb#1339
1084
1080
  def keyword_cmd(type, keyword_t, lparen_t = T.unsafe(nil), args = T.unsafe(nil), rparen_t = T.unsafe(nil)); end
1085
1081
 
1086
- # source://parser//lib/parser/builders/default.rb#931
1082
+ # source://parser//lib/parser/builders/default.rb#944
1087
1083
  def kwarg(name_t); end
1088
1084
 
1089
- # source://parser//lib/parser/builders/default.rb#957
1085
+ # source://parser//lib/parser/builders/default.rb#970
1090
1086
  def kwnilarg(dstar_t, nil_t); end
1091
1087
 
1092
- # source://parser//lib/parser/builders/default.rb#938
1088
+ # source://parser//lib/parser/builders/default.rb#951
1093
1089
  def kwoptarg(name_t, value); end
1094
1090
 
1095
- # source://parser//lib/parser/builders/default.rb#945
1091
+ # source://parser//lib/parser/builders/default.rb#958
1096
1092
  def kwrestarg(dstar_t, name_t = T.unsafe(nil)); end
1097
1093
 
1098
1094
  # source://parser//lib/parser/builders/default.rb#535
1099
1095
  def kwsplat(dstar_t, arg); end
1100
1096
 
1101
- # source://parser//lib/parser/builders/default.rb#1266
1097
+ # source://parser//lib/parser/builders/default.rb#1279
1102
1098
  def logical_op(type, lhs, op_t, rhs); end
1103
1099
 
1104
- # source://parser//lib/parser/builders/default.rb#1304
1100
+ # source://parser//lib/parser/builders/default.rb#1317
1105
1101
  def loop(type, keyword_t, cond, do_t, body, end_t); end
1106
1102
 
1107
- # source://parser//lib/parser/builders/default.rb#1309
1103
+ # source://parser//lib/parser/builders/default.rb#1322
1108
1104
  def loop_mod(type, body, keyword_t, cond); end
1109
1105
 
1110
- # source://parser//lib/parser/builders/default.rb#1621
1106
+ # source://parser//lib/parser/builders/default.rb#1634
1111
1107
  def match_alt(left, pipe_t, right); end
1112
1108
 
1113
- # source://parser//lib/parser/builders/default.rb#1628
1109
+ # source://parser//lib/parser/builders/default.rb#1641
1114
1110
  def match_as(value, assoc_t, as); end
1115
1111
 
1116
- # source://parser//lib/parser/builders/default.rb#1507
1112
+ # source://parser//lib/parser/builders/default.rb#1520
1117
1113
  def match_hash_var(name_t); end
1118
1114
 
1119
- # source://parser//lib/parser/builders/default.rb#1521
1115
+ # source://parser//lib/parser/builders/default.rb#1534
1120
1116
  def match_hash_var_from_str(begin_t, strings, end_t); end
1121
1117
 
1122
- # source://parser//lib/parser/builders/default.rb#1659
1118
+ # source://parser//lib/parser/builders/default.rb#1672
1123
1119
  def match_label(label_type, label); end
1124
1120
 
1125
- # source://parser//lib/parser/builders/default.rb#1635
1121
+ # source://parser//lib/parser/builders/default.rb#1648
1126
1122
  def match_nil_pattern(dstar_t, nil_t); end
1127
1123
 
1128
- # source://parser//lib/parser/builders/default.rb#1214
1124
+ # source://parser//lib/parser/builders/default.rb#1227
1129
1125
  def match_op(receiver, match_t, arg); end
1130
1126
 
1131
- # source://parser//lib/parser/builders/default.rb#1640
1127
+ # source://parser//lib/parser/builders/default.rb#1653
1132
1128
  def match_pair(label_type, label, value); end
1133
1129
 
1134
- # source://parser//lib/parser/builders/default.rb#1471
1130
+ # source://parser//lib/parser/builders/default.rb#1484
1135
1131
  def match_pattern(lhs, match_t, rhs); end
1136
1132
 
1137
- # source://parser//lib/parser/builders/default.rb#1476
1133
+ # source://parser//lib/parser/builders/default.rb#1489
1138
1134
  def match_pattern_p(lhs, match_t, rhs); end
1139
1135
 
1140
- # source://parser//lib/parser/builders/default.rb#1560
1136
+ # source://parser//lib/parser/builders/default.rb#1573
1141
1137
  def match_rest(star_t, name_t = T.unsafe(nil)); end
1142
1138
 
1143
- # source://parser//lib/parser/builders/default.rb#1495
1139
+ # source://parser//lib/parser/builders/default.rb#1508
1144
1140
  def match_var(name_t); end
1145
1141
 
1146
- # source://parser//lib/parser/builders/default.rb#1603
1142
+ # source://parser//lib/parser/builders/default.rb#1616
1147
1143
  def match_with_trailing_comma(match, comma_t); end
1148
1144
 
1149
- # source://parser//lib/parser/builders/default.rb#792
1145
+ # source://parser//lib/parser/builders/default.rb#805
1150
1146
  def multi_assign(lhs, eql_t, rhs); end
1151
1147
 
1152
- # source://parser//lib/parser/builders/default.rb#787
1148
+ # source://parser//lib/parser/builders/default.rb#800
1153
1149
  def multi_lhs(begin_t, items, end_t); end
1154
1150
 
1155
1151
  # source://parser//lib/parser/builders/default.rb#255
1156
1152
  def nil(nil_t); end
1157
1153
 
1158
- # source://parser//lib/parser/builders/default.rb#1242
1154
+ # source://parser//lib/parser/builders/default.rb#1255
1159
1155
  def not_op(not_t, begin_t = T.unsafe(nil), receiver = T.unsafe(nil), end_t = T.unsafe(nil)); end
1160
1156
 
1161
- # source://parser//lib/parser/builders/default.rb#611
1157
+ # source://parser//lib/parser/builders/default.rb#617
1162
1158
  def nth_ref(token); end
1163
1159
 
1164
- # source://parser//lib/parser/builders/default.rb#886
1160
+ # source://parser//lib/parser/builders/default.rb#899
1165
1161
  def numargs(max_numparam); end
1166
1162
 
1167
- # source://parser//lib/parser/builders/default.rb#1025
1163
+ # source://parser//lib/parser/builders/default.rb#1038
1168
1164
  def objc_kwarg(kwname_t, assoc_t, name_t); end
1169
1165
 
1170
- # source://parser//lib/parser/builders/default.rb#1039
1166
+ # source://parser//lib/parser/builders/default.rb#1052
1171
1167
  def objc_restarg(star_t, name = T.unsafe(nil)); end
1172
1168
 
1173
- # source://parser//lib/parser/builders/default.rb#1149
1169
+ # source://parser//lib/parser/builders/default.rb#1162
1174
1170
  def objc_varargs(pair, rest_of_varargs); end
1175
1171
 
1176
- # source://parser//lib/parser/builders/default.rb#761
1172
+ # source://parser//lib/parser/builders/default.rb#774
1177
1173
  def op_assign(lhs, op_t, rhs); end
1178
1174
 
1179
- # source://parser//lib/parser/builders/default.rb#911
1175
+ # source://parser//lib/parser/builders/default.rb#924
1180
1176
  def optarg(name_t, eql_t, value); end
1181
1177
 
1182
1178
  # source://parser//lib/parser/builders/default.rb#488
@@ -1200,16 +1196,16 @@ class Parser::Builders::Default
1200
1196
  # source://parser//lib/parser/builders/default.rb#225
1201
1197
  def parser=(_arg0); end
1202
1198
 
1203
- # source://parser//lib/parser/builders/default.rb#1616
1199
+ # source://parser//lib/parser/builders/default.rb#1629
1204
1200
  def pin(pin_t, var); end
1205
1201
 
1206
- # source://parser//lib/parser/builders/default.rb#1349
1202
+ # source://parser//lib/parser/builders/default.rb#1362
1207
1203
  def postexe(postexe_t, lbrace_t, compstmt, rbrace_t); end
1208
1204
 
1209
- # source://parser//lib/parser/builders/default.rb#1344
1205
+ # source://parser//lib/parser/builders/default.rb#1357
1210
1206
  def preexe(preexe_t, lbrace_t, compstmt, rbrace_t); end
1211
1207
 
1212
- # source://parser//lib/parser/builders/default.rb#979
1208
+ # source://parser//lib/parser/builders/default.rb#992
1213
1209
  def procarg0(arg); end
1214
1210
 
1215
1211
  # source://parser//lib/parser/builders/default.rb#572
@@ -1227,19 +1223,19 @@ class Parser::Builders::Default
1227
1223
  # source://parser//lib/parser/builders/default.rb#417
1228
1224
  def regexp_options(regopt_t); end
1229
1225
 
1230
- # source://parser//lib/parser/builders/default.rb#1356
1226
+ # source://parser//lib/parser/builders/default.rb#1369
1231
1227
  def rescue_body(rescue_t, exc_list, assoc_t, exc_var, then_t, compound_stmt); end
1232
1228
 
1233
- # source://parser//lib/parser/builders/default.rb#920
1229
+ # source://parser//lib/parser/builders/default.rb#933
1234
1230
  def restarg(star_t, name_t = T.unsafe(nil)); end
1235
1231
 
1236
- # source://parser//lib/parser/builders/default.rb#1003
1232
+ # source://parser//lib/parser/builders/default.rb#1016
1237
1233
  def restarg_expr(star_t, expr = T.unsafe(nil)); end
1238
1234
 
1239
1235
  # source://parser//lib/parser/builders/default.rb#581
1240
1236
  def self(token); end
1241
1237
 
1242
- # source://parser//lib/parser/builders/default.rb#962
1238
+ # source://parser//lib/parser/builders/default.rb#975
1243
1239
  def shadowarg(name_t); end
1244
1240
 
1245
1241
  # source://parser//lib/parser/builders/default.rb#445
@@ -1266,7 +1262,7 @@ class Parser::Builders::Default
1266
1262
  # source://parser//lib/parser/builders/default.rb#469
1267
1263
  def symbols_compose(begin_t, parts, end_t); end
1268
1264
 
1269
- # source://parser//lib/parser/builders/default.rb#1284
1265
+ # source://parser//lib/parser/builders/default.rb#1297
1270
1266
  def ternary(cond, question_t, if_true, colon_t, if_false); end
1271
1267
 
1272
1268
  # source://parser//lib/parser/builders/default.rb#260
@@ -1275,16 +1271,16 @@ class Parser::Builders::Default
1275
1271
  # source://parser//lib/parser/builders/default.rb#294
1276
1272
  def unary_num(unary_t, numeric); end
1277
1273
 
1278
- # source://parser//lib/parser/builders/default.rb#1230
1274
+ # source://parser//lib/parser/builders/default.rb#1243
1279
1275
  def unary_op(op_t, receiver); end
1280
1276
 
1281
- # source://parser//lib/parser/builders/default.rb#860
1277
+ # source://parser//lib/parser/builders/default.rb#873
1282
1278
  def undef_method(undef_t, names); end
1283
1279
 
1284
- # source://parser//lib/parser/builders/default.rb#1491
1280
+ # source://parser//lib/parser/builders/default.rb#1504
1285
1281
  def unless_guard(unless_t, unless_body); end
1286
1282
 
1287
- # source://parser//lib/parser/builders/default.rb#1291
1283
+ # source://parser//lib/parser/builders/default.rb#1304
1288
1284
  def when(when_t, patterns, then_t, body); end
1289
1285
 
1290
1286
  # source://parser//lib/parser/builders/default.rb#455
@@ -1298,184 +1294,184 @@ class Parser::Builders::Default
1298
1294
 
1299
1295
  private
1300
1296
 
1301
- # source://parser//lib/parser/builders/default.rb#1798
1297
+ # source://parser//lib/parser/builders/default.rb#1821
1302
1298
  def arg_name_collides?(this_name, that_name); end
1303
1299
 
1304
- # source://parser//lib/parser/builders/default.rb#1994
1300
+ # source://parser//lib/parser/builders/default.rb#2017
1305
1301
  def arg_prefix_map(op_t, name_t = T.unsafe(nil)); end
1306
1302
 
1307
- # source://parser//lib/parser/builders/default.rb#1968
1303
+ # source://parser//lib/parser/builders/default.rb#1991
1308
1304
  def binary_op_map(left_e, op_t, right_e); end
1309
1305
 
1310
- # source://parser//lib/parser/builders/default.rb#2096
1306
+ # source://parser//lib/parser/builders/default.rb#2119
1311
1307
  def block_map(receiver_l, begin_t, end_t); end
1312
1308
 
1313
- # source://parser//lib/parser/builders/default.rb#1773
1309
+ # source://parser//lib/parser/builders/default.rb#1796
1314
1310
  def check_assignment_to_numparam(name, loc); end
1315
1311
 
1316
- # source://parser//lib/parser/builders/default.rb#1675
1312
+ # source://parser//lib/parser/builders/default.rb#1688
1317
1313
  def check_condition(cond); end
1318
1314
 
1319
- # source://parser//lib/parser/builders/default.rb#1744
1315
+ # source://parser//lib/parser/builders/default.rb#1767
1320
1316
  def check_duplicate_arg(this_arg, map = T.unsafe(nil)); end
1321
1317
 
1322
- # source://parser//lib/parser/builders/default.rb#1719
1318
+ # source://parser//lib/parser/builders/default.rb#1742
1323
1319
  def check_duplicate_args(args, map = T.unsafe(nil)); end
1324
1320
 
1325
- # source://parser//lib/parser/builders/default.rb#1831
1321
+ # source://parser//lib/parser/builders/default.rb#1854
1326
1322
  def check_duplicate_pattern_key(name, loc); end
1327
1323
 
1328
- # source://parser//lib/parser/builders/default.rb#1821
1324
+ # source://parser//lib/parser/builders/default.rb#1844
1329
1325
  def check_duplicate_pattern_variable(name, loc); end
1330
1326
 
1331
- # source://parser//lib/parser/builders/default.rb#1813
1327
+ # source://parser//lib/parser/builders/default.rb#1836
1332
1328
  def check_lvar_name(name, loc); end
1333
1329
 
1334
- # source://parser//lib/parser/builders/default.rb#1788
1330
+ # source://parser//lib/parser/builders/default.rb#1811
1335
1331
  def check_reserved_for_numparam(name, loc); end
1336
1332
 
1337
- # source://parser//lib/parser/builders/default.rb#2253
1333
+ # source://parser//lib/parser/builders/default.rb#2280
1338
1334
  def collapse_string_parts?(parts); end
1339
1335
 
1340
- # source://parser//lib/parser/builders/default.rb#1919
1336
+ # source://parser//lib/parser/builders/default.rb#1942
1341
1337
  def collection_map(begin_t, parts, end_t); end
1342
1338
 
1343
- # source://parser//lib/parser/builders/default.rb#2123
1339
+ # source://parser//lib/parser/builders/default.rb#2146
1344
1340
  def condition_map(keyword_t, cond_e, begin_t, body_e, else_t, else_e, end_t); end
1345
1341
 
1346
- # source://parser//lib/parser/builders/default.rb#1954
1342
+ # source://parser//lib/parser/builders/default.rb#1977
1347
1343
  def constant_map(scope, colon2_t, name_t); end
1348
1344
 
1349
- # source://parser//lib/parser/builders/default.rb#2027
1345
+ # source://parser//lib/parser/builders/default.rb#2050
1350
1346
  def definition_map(keyword_t, operator_t, name_t, end_t); end
1351
1347
 
1352
- # source://parser//lib/parser/builders/default.rb#1860
1348
+ # source://parser//lib/parser/builders/default.rb#1883
1353
1349
  def delimited_string_map(string_t); end
1354
1350
 
1355
- # source://parser//lib/parser/builders/default.rb#2275
1351
+ # source://parser//lib/parser/builders/default.rb#2302
1356
1352
  def diagnostic(type, reason, arguments, location, highlights = T.unsafe(nil)); end
1357
1353
 
1358
- # source://parser//lib/parser/builders/default.rb#2167
1354
+ # source://parser//lib/parser/builders/default.rb#2190
1359
1355
  def eh_keyword_map(compstmt_e, keyword_t, body_es, else_t, else_e); end
1360
1356
 
1361
- # source://parser//lib/parser/builders/default.rb#2033
1357
+ # source://parser//lib/parser/builders/default.rb#2056
1362
1358
  def endless_definition_map(keyword_t, operator_t, name_t, assignment_t, body_e); end
1363
1359
 
1364
- # source://parser//lib/parser/builders/default.rb#1915
1360
+ # source://parser//lib/parser/builders/default.rb#1938
1365
1361
  def expr_map(loc); end
1366
1362
 
1367
- # source://parser//lib/parser/builders/default.rb#2148
1363
+ # source://parser//lib/parser/builders/default.rb#2171
1368
1364
  def for_map(keyword_t, in_t, begin_t, end_t); end
1369
1365
 
1370
- # source://parser//lib/parser/builders/default.rb#2195
1366
+ # source://parser//lib/parser/builders/default.rb#2218
1371
1367
  def guard_map(keyword_t, guard_body_e); end
1372
1368
 
1373
- # source://parser//lib/parser/builders/default.rb#2085
1369
+ # source://parser//lib/parser/builders/default.rb#2108
1374
1370
  def index_map(receiver_e, lbrack_t, rbrack_t); end
1375
1371
 
1376
- # source://parser//lib/parser/builders/default.rb#1851
1372
+ # source://parser//lib/parser/builders/default.rb#1874
1377
1373
  def join_exprs(left_expr, right_expr); end
1378
1374
 
1379
- # source://parser//lib/parser/builders/default.rb#2101
1375
+ # source://parser//lib/parser/builders/default.rb#2124
1380
1376
  def keyword_map(keyword_t, begin_t, args, end_t); end
1381
1377
 
1382
- # source://parser//lib/parser/builders/default.rb#2118
1378
+ # source://parser//lib/parser/builders/default.rb#2141
1383
1379
  def keyword_mod_map(pre_e, keyword_t, post_e); end
1384
1380
 
1385
- # source://parser//lib/parser/builders/default.rb#2004
1381
+ # source://parser//lib/parser/builders/default.rb#2027
1386
1382
  def kwarg_map(name_t, value_e = T.unsafe(nil)); end
1387
1383
 
1388
- # source://parser//lib/parser/builders/default.rb#2306
1384
+ # source://parser//lib/parser/builders/default.rb#2333
1389
1385
  def kwargs?(node); end
1390
1386
 
1391
- # source://parser//lib/parser/builders/default.rb#2270
1387
+ # source://parser//lib/parser/builders/default.rb#2297
1392
1388
  def loc(token); end
1393
1389
 
1394
- # source://parser//lib/parser/builders/default.rb#2017
1390
+ # source://parser//lib/parser/builders/default.rb#2040
1395
1391
  def module_definition_map(keyword_t, name_e, operator_t, end_t); end
1396
1392
 
1397
- # source://parser//lib/parser/builders/default.rb#1843
1393
+ # source://parser//lib/parser/builders/default.rb#1866
1398
1394
  def n(type, children, source_map); end
1399
1395
 
1400
- # source://parser//lib/parser/builders/default.rb#1847
1396
+ # source://parser//lib/parser/builders/default.rb#1870
1401
1397
  def n0(type, source_map); end
1402
1398
 
1403
1399
  # source://parser//lib/parser/builders/default.rb#288
1404
1400
  def numeric(kind, token); end
1405
1401
 
1406
- # source://parser//lib/parser/builders/default.rb#1885
1402
+ # source://parser//lib/parser/builders/default.rb#1908
1407
1403
  def pair_keyword_map(key_t, value_e); end
1408
1404
 
1409
- # source://parser//lib/parser/builders/default.rb#1900
1405
+ # source://parser//lib/parser/builders/default.rb#1923
1410
1406
  def pair_quoted_map(begin_t, end_t, value_e); end
1411
1407
 
1412
- # source://parser//lib/parser/builders/default.rb#1871
1408
+ # source://parser//lib/parser/builders/default.rb#1894
1413
1409
  def prefix_string_map(symbol); end
1414
1410
 
1415
- # source://parser//lib/parser/builders/default.rb#1982
1411
+ # source://parser//lib/parser/builders/default.rb#2005
1416
1412
  def range_map(start_e, op_t, end_e); end
1417
1413
 
1418
- # source://parser//lib/parser/builders/default.rb#1949
1414
+ # source://parser//lib/parser/builders/default.rb#1972
1419
1415
  def regexp_map(begin_t, end_t, options_e); end
1420
1416
 
1421
- # source://parser//lib/parser/builders/default.rb#2154
1417
+ # source://parser//lib/parser/builders/default.rb#2177
1422
1418
  def rescue_body_map(keyword_t, exc_list_e, assoc_t, exc_var_e, then_t, compstmt_e); end
1423
1419
 
1424
- # source://parser//lib/parser/builders/default.rb#2296
1420
+ # source://parser//lib/parser/builders/default.rb#2323
1425
1421
  def rewrite_hash_args_to_kwargs(args); end
1426
1422
 
1427
- # source://parser//lib/parser/builders/default.rb#2067
1423
+ # source://parser//lib/parser/builders/default.rb#2090
1428
1424
  def send_binary_op_map(lhs_e, selector_t, rhs_e); end
1429
1425
 
1430
- # source://parser//lib/parser/builders/default.rb#2090
1426
+ # source://parser//lib/parser/builders/default.rb#2113
1431
1427
  def send_index_map(receiver_e, lbrack_t, rbrack_t); end
1432
1428
 
1433
- # source://parser//lib/parser/builders/default.rb#2041
1429
+ # source://parser//lib/parser/builders/default.rb#2064
1434
1430
  def send_map(receiver_e, dot_t, selector_t, begin_t = T.unsafe(nil), args = T.unsafe(nil), end_t = T.unsafe(nil)); end
1435
1431
 
1436
- # source://parser//lib/parser/builders/default.rb#2073
1432
+ # source://parser//lib/parser/builders/default.rb#2096
1437
1433
  def send_unary_op_map(selector_t, arg_e); end
1438
1434
 
1439
- # source://parser//lib/parser/builders/default.rb#2226
1435
+ # source://parser//lib/parser/builders/default.rb#2249
1440
1436
  def static_regexp(parts, options); end
1441
1437
 
1442
- # source://parser//lib/parser/builders/default.rb#2246
1438
+ # source://parser//lib/parser/builders/default.rb#2269
1443
1439
  def static_regexp_node(node); end
1444
1440
 
1445
- # source://parser//lib/parser/builders/default.rb#2209
1441
+ # source://parser//lib/parser/builders/default.rb#2232
1446
1442
  def static_string(nodes); end
1447
1443
 
1448
- # source://parser//lib/parser/builders/default.rb#1935
1444
+ # source://parser//lib/parser/builders/default.rb#1958
1449
1445
  def string_map(begin_t, parts, end_t); end
1450
1446
 
1451
- # source://parser//lib/parser/builders/default.rb#2262
1447
+ # source://parser//lib/parser/builders/default.rb#2289
1452
1448
  def string_value(token); end
1453
1449
 
1454
- # source://parser//lib/parser/builders/default.rb#2143
1450
+ # source://parser//lib/parser/builders/default.rb#2166
1455
1451
  def ternary_map(begin_e, question_t, mid_e, colon_t, end_e); end
1456
1452
 
1457
- # source://parser//lib/parser/builders/default.rb#1856
1453
+ # source://parser//lib/parser/builders/default.rb#1879
1458
1454
  def token_map(token); end
1459
1455
 
1460
- # source://parser//lib/parser/builders/default.rb#1972
1456
+ # source://parser//lib/parser/builders/default.rb#1995
1461
1457
  def unary_op_map(op_t, arg_e = T.unsafe(nil)); end
1462
1458
 
1463
- # source://parser//lib/parser/builders/default.rb#1880
1459
+ # source://parser//lib/parser/builders/default.rb#1903
1464
1460
  def unquoted_map(token); end
1465
1461
 
1466
- # source://parser//lib/parser/builders/default.rb#2284
1462
+ # source://parser//lib/parser/builders/default.rb#2311
1467
1463
  def validate_definee(definee); end
1468
1464
 
1469
- # source://parser//lib/parser/builders/default.rb#1758
1465
+ # source://parser//lib/parser/builders/default.rb#1781
1470
1466
  def validate_no_forward_arg_after_restarg(args); end
1471
1467
 
1472
- # source://parser//lib/parser/builders/default.rb#2258
1468
+ # source://parser//lib/parser/builders/default.rb#2285
1473
1469
  def value(token); end
1474
1470
 
1475
- # source://parser//lib/parser/builders/default.rb#2061
1471
+ # source://parser//lib/parser/builders/default.rb#2084
1476
1472
  def var_send_map(variable_e); end
1477
1473
 
1478
- # source://parser//lib/parser/builders/default.rb#1964
1474
+ # source://parser//lib/parser/builders/default.rb#1987
1479
1475
  def variable_map(name_t); end
1480
1476
 
1481
1477
  class << self
@@ -1671,9 +1667,6 @@ class Parser::CurrentArgStack
1671
1667
  def top; end
1672
1668
  end
1673
1669
 
1674
- # source://parser//lib/parser/current.rb#111
1675
- Parser::CurrentRuby = Parser::Ruby32
1676
-
1677
1670
  # @api private
1678
1671
  #
1679
1672
  # source://parser//lib/parser/deprecation.rb#7
@@ -2090,69 +2083,69 @@ class Parser::Lexer
2090
2083
 
2091
2084
  protected
2092
2085
 
2093
- # source://parser//lib/parser/lexer-F1.rb#14631
2086
+ # source://parser//lib/parser/lexer-F1.rb#14692
2094
2087
  def arg_or_cmdarg(cmd_state); end
2095
2088
 
2096
- # source://parser//lib/parser/lexer-F1.rb#14693
2089
+ # source://parser//lib/parser/lexer-F1.rb#14754
2097
2090
  def check_ambiguous_slash(tm); end
2098
2091
 
2099
- # source://parser//lib/parser/lexer-F1.rb#14655
2092
+ # source://parser//lib/parser/lexer-F1.rb#14716
2100
2093
  def diagnostic(type, reason, arguments = T.unsafe(nil), location = T.unsafe(nil), highlights = T.unsafe(nil)); end
2101
2094
 
2102
- # source://parser//lib/parser/lexer-F1.rb#14661
2095
+ # source://parser//lib/parser/lexer-F1.rb#14722
2103
2096
  def e_lbrace; end
2104
2097
 
2105
- # source://parser//lib/parser/lexer-F1.rb#14605
2098
+ # source://parser//lib/parser/lexer-F1.rb#14666
2106
2099
  def emit(type, value = T.unsafe(nil), s = T.unsafe(nil), e = T.unsafe(nil)); end
2107
2100
 
2108
- # source://parser//lib/parser/lexer-F1.rb#14714
2101
+ # source://parser//lib/parser/lexer-F1.rb#14775
2109
2102
  def emit_class_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end
2110
2103
 
2111
- # source://parser//lib/parser/lexer-F1.rb#14742
2104
+ # source://parser//lib/parser/lexer-F1.rb#14803
2112
2105
  def emit_colon_with_digits(p, tm, diag_msg); end
2113
2106
 
2114
- # source://parser//lib/parser/lexer-F1.rb#14639
2107
+ # source://parser//lib/parser/lexer-F1.rb#14700
2115
2108
  def emit_comment(s = T.unsafe(nil), e = T.unsafe(nil)); end
2116
2109
 
2117
- # source://parser//lib/parser/lexer-F1.rb#14651
2110
+ # source://parser//lib/parser/lexer-F1.rb#14712
2118
2111
  def emit_comment_from_range(p, pe); end
2119
2112
 
2120
- # source://parser//lib/parser/lexer-F1.rb#14621
2113
+ # source://parser//lib/parser/lexer-F1.rb#14682
2121
2114
  def emit_do(do_block = T.unsafe(nil)); end
2122
2115
 
2123
- # source://parser//lib/parser/lexer-F1.rb#14704
2116
+ # source://parser//lib/parser/lexer-F1.rb#14765
2124
2117
  def emit_global_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end
2125
2118
 
2126
- # source://parser//lib/parser/lexer-F1.rb#14722
2119
+ # source://parser//lib/parser/lexer-F1.rb#14783
2127
2120
  def emit_instance_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end
2128
2121
 
2129
- # source://parser//lib/parser/lexer-F1.rb#14730
2122
+ # source://parser//lib/parser/lexer-F1.rb#14791
2130
2123
  def emit_rbrace_rparen_rbrack; end
2131
2124
 
2132
- # source://parser//lib/parser/lexer-F1.rb#14752
2125
+ # source://parser//lib/parser/lexer-F1.rb#14813
2133
2126
  def emit_singleton_class; end
2134
2127
 
2135
- # source://parser//lib/parser/lexer-F1.rb#14615
2128
+ # source://parser//lib/parser/lexer-F1.rb#14676
2136
2129
  def emit_table(table, s = T.unsafe(nil), e = T.unsafe(nil)); end
2137
2130
 
2138
- # source://parser//lib/parser/lexer-F1.rb#14670
2131
+ # source://parser//lib/parser/lexer-F1.rb#14731
2139
2132
  def numeric_literal_int; end
2140
2133
 
2141
- # source://parser//lib/parser/lexer-F1.rb#14689
2134
+ # source://parser//lib/parser/lexer-F1.rb#14750
2142
2135
  def on_newline(p); end
2143
2136
 
2144
- # source://parser//lib/parser/lexer-F1.rb#14601
2137
+ # source://parser//lib/parser/lexer-F1.rb#14662
2145
2138
  def range(s = T.unsafe(nil), e = T.unsafe(nil)); end
2146
2139
 
2147
- # source://parser//lib/parser/lexer-F1.rb#14592
2140
+ # source://parser//lib/parser/lexer-F1.rb#14653
2148
2141
  def stack_pop; end
2149
2142
 
2150
- # source://parser//lib/parser/lexer-F1.rb#14597
2143
+ # source://parser//lib/parser/lexer-F1.rb#14658
2151
2144
  def tok(s = T.unsafe(nil), e = T.unsafe(nil)); end
2152
2145
 
2153
2146
  # @return [Boolean]
2154
2147
  #
2155
- # source://parser//lib/parser/lexer-F1.rb#14588
2148
+ # source://parser//lib/parser/lexer-F1.rb#14649
2156
2149
  def version?(*versions); end
2157
2150
 
2158
2151
  class << self
@@ -2499,13 +2492,13 @@ end
2499
2492
  # source://parser//lib/parser/lexer/dedenter.rb#7
2500
2493
  Parser::Lexer::Dedenter::TAB_WIDTH = T.let(T.unsafe(nil), Integer)
2501
2494
 
2502
- # source://parser//lib/parser/lexer-F1.rb#14799
2495
+ # source://parser//lib/parser/lexer-F1.rb#14860
2503
2496
  Parser::Lexer::ESCAPE_WHITESPACE = T.let(T.unsafe(nil), Hash)
2504
2497
 
2505
- # source://parser//lib/parser/lexer-F1.rb#14785
2498
+ # source://parser//lib/parser/lexer-F1.rb#14846
2506
2499
  Parser::Lexer::KEYWORDS = T.let(T.unsafe(nil), Hash)
2507
2500
 
2508
- # source://parser//lib/parser/lexer-F1.rb#14792
2501
+ # source://parser//lib/parser/lexer-F1.rb#14853
2509
2502
  Parser::Lexer::KEYWORDS_BEGIN = T.let(T.unsafe(nil), Hash)
2510
2503
 
2511
2504
  # source://parser//lib/parser/lexer-F1.rb#8362
@@ -2513,108 +2506,114 @@ Parser::Lexer::LEX_STATES = T.let(T.unsafe(nil), Hash)
2513
2506
 
2514
2507
  # source://parser//lib/parser/lexer/literal.rb#6
2515
2508
  class Parser::Lexer::Literal
2516
- # source://parser//lib/parser/lexer/literal.rb#40
2509
+ # source://parser//lib/parser/lexer/literal.rb#42
2517
2510
  def initialize(lexer, str_type, delimiter, str_s, heredoc_e = T.unsafe(nil), indent = T.unsafe(nil), dedent_body = T.unsafe(nil), label_allowed = T.unsafe(nil)); end
2518
2511
 
2519
- # source://parser//lib/parser/lexer/literal.rb#114
2512
+ # source://parser//lib/parser/lexer/literal.rb#116
2520
2513
  def backslash_delimited?; end
2521
2514
 
2522
- # source://parser//lib/parser/lexer/literal.rb#37
2515
+ # source://parser//lib/parser/lexer/literal.rb#39
2523
2516
  def dedent_level; end
2524
2517
 
2525
- # source://parser//lib/parser/lexer/literal.rb#189
2518
+ # source://parser//lib/parser/lexer/literal.rb#191
2526
2519
  def end_interp_brace_and_try_closing; end
2527
2520
 
2528
- # source://parser//lib/parser/lexer/literal.rb#216
2521
+ # source://parser//lib/parser/lexer/literal.rb#218
2529
2522
  def extend_content; end
2530
2523
 
2531
- # source://parser//lib/parser/lexer/literal.rb#220
2524
+ # source://parser//lib/parser/lexer/literal.rb#222
2532
2525
  def extend_space(ts, te); end
2533
2526
 
2534
- # source://parser//lib/parser/lexer/literal.rb#195
2527
+ # source://parser//lib/parser/lexer/literal.rb#197
2535
2528
  def extend_string(string, ts, te); end
2536
2529
 
2537
- # source://parser//lib/parser/lexer/literal.rb#202
2530
+ # source://parser//lib/parser/lexer/literal.rb#204
2538
2531
  def flush_string; end
2539
2532
 
2540
- # source://parser//lib/parser/lexer/literal.rb#102
2533
+ # source://parser//lib/parser/lexer/literal.rb#104
2541
2534
  def heredoc?; end
2542
2535
 
2543
- # source://parser//lib/parser/lexer/literal.rb#37
2536
+ # source://parser//lib/parser/lexer/literal.rb#39
2544
2537
  def heredoc_e; end
2545
2538
 
2546
- # source://parser//lib/parser/lexer/literal.rb#166
2539
+ # source://parser//lib/parser/lexer/literal.rb#168
2547
2540
  def infer_indent_level(line); end
2548
2541
 
2549
- # source://parser//lib/parser/lexer/literal.rb#89
2542
+ # source://parser//lib/parser/lexer/literal.rb#91
2550
2543
  def interpolate?; end
2551
2544
 
2552
- # source://parser//lib/parser/lexer/literal.rb#122
2545
+ # source://parser//lib/parser/lexer/literal.rb#124
2553
2546
  def munge_escape?(character); end
2554
2547
 
2555
- # source://parser//lib/parser/lexer/literal.rb#132
2548
+ # source://parser//lib/parser/lexer/literal.rb#134
2556
2549
  def nest_and_try_closing(delimiter, ts, te, lookahead = T.unsafe(nil)); end
2557
2550
 
2558
- # source://parser//lib/parser/lexer/literal.rb#106
2551
+ # source://parser//lib/parser/lexer/literal.rb#108
2559
2552
  def plain_heredoc?; end
2560
2553
 
2561
- # source://parser//lib/parser/lexer/literal.rb#98
2554
+ # source://parser//lib/parser/lexer/literal.rb#100
2562
2555
  def regexp?; end
2563
2556
 
2564
- # source://parser//lib/parser/lexer/literal.rb#38
2557
+ # source://parser//lib/parser/lexer/literal.rb#40
2565
2558
  def saved_herebody_s; end
2566
2559
 
2567
- # source://parser//lib/parser/lexer/literal.rb#38
2560
+ # source://parser//lib/parser/lexer/literal.rb#40
2568
2561
  def saved_herebody_s=(_arg0); end
2569
2562
 
2570
- # source://parser//lib/parser/lexer/literal.rb#110
2563
+ # source://parser//lib/parser/lexer/literal.rb#112
2571
2564
  def squiggly_heredoc?; end
2572
2565
 
2573
- # source://parser//lib/parser/lexer/literal.rb#185
2566
+ # source://parser//lib/parser/lexer/literal.rb#187
2574
2567
  def start_interp_brace; end
2575
2568
 
2576
- # source://parser//lib/parser/lexer/literal.rb#37
2569
+ # source://parser//lib/parser/lexer/literal.rb#39
2577
2570
  def str_s; end
2578
2571
 
2579
- # source://parser//lib/parser/lexer/literal.rb#230
2572
+ # source://parser//lib/parser/lexer/literal.rb#232
2580
2573
  def supports_line_continuation_via_slash?; end
2581
2574
 
2582
- # source://parser//lib/parser/lexer/literal.rb#118
2575
+ # source://parser//lib/parser/lexer/literal.rb#120
2583
2576
  def type; end
2584
2577
 
2585
- # source://parser//lib/parser/lexer/literal.rb#93
2578
+ # source://parser//lib/parser/lexer/literal.rb#95
2586
2579
  def words?; end
2587
2580
 
2588
2581
  protected
2589
2582
 
2590
- # source://parser//lib/parser/lexer/literal.rb#248
2583
+ # source://parser//lib/parser/lexer/literal.rb#263
2591
2584
  def clear_buffer; end
2592
2585
 
2593
- # source://parser//lib/parser/lexer/literal.rb#244
2586
+ # source://parser//lib/parser/lexer/literal.rb#259
2594
2587
  def coerce_encoding(string); end
2595
2588
 
2596
- # source://parser//lib/parser/lexer/literal.rb#236
2589
+ # source://parser//lib/parser/lexer/literal.rb#238
2597
2590
  def delimiter?(delimiter); end
2598
2591
 
2599
- # source://parser//lib/parser/lexer/literal.rb#264
2592
+ # source://parser//lib/parser/lexer/literal.rb#279
2600
2593
  def emit(token, type, s, e); end
2601
2594
 
2602
- # source://parser//lib/parser/lexer/literal.rb#259
2595
+ # source://parser//lib/parser/lexer/literal.rb#274
2603
2596
  def emit_start_tok; end
2604
2597
  end
2605
2598
 
2606
2599
  # source://parser//lib/parser/lexer/literal.rb#7
2607
2600
  Parser::Lexer::Literal::DELIMITERS = T.let(T.unsafe(nil), Hash)
2608
2601
 
2602
+ # source://parser//lib/parser/lexer/literal.rb#8
2603
+ Parser::Lexer::Literal::SPACE = T.let(T.unsafe(nil), Integer)
2604
+
2609
2605
  # source://parser//lib/parser/lexer/literal.rb#9
2606
+ Parser::Lexer::Literal::TAB = T.let(T.unsafe(nil), Integer)
2607
+
2608
+ # source://parser//lib/parser/lexer/literal.rb#11
2610
2609
  Parser::Lexer::Literal::TYPES = T.let(T.unsafe(nil), Hash)
2611
2610
 
2612
2611
  # Mapping of strings to parser tokens.
2613
2612
  #
2614
- # source://parser//lib/parser/lexer-F1.rb#14759
2613
+ # source://parser//lib/parser/lexer-F1.rb#14820
2615
2614
  Parser::Lexer::PUNCTUATION = T.let(T.unsafe(nil), Hash)
2616
2615
 
2617
- # source://parser//lib/parser/lexer-F1.rb#14779
2616
+ # source://parser//lib/parser/lexer-F1.rb#14840
2618
2617
  Parser::Lexer::PUNCTUATION_BEGIN = T.let(T.unsafe(nil), Hash)
2619
2618
 
2620
2619
  # source://parser//lib/parser/lexer/stack_state.rb#5
@@ -3200,7 +3199,7 @@ Parser::MaxNumparamStack::ORDINARY_PARAMS = T.let(T.unsafe(nil), Integer)
3200
3199
 
3201
3200
  # @api private
3202
3201
  #
3203
- # source://parser//lib/parser/messages.rb#107
3202
+ # source://parser//lib/parser/messages.rb#112
3204
3203
  module Parser::Messages
3205
3204
  class << self
3206
3205
  # Formats the message, returns a raw template if there's nothing to interpolate
@@ -3210,7 +3209,7 @@ module Parser::Messages
3210
3209
  #
3211
3210
  # @api private
3212
3211
  #
3213
- # source://parser//lib/parser/messages.rb#114
3212
+ # source://parser//lib/parser/messages.rb#119
3214
3213
  def compile(reason, arguments); end
3215
3214
  end
3216
3215
  end
@@ -3315,2051 +3314,260 @@ end
3315
3314
  # source://parser//lib/parser/rewriter.rb#91
3316
3315
  Parser::Rewriter::DEPRECATION_WARNING = T.let(T.unsafe(nil), String)
3317
3316
 
3318
- # source://parser//lib/parser/ruby32.rb#14
3319
- class Parser::Ruby32 < ::Parser::Base
3320
- # reduce 0 omitted
3321
- #
3322
- # source://parser//lib/parser/ruby32.rb#8421
3323
- def _reduce_1(val, _values, result); end
3324
-
3325
- # source://parser//lib/parser/ruby32.rb#8475
3326
- def _reduce_10(val, _values, result); end
3327
-
3328
- # source://parser//lib/parser/ruby32.rb#9110
3329
- def _reduce_100(val, _values, result); end
3317
+ # @api public
3318
+ #
3319
+ # source://parser//lib/parser.rb#30
3320
+ module Parser::Source; end
3330
3321
 
3331
- # reduce 101 omitted
3322
+ # A buffer with source code. {Buffer} contains the source code itself,
3323
+ # associated location information (name and first line), and takes care
3324
+ # of encoding.
3325
+ #
3326
+ # A source buffer is immutable once populated.
3327
+ #
3328
+ # @api public
3329
+ #
3330
+ # source://parser//lib/parser/source/buffer.rb#25
3331
+ class Parser::Source::Buffer
3332
+ # @api public
3333
+ # @return [Buffer] a new instance of Buffer
3332
3334
  #
3333
- # source://parser//lib/parser/ruby32.rb#9119
3334
- def _reduce_102(val, _values, result); end
3335
-
3336
- # source://parser//lib/parser/ruby32.rb#9125
3337
- def _reduce_103(val, _values, result); end
3338
-
3339
- # source://parser//lib/parser/ruby32.rb#9131
3340
- def _reduce_104(val, _values, result); end
3341
-
3342
- # source://parser//lib/parser/ruby32.rb#9137
3343
- def _reduce_105(val, _values, result); end
3344
-
3345
- # source://parser//lib/parser/ruby32.rb#9143
3346
- def _reduce_106(val, _values, result); end
3347
-
3348
- # source://parser//lib/parser/ruby32.rb#9149
3349
- def _reduce_107(val, _values, result); end
3350
-
3351
- # source://parser//lib/parser/ruby32.rb#9155
3352
- def _reduce_108(val, _values, result); end
3353
-
3354
- # source://parser//lib/parser/ruby32.rb#9161
3355
- def _reduce_109(val, _values, result); end
3356
-
3357
- # source://parser//lib/parser/ruby32.rb#8481
3358
- def _reduce_11(val, _values, result); end
3359
-
3360
- # source://parser//lib/parser/ruby32.rb#9167
3361
- def _reduce_110(val, _values, result); end
3362
-
3363
- # source://parser//lib/parser/ruby32.rb#9177
3364
- def _reduce_111(val, _values, result); end
3365
-
3366
- # source://parser//lib/parser/ruby32.rb#9183
3367
- def _reduce_112(val, _values, result); end
3368
-
3369
- # source://parser//lib/parser/ruby32.rb#9193
3370
- def _reduce_113(val, _values, result); end
3371
-
3372
- # source://parser//lib/parser/ruby32.rb#9200
3373
- def _reduce_114(val, _values, result); end
3374
-
3375
- # source://parser//lib/parser/ruby32.rb#9207
3376
- def _reduce_115(val, _values, result); end
3377
-
3378
- # source://parser//lib/parser/ruby32.rb#9213
3379
- def _reduce_116(val, _values, result); end
3380
-
3381
- # source://parser//lib/parser/ruby32.rb#9219
3382
- def _reduce_117(val, _values, result); end
3335
+ # source://parser//lib/parser/source/buffer.rb#110
3336
+ def initialize(name, first_line = T.unsafe(nil), source: T.unsafe(nil)); end
3383
3337
 
3384
- # source://parser//lib/parser/ruby32.rb#9225
3385
- def _reduce_118(val, _values, result); end
3338
+ # Convert a character index into the source to a column number.
3339
+ #
3340
+ # @api private
3341
+ # @param position [Integer]
3342
+ # @return [Integer] column
3343
+ #
3344
+ # source://parser//lib/parser/source/buffer.rb#247
3345
+ def column_for_position(position); end
3386
3346
 
3387
- # source://parser//lib/parser/ruby32.rb#9231
3388
- def _reduce_119(val, _values, result); end
3347
+ # Convert a character index into the source to a `[line, column]` tuple.
3348
+ #
3349
+ # @api public
3350
+ # @param position [Integer]
3351
+ # @return [[Integer, Integer]] `[line, column]`
3352
+ #
3353
+ # source://parser//lib/parser/source/buffer.rb#222
3354
+ def decompose_position(position); end
3389
3355
 
3390
- # source://parser//lib/parser/ruby32.rb#8498
3391
- def _reduce_12(val, _values, result); end
3356
+ # First line of the buffer, 1 by default.
3357
+ #
3358
+ # @api public
3359
+ # @return [Integer] first line
3360
+ #
3361
+ # source://parser//lib/parser/source/buffer.rb#26
3362
+ def first_line; end
3392
3363
 
3393
- # source://parser//lib/parser/ruby32.rb#9237
3394
- def _reduce_120(val, _values, result); end
3364
+ # @api public
3365
+ #
3366
+ # source://parser//lib/parser/source/buffer.rb#317
3367
+ def freeze; end
3395
3368
 
3396
- # source://parser//lib/parser/ruby32.rb#9243
3397
- def _reduce_121(val, _values, result); end
3369
+ # @api public
3370
+ #
3371
+ # source://parser//lib/parser/source/buffer.rb#323
3372
+ def inspect; end
3398
3373
 
3399
- # source://parser//lib/parser/ruby32.rb#9249
3400
- def _reduce_122(val, _values, result); end
3374
+ # Number of last line in the buffer
3375
+ #
3376
+ # @api public
3377
+ # @return [Integer]
3378
+ #
3379
+ # source://parser//lib/parser/source/buffer.rb#312
3380
+ def last_line; end
3401
3381
 
3402
- # source://parser//lib/parser/ruby32.rb#9256
3403
- def _reduce_123(val, _values, result); end
3382
+ # Convert a character index into the source to a line number.
3383
+ #
3384
+ # @api private
3385
+ # @param position [Integer]
3386
+ # @return [Integer] line
3387
+ #
3388
+ # source://parser//lib/parser/source/buffer.rb#236
3389
+ def line_for_position(position); end
3404
3390
 
3405
- # source://parser//lib/parser/ruby32.rb#9263
3406
- def _reduce_124(val, _values, result); end
3391
+ # Extract line `lineno` as a new `Range`, taking `first_line` into account.
3392
+ #
3393
+ # @api public
3394
+ # @param lineno [Integer]
3395
+ # @raise [IndexError] if `lineno` is out of bounds
3396
+ # @return [Range]
3397
+ #
3398
+ # source://parser//lib/parser/source/buffer.rb#289
3399
+ def line_range(lineno); end
3407
3400
 
3408
- # source://parser//lib/parser/ruby32.rb#9269
3409
- def _reduce_125(val, _values, result); end
3401
+ # Buffer name. If the buffer was created from a file, the name corresponds
3402
+ # to relative path to the file.
3403
+ #
3404
+ # @api public
3405
+ # @return [String] buffer name
3406
+ #
3407
+ # source://parser//lib/parser/source/buffer.rb#26
3408
+ def name; end
3410
3409
 
3411
- # reduce 126 omitted
3410
+ # Populate this buffer from a string without encoding autodetection.
3411
+ #
3412
+ # @api public
3413
+ # @param input [String]
3414
+ # @raise [ArgumentError] if already populated
3415
+ # @return [String]
3412
3416
  #
3413
- # source://parser//lib/parser/ruby32.rb#9277
3414
- def _reduce_127(val, _values, result); end
3417
+ # source://parser//lib/parser/source/buffer.rb#185
3418
+ def raw_source=(input); end
3415
3419
 
3416
- # source://parser//lib/parser/ruby32.rb#9283
3417
- def _reduce_128(val, _values, result); end
3420
+ # Populate this buffer from correspondingly named file.
3421
+ #
3422
+ # @api public
3423
+ # @example
3424
+ # Parser::Source::Buffer.new('foo/bar.rb').read
3425
+ # @raise [ArgumentError] if already populated
3426
+ # @return [Buffer] self
3427
+ #
3428
+ # source://parser//lib/parser/source/buffer.rb#136
3429
+ def read; end
3418
3430
 
3419
- # source://parser//lib/parser/ruby32.rb#9289
3420
- def _reduce_129(val, _values, result); end
3431
+ # @api public
3432
+ #
3433
+ # source://parser//lib/parser/source/buffer.rb#199
3434
+ def slice(start, length = T.unsafe(nil)); end
3421
3435
 
3422
- # source://parser//lib/parser/ruby32.rb#8504
3423
- def _reduce_13(val, _values, result); end
3436
+ # Source code contained in this buffer.
3437
+ #
3438
+ # @api public
3439
+ # @raise [RuntimeError] if buffer is not populated yet
3440
+ # @return [String] source code
3441
+ #
3442
+ # source://parser//lib/parser/source/buffer.rb#150
3443
+ def source; end
3424
3444
 
3425
- # reduce 134 omitted
3445
+ # Populate this buffer from a string with encoding autodetection.
3446
+ # `input` is mutated if not frozen.
3426
3447
  #
3427
- # source://parser//lib/parser/ruby32.rb#9305
3428
- def _reduce_135(val, _values, result); end
3448
+ # @api public
3449
+ # @param input [String]
3450
+ # @raise [ArgumentError] if already populated
3451
+ # @raise [EncodingError] if `input` includes invalid byte sequence for the encoding
3452
+ # @return [String]
3453
+ #
3454
+ # source://parser//lib/parser/source/buffer.rb#167
3455
+ def source=(input); end
3429
3456
 
3430
- # reduce 136 omitted
3457
+ # Extract line `lineno` from source, taking `first_line` into account.
3431
3458
  #
3432
- # source://parser//lib/parser/ruby32.rb#9313
3433
- def _reduce_137(val, _values, result); end
3459
+ # @api public
3460
+ # @param lineno [Integer]
3461
+ # @raise [IndexError] if `lineno` is out of bounds
3462
+ # @return [String]
3463
+ #
3464
+ # source://parser//lib/parser/source/buffer.rb#278
3465
+ def source_line(lineno); end
3434
3466
 
3435
- # source://parser//lib/parser/ruby32.rb#9319
3436
- def _reduce_138(val, _values, result); end
3467
+ # Return an `Array` of source code lines.
3468
+ #
3469
+ # @api public
3470
+ # @return [Array<String>]
3471
+ #
3472
+ # source://parser//lib/parser/source/buffer.rb#257
3473
+ def source_lines; end
3437
3474
 
3438
- # source://parser//lib/parser/ruby32.rb#9325
3439
- def _reduce_139(val, _values, result); end
3475
+ # @api public
3476
+ # @return [Range] A range covering the whole source
3477
+ #
3478
+ # source://parser//lib/parser/source/buffer.rb#303
3479
+ def source_range; end
3440
3480
 
3441
- # source://parser//lib/parser/ruby32.rb#8510
3442
- def _reduce_14(val, _values, result); end
3481
+ private
3443
3482
 
3444
- # source://parser//lib/parser/ruby32.rb#8516
3445
- def _reduce_15(val, _values, result); end
3483
+ # @api public
3484
+ #
3485
+ # source://parser//lib/parser/source/buffer.rb#353
3486
+ def bsearch(line_begins, position); end
3446
3487
 
3447
- # source://parser//lib/parser/ruby32.rb#8522
3448
- def _reduce_16(val, _values, result); end
3488
+ # @api public
3489
+ #
3490
+ # source://parser//lib/parser/source/buffer.rb#330
3491
+ def line_begins; end
3449
3492
 
3450
- # reduce 17 omitted
3493
+ # @api public
3451
3494
  #
3452
- # source://parser//lib/parser/ruby32.rb#8530
3453
- def _reduce_18(val, _values, result); end
3495
+ # source://parser//lib/parser/source/buffer.rb#344
3496
+ def line_index_for_position(position); end
3454
3497
 
3455
- # source://parser//lib/parser/ruby32.rb#8536
3456
- def _reduce_19(val, _values, result); end
3498
+ class << self
3499
+ # Try to recognize encoding of `string` as Ruby would, i.e. by looking for
3500
+ # magic encoding comment or UTF-8 BOM. `string` can be in any encoding.
3501
+ #
3502
+ # @api public
3503
+ # @param string [String]
3504
+ # @raise [Parser::UnknownEncodingInMagicComment] if the encoding is not recognized
3505
+ # @return [String, nil] encoding name, if recognized
3506
+ #
3507
+ # source://parser//lib/parser/source/buffer.rb#52
3508
+ def recognize_encoding(string); end
3457
3509
 
3458
- # source://parser//lib/parser/ruby32.rb#8428
3459
- def _reduce_2(val, _values, result); end
3510
+ # Recognize encoding of `input` and process it so it could be lexed.
3511
+ #
3512
+ # * If `input` does not contain BOM or magic encoding comment, it is
3513
+ # kept in the original encoding.
3514
+ # * If the detected encoding is binary, `input` is kept in binary.
3515
+ # * Otherwise, `input` is re-encoded into UTF-8 and returned as a
3516
+ # new string.
3517
+ #
3518
+ # This method mutates the encoding of `input`, but not its content.
3519
+ #
3520
+ # @api public
3521
+ # @param input [String]
3522
+ # @raise [EncodingError]
3523
+ # @return [String]
3524
+ #
3525
+ # source://parser//lib/parser/source/buffer.rb#95
3526
+ def reencode_string(input); end
3527
+ end
3528
+ end
3460
3529
 
3461
- # source://parser//lib/parser/ruby32.rb#8542
3462
- def _reduce_20(val, _values, result); end
3530
+ # @api private
3531
+ #
3532
+ # source://parser//lib/parser/source/buffer.rb#31
3533
+ Parser::Source::Buffer::ENCODING_RE = T.let(T.unsafe(nil), Regexp)
3463
3534
 
3464
- # source://parser//lib/parser/ruby32.rb#8548
3465
- def _reduce_21(val, _values, result); end
3535
+ # A comment in the source code.
3536
+ #
3537
+ # @api public
3538
+ #
3539
+ # source://parser//lib/parser/source/comment.rb#17
3540
+ class Parser::Source::Comment
3541
+ # @api public
3542
+ # @param range [Parser::Source::Range]
3543
+ # @return [Comment] a new instance of Comment
3544
+ #
3545
+ # source://parser//lib/parser/source/comment.rb#67
3546
+ def initialize(range); end
3466
3547
 
3467
- # reduce 210 omitted
3548
+ # Compares comments. Two comments are equal if they
3549
+ # correspond to the same source range.
3550
+ #
3551
+ # @api public
3552
+ # @param other [Object]
3553
+ # @return [Boolean]
3468
3554
  #
3469
- # source://parser//lib/parser/ruby32.rb#9473
3470
- def _reduce_211(val, _values, result); end
3555
+ # source://parser//lib/parser/source/comment.rb#120
3556
+ def ==(other); end
3471
3557
 
3472
- # source://parser//lib/parser/ruby32.rb#9479
3473
- def _reduce_212(val, _values, result); end
3558
+ # @api public
3559
+ # @return [Boolean] true if this is a block comment.
3560
+ # @see #type
3561
+ #
3562
+ # source://parser//lib/parser/source/comment.rb#109
3563
+ def document?; end
3474
3564
 
3475
- # source://parser//lib/parser/ruby32.rb#9485
3476
- def _reduce_213(val, _values, result); end
3477
-
3478
- # source://parser//lib/parser/ruby32.rb#9494
3479
- def _reduce_214(val, _values, result); end
3480
-
3481
- # source://parser//lib/parser/ruby32.rb#9503
3482
- def _reduce_215(val, _values, result); end
3483
-
3484
- # source://parser//lib/parser/ruby32.rb#9512
3485
- def _reduce_216(val, _values, result); end
3486
-
3487
- # source://parser//lib/parser/ruby32.rb#9521
3488
- def _reduce_217(val, _values, result); end
3489
-
3490
- # source://parser//lib/parser/ruby32.rb#9529
3491
- def _reduce_218(val, _values, result); end
3492
-
3493
- # source://parser//lib/parser/ruby32.rb#9537
3494
- def _reduce_219(val, _values, result); end
3495
-
3496
- # source://parser//lib/parser/ruby32.rb#8556
3497
- def _reduce_22(val, _values, result); end
3498
-
3499
- # source://parser//lib/parser/ruby32.rb#9543
3500
- def _reduce_220(val, _values, result); end
3501
-
3502
- # source://parser//lib/parser/ruby32.rb#9549
3503
- def _reduce_221(val, _values, result); end
3504
-
3505
- # source://parser//lib/parser/ruby32.rb#9555
3506
- def _reduce_222(val, _values, result); end
3507
-
3508
- # source://parser//lib/parser/ruby32.rb#9561
3509
- def _reduce_223(val, _values, result); end
3510
-
3511
- # source://parser//lib/parser/ruby32.rb#9567
3512
- def _reduce_224(val, _values, result); end
3513
-
3514
- # source://parser//lib/parser/ruby32.rb#9573
3515
- def _reduce_225(val, _values, result); end
3516
-
3517
- # source://parser//lib/parser/ruby32.rb#9579
3518
- def _reduce_226(val, _values, result); end
3519
-
3520
- # source://parser//lib/parser/ruby32.rb#9585
3521
- def _reduce_227(val, _values, result); end
3522
-
3523
- # source://parser//lib/parser/ruby32.rb#9591
3524
- def _reduce_228(val, _values, result); end
3525
-
3526
- # source://parser//lib/parser/ruby32.rb#9597
3527
- def _reduce_229(val, _values, result); end
3528
-
3529
- # source://parser//lib/parser/ruby32.rb#8564
3530
- def _reduce_23(val, _values, result); end
3531
-
3532
- # source://parser//lib/parser/ruby32.rb#9603
3533
- def _reduce_230(val, _values, result); end
3534
-
3535
- # source://parser//lib/parser/ruby32.rb#9609
3536
- def _reduce_231(val, _values, result); end
3537
-
3538
- # source://parser//lib/parser/ruby32.rb#9615
3539
- def _reduce_232(val, _values, result); end
3540
-
3541
- # source://parser//lib/parser/ruby32.rb#9623
3542
- def _reduce_233(val, _values, result); end
3543
-
3544
- # source://parser//lib/parser/ruby32.rb#9629
3545
- def _reduce_234(val, _values, result); end
3546
-
3547
- # source://parser//lib/parser/ruby32.rb#9635
3548
- def _reduce_235(val, _values, result); end
3549
-
3550
- # source://parser//lib/parser/ruby32.rb#9641
3551
- def _reduce_236(val, _values, result); end
3552
-
3553
- # source://parser//lib/parser/ruby32.rb#9647
3554
- def _reduce_237(val, _values, result); end
3555
-
3556
- # source://parser//lib/parser/ruby32.rb#9653
3557
- def _reduce_238(val, _values, result); end
3558
-
3559
- # source://parser//lib/parser/ruby32.rb#8570
3560
- def _reduce_24(val, _values, result); end
3561
-
3562
- # reduce 239 omitted
3563
- #
3564
- # source://parser//lib/parser/ruby32.rb#9661
3565
- def _reduce_240(val, _values, result); end
3566
-
3567
- # source://parser//lib/parser/ruby32.rb#9667
3568
- def _reduce_241(val, _values, result); end
3569
-
3570
- # source://parser//lib/parser/ruby32.rb#9673
3571
- def _reduce_242(val, _values, result); end
3572
-
3573
- # source://parser//lib/parser/ruby32.rb#9679
3574
- def _reduce_243(val, _values, result); end
3575
-
3576
- # source://parser//lib/parser/ruby32.rb#9685
3577
- def _reduce_244(val, _values, result); end
3578
-
3579
- # source://parser//lib/parser/ruby32.rb#9691
3580
- def _reduce_245(val, _values, result); end
3581
-
3582
- # source://parser//lib/parser/ruby32.rb#9697
3583
- def _reduce_246(val, _values, result); end
3584
-
3585
- # source://parser//lib/parser/ruby32.rb#9703
3586
- def _reduce_247(val, _values, result); end
3587
-
3588
- # source://parser//lib/parser/ruby32.rb#9709
3589
- def _reduce_248(val, _values, result); end
3590
-
3591
- # source://parser//lib/parser/ruby32.rb#9715
3592
- def _reduce_249(val, _values, result); end
3593
-
3594
- # source://parser//lib/parser/ruby32.rb#8576
3595
- def _reduce_25(val, _values, result); end
3596
-
3597
- # source://parser//lib/parser/ruby32.rb#9721
3598
- def _reduce_250(val, _values, result); end
3599
-
3600
- # source://parser//lib/parser/ruby32.rb#9727
3601
- def _reduce_251(val, _values, result); end
3602
-
3603
- # source://parser//lib/parser/ruby32.rb#9733
3604
- def _reduce_252(val, _values, result); end
3605
-
3606
- # source://parser//lib/parser/ruby32.rb#9740
3607
- def _reduce_253(val, _values, result); end
3608
-
3609
- # source://parser//lib/parser/ruby32.rb#9747
3610
- def _reduce_254(val, _values, result); end
3611
-
3612
- # source://parser//lib/parser/ruby32.rb#9761
3613
- def _reduce_255(val, _values, result); end
3614
-
3615
- # source://parser//lib/parser/ruby32.rb#9781
3616
- def _reduce_256(val, _values, result); end
3617
-
3618
- # source://parser//lib/parser/ruby32.rb#9795
3619
- def _reduce_257(val, _values, result); end
3620
-
3621
- # source://parser//lib/parser/ruby32.rb#8583
3622
- def _reduce_26(val, _values, result); end
3623
-
3624
- # reduce 262 omitted
3625
- #
3626
- # source://parser//lib/parser/ruby32.rb#9825
3627
- def _reduce_263(val, _values, result); end
3628
-
3629
- # source://parser//lib/parser/ruby32.rb#9831
3630
- def _reduce_264(val, _values, result); end
3631
-
3632
- # reduce 267 omitted
3633
- #
3634
- # source://parser//lib/parser/ruby32.rb#9843
3635
- def _reduce_268(val, _values, result); end
3636
-
3637
- # source://parser//lib/parser/ruby32.rb#9849
3638
- def _reduce_269(val, _values, result); end
3639
-
3640
- # source://parser//lib/parser/ruby32.rb#8590
3641
- def _reduce_27(val, _values, result); end
3642
-
3643
- # reduce 270 omitted
3644
- #
3645
- # source://parser//lib/parser/ruby32.rb#9857
3646
- def _reduce_271(val, _values, result); end
3647
-
3648
- # source://parser//lib/parser/ruby32.rb#9867
3649
- def _reduce_272(val, _values, result); end
3650
-
3651
- # source://parser//lib/parser/ruby32.rb#9873
3652
- def _reduce_273(val, _values, result); end
3653
-
3654
- # source://parser//lib/parser/ruby32.rb#9883
3655
- def _reduce_274(val, _values, result); end
3656
-
3657
- # source://parser//lib/parser/ruby32.rb#9893
3658
- def _reduce_275(val, _values, result); end
3659
-
3660
- # reduce 276 omitted
3661
- #
3662
- # source://parser//lib/parser/ruby32.rb#9901
3663
- def _reduce_277(val, _values, result); end
3664
-
3665
- # source://parser//lib/parser/ruby32.rb#8596
3666
- def _reduce_28(val, _values, result); end
3667
-
3668
- # reduce 279 omitted
3669
- #
3670
- # source://parser//lib/parser/ruby32.rb#9911
3671
- def _reduce_280(val, _values, result); end
3672
-
3673
- # source://parser//lib/parser/ruby32.rb#9917
3674
- def _reduce_281(val, _values, result); end
3675
-
3676
- # source://parser//lib/parser/ruby32.rb#9923
3677
- def _reduce_282(val, _values, result); end
3678
-
3679
- # source://parser//lib/parser/ruby32.rb#9929
3680
- def _reduce_283(val, _values, result); end
3681
-
3682
- # source://parser//lib/parser/ruby32.rb#9935
3683
- def _reduce_284(val, _values, result); end
3684
-
3685
- # source://parser//lib/parser/ruby32.rb#9942
3686
- def _reduce_285(val, _values, result); end
3687
-
3688
- # source://parser//lib/parser/ruby32.rb#9950
3689
- def _reduce_286(val, _values, result); end
3690
-
3691
- # source://parser//lib/parser/ruby32.rb#9956
3692
- def _reduce_287(val, _values, result); end
3693
-
3694
- # source://parser//lib/parser/ruby32.rb#9983
3695
- def _reduce_288(val, _values, result); end
3696
-
3697
- # source://parser//lib/parser/ruby32.rb#10004
3698
- def _reduce_289(val, _values, result); end
3699
-
3700
- # source://parser//lib/parser/ruby32.rb#8602
3701
- def _reduce_29(val, _values, result); end
3702
-
3703
- # source://parser//lib/parser/ruby32.rb#10010
3704
- def _reduce_290(val, _values, result); end
3705
-
3706
- # source://parser//lib/parser/ruby32.rb#10020
3707
- def _reduce_291(val, _values, result); end
3708
-
3709
- # source://parser//lib/parser/ruby32.rb#10026
3710
- def _reduce_292(val, _values, result); end
3711
-
3712
- # source://parser//lib/parser/ruby32.rb#10032
3713
- def _reduce_293(val, _values, result); end
3714
-
3715
- # source://parser//lib/parser/ruby32.rb#10038
3716
- def _reduce_294(val, _values, result); end
3717
-
3718
- # source://parser//lib/parser/ruby32.rb#10044
3719
- def _reduce_295(val, _values, result); end
3720
-
3721
- # source://parser//lib/parser/ruby32.rb#10054
3722
- def _reduce_296(val, _values, result); end
3723
-
3724
- # source://parser//lib/parser/ruby32.rb#10060
3725
- def _reduce_297(val, _values, result); end
3726
-
3727
- # source://parser//lib/parser/ruby32.rb#10066
3728
- def _reduce_298(val, _values, result); end
3729
-
3730
- # source://parser//lib/parser/ruby32.rb#10076
3731
- def _reduce_299(val, _values, result); end
3732
-
3733
- # source://parser//lib/parser/ruby32.rb#8437
3734
- def _reduce_3(val, _values, result); end
3735
-
3736
- # source://parser//lib/parser/ruby32.rb#8612
3737
- def _reduce_30(val, _values, result); end
3738
-
3739
- # reduce 300 omitted
3740
- #
3741
- # source://parser//lib/parser/ruby32.rb#10084
3742
- def _reduce_301(val, _values, result); end
3743
-
3744
- # source://parser//lib/parser/ruby32.rb#10090
3745
- def _reduce_302(val, _values, result); end
3746
-
3747
- # source://parser//lib/parser/ruby32.rb#10096
3748
- def _reduce_303(val, _values, result); end
3749
-
3750
- # reduce 313 omitted
3751
- #
3752
- # source://parser//lib/parser/ruby32.rb#10122
3753
- def _reduce_314(val, _values, result); end
3754
-
3755
- # source://parser//lib/parser/ruby32.rb#10128
3756
- def _reduce_315(val, _values, result); end
3757
-
3758
- # source://parser//lib/parser/ruby32.rb#10134
3759
- def _reduce_316(val, _values, result); end
3760
-
3761
- # source://parser//lib/parser/ruby32.rb#10142
3762
- def _reduce_317(val, _values, result); end
3763
-
3764
- # source://parser//lib/parser/ruby32.rb#10148
3765
- def _reduce_318(val, _values, result); end
3766
-
3767
- # source://parser//lib/parser/ruby32.rb#10154
3768
- def _reduce_319(val, _values, result); end
3769
-
3770
- # reduce 31 omitted
3771
- #
3772
- # source://parser//lib/parser/ruby32.rb#8620
3773
- def _reduce_32(val, _values, result); end
3774
-
3775
- # source://parser//lib/parser/ruby32.rb#10160
3776
- def _reduce_320(val, _values, result); end
3777
-
3778
- # source://parser//lib/parser/ruby32.rb#10166
3779
- def _reduce_321(val, _values, result); end
3780
-
3781
- # source://parser//lib/parser/ruby32.rb#10172
3782
- def _reduce_322(val, _values, result); end
3783
-
3784
- # source://parser//lib/parser/ruby32.rb#10178
3785
- def _reduce_323(val, _values, result); end
3786
-
3787
- # source://parser//lib/parser/ruby32.rb#10184
3788
- def _reduce_324(val, _values, result); end
3789
-
3790
- # source://parser//lib/parser/ruby32.rb#10190
3791
- def _reduce_325(val, _values, result); end
3792
-
3793
- # source://parser//lib/parser/ruby32.rb#10196
3794
- def _reduce_326(val, _values, result); end
3795
-
3796
- # source://parser//lib/parser/ruby32.rb#10202
3797
- def _reduce_327(val, _values, result); end
3798
-
3799
- # source://parser//lib/parser/ruby32.rb#10208
3800
- def _reduce_328(val, _values, result); end
3801
-
3802
- # source://parser//lib/parser/ruby32.rb#10214
3803
- def _reduce_329(val, _values, result); end
3804
-
3805
- # source://parser//lib/parser/ruby32.rb#8626
3806
- def _reduce_33(val, _values, result); end
3807
-
3808
- # source://parser//lib/parser/ruby32.rb#10220
3809
- def _reduce_330(val, _values, result); end
3810
-
3811
- # source://parser//lib/parser/ruby32.rb#10226
3812
- def _reduce_331(val, _values, result); end
3813
-
3814
- # source://parser//lib/parser/ruby32.rb#10234
3815
- def _reduce_332(val, _values, result); end
3816
-
3817
- # source://parser//lib/parser/ruby32.rb#10240
3818
- def _reduce_333(val, _values, result); end
3819
-
3820
- # source://parser//lib/parser/ruby32.rb#10246
3821
- def _reduce_334(val, _values, result); end
3822
-
3823
- # reduce 335 omitted
3824
- #
3825
- # source://parser//lib/parser/ruby32.rb#10258
3826
- def _reduce_336(val, _values, result); end
3827
-
3828
- # reduce 337 omitted
3829
- #
3830
- # source://parser//lib/parser/ruby32.rb#10268
3831
- def _reduce_338(val, _values, result); end
3832
-
3833
- # source://parser//lib/parser/ruby32.rb#10277
3834
- def _reduce_339(val, _values, result); end
3835
-
3836
- # source://parser//lib/parser/ruby32.rb#8633
3837
- def _reduce_34(val, _values, result); end
3838
-
3839
- # source://parser//lib/parser/ruby32.rb#10286
3840
- def _reduce_340(val, _values, result); end
3841
-
3842
- # source://parser//lib/parser/ruby32.rb#10292
3843
- def _reduce_341(val, _values, result); end
3844
-
3845
- # source://parser//lib/parser/ruby32.rb#10298
3846
- def _reduce_342(val, _values, result); end
3847
-
3848
- # source://parser//lib/parser/ruby32.rb#10308
3849
- def _reduce_343(val, _values, result); end
3850
-
3851
- # source://parser//lib/parser/ruby32.rb#10318
3852
- def _reduce_344(val, _values, result); end
3853
-
3854
- # source://parser//lib/parser/ruby32.rb#10328
3855
- def _reduce_345(val, _values, result); end
3856
-
3857
- # source://parser//lib/parser/ruby32.rb#10334
3858
- def _reduce_346(val, _values, result); end
3859
-
3860
- # source://parser//lib/parser/ruby32.rb#10341
3861
- def _reduce_347(val, _values, result); end
3862
-
3863
- # source://parser//lib/parser/ruby32.rb#10357
3864
- def _reduce_348(val, _values, result); end
3865
-
3866
- # source://parser//lib/parser/ruby32.rb#10365
3867
- def _reduce_349(val, _values, result); end
3868
-
3869
- # source://parser//lib/parser/ruby32.rb#8644
3870
- def _reduce_35(val, _values, result); end
3871
-
3872
- # source://parser//lib/parser/ruby32.rb#10377
3873
- def _reduce_350(val, _values, result); end
3874
-
3875
- # source://parser//lib/parser/ruby32.rb#10384
3876
- def _reduce_351(val, _values, result); end
3877
-
3878
- # source://parser//lib/parser/ruby32.rb#10398
3879
- def _reduce_352(val, _values, result); end
3880
-
3881
- # source://parser//lib/parser/ruby32.rb#10410
3882
- def _reduce_353(val, _values, result); end
3883
-
3884
- # source://parser//lib/parser/ruby32.rb#10422
3885
- def _reduce_354(val, _values, result); end
3886
-
3887
- # source://parser//lib/parser/ruby32.rb#10428
3888
- def _reduce_355(val, _values, result); end
3889
-
3890
- # source://parser//lib/parser/ruby32.rb#10434
3891
- def _reduce_356(val, _values, result); end
3892
-
3893
- # source://parser//lib/parser/ruby32.rb#10440
3894
- def _reduce_357(val, _values, result); end
3895
-
3896
- # reduce 358 omitted
3897
- #
3898
- # source://parser//lib/parser/ruby32.rb#10448
3899
- def _reduce_359(val, _values, result); end
3900
-
3901
- # source://parser//lib/parser/ruby32.rb#10454
3902
- def _reduce_360(val, _values, result); end
3903
-
3904
- # source://parser//lib/parser/ruby32.rb#10460
3905
- def _reduce_361(val, _values, result); end
3906
-
3907
- # source://parser//lib/parser/ruby32.rb#10467
3908
- def _reduce_362(val, _values, result); end
3909
-
3910
- # reduce 364 omitted
3911
- #
3912
- # source://parser//lib/parser/ruby32.rb#10479
3913
- def _reduce_365(val, _values, result); end
3914
-
3915
- # reduce 368 omitted
3916
- #
3917
- # source://parser//lib/parser/ruby32.rb#10491
3918
- def _reduce_369(val, _values, result); end
3919
-
3920
- # reduce 36 omitted
3921
- #
3922
- # source://parser//lib/parser/ruby32.rb#8652
3923
- def _reduce_37(val, _values, result); end
3924
-
3925
- # reduce 370 omitted
3926
- #
3927
- # source://parser//lib/parser/ruby32.rb#10504
3928
- def _reduce_371(val, _values, result); end
3929
-
3930
- # reduce 373 omitted
3931
- #
3932
- # source://parser//lib/parser/ruby32.rb#10514
3933
- def _reduce_374(val, _values, result); end
3934
-
3935
- # source://parser//lib/parser/ruby32.rb#10520
3936
- def _reduce_375(val, _values, result); end
3937
-
3938
- # source://parser//lib/parser/ruby32.rb#10526
3939
- def _reduce_376(val, _values, result); end
3940
-
3941
- # source://parser//lib/parser/ruby32.rb#10532
3942
- def _reduce_377(val, _values, result); end
3943
-
3944
- # reduce 378 omitted
3945
- #
3946
- # source://parser//lib/parser/ruby32.rb#10540
3947
- def _reduce_379(val, _values, result); end
3948
-
3949
- # source://parser//lib/parser/ruby32.rb#8658
3950
- def _reduce_38(val, _values, result); end
3951
-
3952
- # source://parser//lib/parser/ruby32.rb#10547
3953
- def _reduce_380(val, _values, result); end
3954
-
3955
- # source://parser//lib/parser/ruby32.rb#10555
3956
- def _reduce_381(val, _values, result); end
3957
-
3958
- # source://parser//lib/parser/ruby32.rb#10561
3959
- def _reduce_382(val, _values, result); end
3960
-
3961
- # source://parser//lib/parser/ruby32.rb#10567
3962
- def _reduce_383(val, _values, result); end
3963
-
3964
- # source://parser//lib/parser/ruby32.rb#10573
3965
- def _reduce_384(val, _values, result); end
3966
-
3967
- # reduce 386 omitted
3968
- #
3969
- # source://parser//lib/parser/ruby32.rb#10583
3970
- def _reduce_387(val, _values, result); end
3971
-
3972
- # source://parser//lib/parser/ruby32.rb#10589
3973
- def _reduce_388(val, _values, result); end
3974
-
3975
- # source://parser//lib/parser/ruby32.rb#10595
3976
- def _reduce_389(val, _values, result); end
3977
-
3978
- # source://parser//lib/parser/ruby32.rb#8664
3979
- def _reduce_39(val, _values, result); end
3980
-
3981
- # source://parser//lib/parser/ruby32.rb#10601
3982
- def _reduce_390(val, _values, result); end
3983
-
3984
- # source://parser//lib/parser/ruby32.rb#10607
3985
- def _reduce_391(val, _values, result); end
3986
-
3987
- # source://parser//lib/parser/ruby32.rb#10613
3988
- def _reduce_392(val, _values, result); end
3989
-
3990
- # source://parser//lib/parser/ruby32.rb#10619
3991
- def _reduce_393(val, _values, result); end
3992
-
3993
- # source://parser//lib/parser/ruby32.rb#10625
3994
- def _reduce_394(val, _values, result); end
3995
-
3996
- # reduce 395 omitted
3997
- #
3998
- # source://parser//lib/parser/ruby32.rb#10633
3999
- def _reduce_396(val, _values, result); end
4000
-
4001
- # source://parser//lib/parser/ruby32.rb#10642
4002
- def _reduce_397(val, _values, result); end
4003
-
4004
- # source://parser//lib/parser/ruby32.rb#10652
4005
- def _reduce_398(val, _values, result); end
4006
-
4007
- # source://parser//lib/parser/ruby32.rb#10660
4008
- def _reduce_399(val, _values, result); end
4009
-
4010
- # source://parser//lib/parser/ruby32.rb#8443
4011
- def _reduce_4(val, _values, result); end
4012
-
4013
- # source://parser//lib/parser/ruby32.rb#8673
4014
- def _reduce_40(val, _values, result); end
4015
-
4016
- # source://parser//lib/parser/ruby32.rb#10669
4017
- def _reduce_400(val, _values, result); end
4018
-
4019
- # reduce 401 omitted
4020
- #
4021
- # source://parser//lib/parser/ruby32.rb#10679
4022
- def _reduce_402(val, _values, result); end
4023
-
4024
- # source://parser//lib/parser/ruby32.rb#10688
4025
- def _reduce_403(val, _values, result); end
4026
-
4027
- # source://parser//lib/parser/ruby32.rb#10698
4028
- def _reduce_404(val, _values, result); end
4029
-
4030
- # source://parser//lib/parser/ruby32.rb#10706
4031
- def _reduce_405(val, _values, result); end
4032
-
4033
- # source://parser//lib/parser/ruby32.rb#10715
4034
- def _reduce_406(val, _values, result); end
4035
-
4036
- # source://parser//lib/parser/ruby32.rb#10722
4037
- def _reduce_407(val, _values, result); end
4038
-
4039
- # source://parser//lib/parser/ruby32.rb#10730
4040
- def _reduce_408(val, _values, result); end
4041
-
4042
- # source://parser//lib/parser/ruby32.rb#10737
4043
- def _reduce_409(val, _values, result); end
4044
-
4045
- # source://parser//lib/parser/ruby32.rb#8682
4046
- def _reduce_41(val, _values, result); end
4047
-
4048
- # reduce 410 omitted
4049
- #
4050
- # source://parser//lib/parser/ruby32.rb#10747
4051
- def _reduce_411(val, _values, result); end
4052
-
4053
- # source://parser//lib/parser/ruby32.rb#10753
4054
- def _reduce_412(val, _values, result); end
4055
-
4056
- # source://parser//lib/parser/ruby32.rb#10759
4057
- def _reduce_413(val, _values, result); end
4058
-
4059
- # source://parser//lib/parser/ruby32.rb#10768
4060
- def _reduce_414(val, _values, result); end
4061
-
4062
- # source://parser//lib/parser/ruby32.rb#10777
4063
- def _reduce_415(val, _values, result); end
4064
-
4065
- # source://parser//lib/parser/ruby32.rb#10783
4066
- def _reduce_416(val, _values, result); end
4067
-
4068
- # source://parser//lib/parser/ruby32.rb#10789
4069
- def _reduce_417(val, _values, result); end
4070
-
4071
- # source://parser//lib/parser/ruby32.rb#10795
4072
- def _reduce_418(val, _values, result); end
4073
-
4074
- # source://parser//lib/parser/ruby32.rb#10801
4075
- def _reduce_419(val, _values, result); end
4076
-
4077
- # source://parser//lib/parser/ruby32.rb#8691
4078
- def _reduce_42(val, _values, result); end
4079
-
4080
- # reduce 420 omitted
4081
- #
4082
- # source://parser//lib/parser/ruby32.rb#10810
4083
- def _reduce_421(val, _values, result); end
4084
-
4085
- # source://parser//lib/parser/ruby32.rb#10819
4086
- def _reduce_422(val, _values, result); end
4087
-
4088
- # source://parser//lib/parser/ruby32.rb#10825
4089
- def _reduce_423(val, _values, result); end
4090
-
4091
- # source://parser//lib/parser/ruby32.rb#10841
4092
- def _reduce_424(val, _values, result); end
4093
-
4094
- # source://parser//lib/parser/ruby32.rb#10849
4095
- def _reduce_425(val, _values, result); end
4096
-
4097
- # source://parser//lib/parser/ruby32.rb#10859
4098
- def _reduce_426(val, _values, result); end
4099
-
4100
- # source://parser//lib/parser/ruby32.rb#10866
4101
- def _reduce_427(val, _values, result); end
4102
-
4103
- # source://parser//lib/parser/ruby32.rb#10873
4104
- def _reduce_428(val, _values, result); end
4105
-
4106
- # source://parser//lib/parser/ruby32.rb#10880
4107
- def _reduce_429(val, _values, result); end
4108
-
4109
- # source://parser//lib/parser/ruby32.rb#8699
4110
- def _reduce_43(val, _values, result); end
4111
-
4112
- # source://parser//lib/parser/ruby32.rb#10887
4113
- def _reduce_430(val, _values, result); end
4114
-
4115
- # source://parser//lib/parser/ruby32.rb#10894
4116
- def _reduce_431(val, _values, result); end
4117
-
4118
- # source://parser//lib/parser/ruby32.rb#10901
4119
- def _reduce_432(val, _values, result); end
4120
-
4121
- # source://parser//lib/parser/ruby32.rb#10909
4122
- def _reduce_433(val, _values, result); end
4123
-
4124
- # source://parser//lib/parser/ruby32.rb#10917
4125
- def _reduce_434(val, _values, result); end
4126
-
4127
- # source://parser//lib/parser/ruby32.rb#10929
4128
- def _reduce_435(val, _values, result); end
4129
-
4130
- # source://parser//lib/parser/ruby32.rb#10940
4131
- def _reduce_436(val, _values, result); end
4132
-
4133
- # source://parser//lib/parser/ruby32.rb#10948
4134
- def _reduce_437(val, _values, result); end
4135
-
4136
- # source://parser//lib/parser/ruby32.rb#10956
4137
- def _reduce_438(val, _values, result); end
4138
-
4139
- # source://parser//lib/parser/ruby32.rb#10964
4140
- def _reduce_439(val, _values, result); end
4141
-
4142
- # source://parser//lib/parser/ruby32.rb#8708
4143
- def _reduce_44(val, _values, result); end
4144
-
4145
- # source://parser//lib/parser/ruby32.rb#10970
4146
- def _reduce_440(val, _values, result); end
4147
-
4148
- # source://parser//lib/parser/ruby32.rb#10978
4149
- def _reduce_441(val, _values, result); end
4150
-
4151
- # source://parser//lib/parser/ruby32.rb#10986
4152
- def _reduce_442(val, _values, result); end
4153
-
4154
- # source://parser//lib/parser/ruby32.rb#10994
4155
- def _reduce_443(val, _values, result); end
4156
-
4157
- # source://parser//lib/parser/ruby32.rb#11000
4158
- def _reduce_444(val, _values, result); end
4159
-
4160
- # source://parser//lib/parser/ruby32.rb#11006
4161
- def _reduce_445(val, _values, result); end
4162
-
4163
- # source://parser//lib/parser/ruby32.rb#11013
4164
- def _reduce_446(val, _values, result); end
4165
-
4166
- # source://parser//lib/parser/ruby32.rb#11020
4167
- def _reduce_447(val, _values, result); end
4168
-
4169
- # source://parser//lib/parser/ruby32.rb#11027
4170
- def _reduce_448(val, _values, result); end
4171
-
4172
- # source://parser//lib/parser/ruby32.rb#11034
4173
- def _reduce_449(val, _values, result); end
4174
-
4175
- # source://parser//lib/parser/ruby32.rb#8722
4176
- def _reduce_45(val, _values, result); end
4177
-
4178
- # source://parser//lib/parser/ruby32.rb#11041
4179
- def _reduce_450(val, _values, result); end
4180
-
4181
- # source://parser//lib/parser/ruby32.rb#11051
4182
- def _reduce_451(val, _values, result); end
4183
-
4184
- # source://parser//lib/parser/ruby32.rb#11058
4185
- def _reduce_452(val, _values, result); end
4186
-
4187
- # source://parser//lib/parser/ruby32.rb#11064
4188
- def _reduce_453(val, _values, result); end
4189
-
4190
- # source://parser//lib/parser/ruby32.rb#11075
4191
- def _reduce_454(val, _values, result); end
4192
-
4193
- # source://parser//lib/parser/ruby32.rb#11082
4194
- def _reduce_455(val, _values, result); end
4195
-
4196
- # reduce 456 omitted
4197
- #
4198
- # source://parser//lib/parser/ruby32.rb#11090
4199
- def _reduce_457(val, _values, result); end
4200
-
4201
- # source://parser//lib/parser/ruby32.rb#11102
4202
- def _reduce_458(val, _values, result); end
4203
-
4204
- # source://parser//lib/parser/ruby32.rb#11110
4205
- def _reduce_459(val, _values, result); end
4206
-
4207
- # source://parser//lib/parser/ruby32.rb#8742
4208
- def _reduce_46(val, _values, result); end
4209
-
4210
- # source://parser//lib/parser/ruby32.rb#11117
4211
- def _reduce_460(val, _values, result); end
4212
-
4213
- # reduce 461 omitted
4214
- #
4215
- # source://parser//lib/parser/ruby32.rb#11125
4216
- def _reduce_462(val, _values, result); end
4217
-
4218
- # source://parser//lib/parser/ruby32.rb#11131
4219
- def _reduce_463(val, _values, result); end
4220
-
4221
- # source://parser//lib/parser/ruby32.rb#11137
4222
- def _reduce_464(val, _values, result); end
4223
-
4224
- # reduce 465 omitted
4225
- #
4226
- # source://parser//lib/parser/ruby32.rb#11145
4227
- def _reduce_466(val, _values, result); end
4228
-
4229
- # source://parser//lib/parser/ruby32.rb#11155
4230
- def _reduce_467(val, _values, result); end
4231
-
4232
- # source://parser//lib/parser/ruby32.rb#11161
4233
- def _reduce_468(val, _values, result); end
4234
-
4235
- # source://parser//lib/parser/ruby32.rb#11167
4236
- def _reduce_469(val, _values, result); end
4237
-
4238
- # source://parser//lib/parser/ruby32.rb#8756
4239
- def _reduce_47(val, _values, result); end
4240
-
4241
- # source://parser//lib/parser/ruby32.rb#11173
4242
- def _reduce_470(val, _values, result); end
4243
-
4244
- # reduce 471 omitted
4245
- #
4246
- # source://parser//lib/parser/ruby32.rb#11181
4247
- def _reduce_472(val, _values, result); end
4248
-
4249
- # reduce 473 omitted
4250
- #
4251
- # source://parser//lib/parser/ruby32.rb#11189
4252
- def _reduce_474(val, _values, result); end
4253
-
4254
- # reduce 475 omitted
4255
- #
4256
- # source://parser//lib/parser/ruby32.rb#11197
4257
- def _reduce_476(val, _values, result); end
4258
-
4259
- # source://parser//lib/parser/ruby32.rb#11204
4260
- def _reduce_477(val, _values, result); end
4261
-
4262
- # source://parser//lib/parser/ruby32.rb#8776
4263
- def _reduce_48(val, _values, result); end
4264
-
4265
- # reduce 479 omitted
4266
- #
4267
- # source://parser//lib/parser/ruby32.rb#11215
4268
- def _reduce_480(val, _values, result); end
4269
-
4270
- # source://parser//lib/parser/ruby32.rb#11223
4271
- def _reduce_481(val, _values, result); end
4272
-
4273
- # source://parser//lib/parser/ruby32.rb#11231
4274
- def _reduce_482(val, _values, result); end
4275
-
4276
- # source://parser//lib/parser/ruby32.rb#11239
4277
- def _reduce_483(val, _values, result); end
4278
-
4279
- # source://parser//lib/parser/ruby32.rb#11246
4280
- def _reduce_484(val, _values, result); end
4281
-
4282
- # source://parser//lib/parser/ruby32.rb#11254
4283
- def _reduce_485(val, _values, result); end
4284
-
4285
- # source://parser//lib/parser/ruby32.rb#11262
4286
- def _reduce_486(val, _values, result); end
4287
-
4288
- # source://parser//lib/parser/ruby32.rb#11270
4289
- def _reduce_487(val, _values, result); end
4290
-
4291
- # source://parser//lib/parser/ruby32.rb#11277
4292
- def _reduce_488(val, _values, result); end
4293
-
4294
- # source://parser//lib/parser/ruby32.rb#11283
4295
- def _reduce_489(val, _values, result); end
4296
-
4297
- # source://parser//lib/parser/ruby32.rb#11289
4298
- def _reduce_490(val, _values, result); end
4299
-
4300
- # source://parser//lib/parser/ruby32.rb#11295
4301
- def _reduce_491(val, _values, result); end
4302
-
4303
- # source://parser//lib/parser/ruby32.rb#11303
4304
- def _reduce_492(val, _values, result); end
4305
-
4306
- # source://parser//lib/parser/ruby32.rb#11311
4307
- def _reduce_493(val, _values, result); end
4308
-
4309
- # source://parser//lib/parser/ruby32.rb#11317
4310
- def _reduce_494(val, _values, result); end
4311
-
4312
- # source://parser//lib/parser/ruby32.rb#11323
4313
- def _reduce_495(val, _values, result); end
4314
-
4315
- # source://parser//lib/parser/ruby32.rb#11330
4316
- def _reduce_496(val, _values, result); end
4317
-
4318
- # source://parser//lib/parser/ruby32.rb#11336
4319
- def _reduce_497(val, _values, result); end
4320
-
4321
- # source://parser//lib/parser/ruby32.rb#11342
4322
- def _reduce_498(val, _values, result); end
4323
-
4324
- # source://parser//lib/parser/ruby32.rb#11348
4325
- def _reduce_499(val, _values, result); end
4326
-
4327
- # source://parser//lib/parser/ruby32.rb#8449
4328
- def _reduce_5(val, _values, result); end
4329
-
4330
- # reduce 49 omitted
4331
- #
4332
- # source://parser//lib/parser/ruby32.rb#8784
4333
- def _reduce_50(val, _values, result); end
4334
-
4335
- # source://parser//lib/parser/ruby32.rb#11354
4336
- def _reduce_500(val, _values, result); end
4337
-
4338
- # reduce 501 omitted
4339
- #
4340
- # source://parser//lib/parser/ruby32.rb#11362
4341
- def _reduce_502(val, _values, result); end
4342
-
4343
- # source://parser//lib/parser/ruby32.rb#11372
4344
- def _reduce_503(val, _values, result); end
4345
-
4346
- # source://parser//lib/parser/ruby32.rb#11382
4347
- def _reduce_504(val, _values, result); end
4348
-
4349
- # source://parser//lib/parser/ruby32.rb#11388
4350
- def _reduce_505(val, _values, result); end
4351
-
4352
- # source://parser//lib/parser/ruby32.rb#11394
4353
- def _reduce_506(val, _values, result); end
4354
-
4355
- # source://parser//lib/parser/ruby32.rb#11400
4356
- def _reduce_507(val, _values, result); end
4357
-
4358
- # source://parser//lib/parser/ruby32.rb#11406
4359
- def _reduce_508(val, _values, result); end
4360
-
4361
- # source://parser//lib/parser/ruby32.rb#11412
4362
- def _reduce_509(val, _values, result); end
4363
-
4364
- # source://parser//lib/parser/ruby32.rb#11418
4365
- def _reduce_510(val, _values, result); end
4366
-
4367
- # reduce 511 omitted
4368
- #
4369
- # source://parser//lib/parser/ruby32.rb#11426
4370
- def _reduce_512(val, _values, result); end
4371
-
4372
- # source://parser//lib/parser/ruby32.rb#11432
4373
- def _reduce_513(val, _values, result); end
4374
-
4375
- # source://parser//lib/parser/ruby32.rb#11438
4376
- def _reduce_514(val, _values, result); end
4377
-
4378
- # source://parser//lib/parser/ruby32.rb#11444
4379
- def _reduce_515(val, _values, result); end
4380
-
4381
- # source://parser//lib/parser/ruby32.rb#11450
4382
- def _reduce_516(val, _values, result); end
4383
-
4384
- # source://parser//lib/parser/ruby32.rb#11456
4385
- def _reduce_517(val, _values, result); end
4386
-
4387
- # source://parser//lib/parser/ruby32.rb#11462
4388
- def _reduce_518(val, _values, result); end
4389
-
4390
- # source://parser//lib/parser/ruby32.rb#11468
4391
- def _reduce_519(val, _values, result); end
4392
-
4393
- # source://parser//lib/parser/ruby32.rb#11474
4394
- def _reduce_520(val, _values, result); end
4395
-
4396
- # source://parser//lib/parser/ruby32.rb#11480
4397
- def _reduce_521(val, _values, result); end
4398
-
4399
- # source://parser//lib/parser/ruby32.rb#11486
4400
- def _reduce_522(val, _values, result); end
4401
-
4402
- # source://parser//lib/parser/ruby32.rb#11492
4403
- def _reduce_523(val, _values, result); end
4404
-
4405
- # source://parser//lib/parser/ruby32.rb#11498
4406
- def _reduce_524(val, _values, result); end
4407
-
4408
- # reduce 525 omitted
4409
- #
4410
- # source://parser//lib/parser/ruby32.rb#11506
4411
- def _reduce_526(val, _values, result); end
4412
-
4413
- # reduce 527 omitted
4414
- #
4415
- # source://parser//lib/parser/ruby32.rb#11514
4416
- def _reduce_528(val, _values, result); end
4417
-
4418
- # source://parser//lib/parser/ruby32.rb#11520
4419
- def _reduce_529(val, _values, result); end
4420
-
4421
- # reduce 52 omitted
4422
- #
4423
- # source://parser//lib/parser/ruby32.rb#8798
4424
- def _reduce_53(val, _values, result); end
4425
-
4426
- # source://parser//lib/parser/ruby32.rb#11526
4427
- def _reduce_530(val, _values, result); end
4428
-
4429
- # source://parser//lib/parser/ruby32.rb#11532
4430
- def _reduce_531(val, _values, result); end
4431
-
4432
- # reduce 534 omitted
4433
- #
4434
- # source://parser//lib/parser/ruby32.rb#11544
4435
- def _reduce_535(val, _values, result); end
4436
-
4437
- # source://parser//lib/parser/ruby32.rb#11550
4438
- def _reduce_536(val, _values, result); end
4439
-
4440
- # source://parser//lib/parser/ruby32.rb#8804
4441
- def _reduce_54(val, _values, result); end
4442
-
4443
- # reduce 544 omitted
4444
- #
4445
- # source://parser//lib/parser/ruby32.rb#11572
4446
- def _reduce_545(val, _values, result); end
4447
-
4448
- # reduce 546 omitted
4449
- #
4450
- # source://parser//lib/parser/ruby32.rb#11580
4451
- def _reduce_547(val, _values, result); end
4452
-
4453
- # source://parser//lib/parser/ruby32.rb#11586
4454
- def _reduce_548(val, _values, result); end
4455
-
4456
- # source://parser//lib/parser/ruby32.rb#11598
4457
- def _reduce_549(val, _values, result); end
4458
-
4459
- # source://parser//lib/parser/ruby32.rb#8810
4460
- def _reduce_55(val, _values, result); end
4461
-
4462
- # source://parser//lib/parser/ruby32.rb#11605
4463
- def _reduce_550(val, _values, result); end
4464
-
4465
- # source://parser//lib/parser/ruby32.rb#11612
4466
- def _reduce_551(val, _values, result); end
4467
-
4468
- # source://parser//lib/parser/ruby32.rb#11618
4469
- def _reduce_552(val, _values, result); end
4470
-
4471
- # source://parser//lib/parser/ruby32.rb#11624
4472
- def _reduce_553(val, _values, result); end
4473
-
4474
- # source://parser//lib/parser/ruby32.rb#11630
4475
- def _reduce_554(val, _values, result); end
4476
-
4477
- # source://parser//lib/parser/ruby32.rb#11645
4478
- def _reduce_555(val, _values, result); end
4479
-
4480
- # source://parser//lib/parser/ruby32.rb#11651
4481
- def _reduce_556(val, _values, result); end
4482
-
4483
- # reduce 558 omitted
4484
- #
4485
- # source://parser//lib/parser/ruby32.rb#11661
4486
- def _reduce_559(val, _values, result); end
4487
-
4488
- # source://parser//lib/parser/ruby32.rb#8816
4489
- def _reduce_56(val, _values, result); end
4490
-
4491
- # reduce 560 omitted
4492
- #
4493
- # source://parser//lib/parser/ruby32.rb#11669
4494
- def _reduce_561(val, _values, result); end
4495
-
4496
- # reduce 564 omitted
4497
- #
4498
- # source://parser//lib/parser/ruby32.rb#11681
4499
- def _reduce_565(val, _values, result); end
4500
-
4501
- # source://parser//lib/parser/ruby32.rb#11687
4502
- def _reduce_566(val, _values, result); end
4503
-
4504
- # source://parser//lib/parser/ruby32.rb#11693
4505
- def _reduce_567(val, _values, result); end
4506
-
4507
- # source://parser//lib/parser/ruby32.rb#11699
4508
- def _reduce_568(val, _values, result); end
4509
-
4510
- # source://parser//lib/parser/ruby32.rb#11706
4511
- def _reduce_569(val, _values, result); end
4512
-
4513
- # source://parser//lib/parser/ruby32.rb#8822
4514
- def _reduce_57(val, _values, result); end
4515
-
4516
- # source://parser//lib/parser/ruby32.rb#11713
4517
- def _reduce_570(val, _values, result); end
4518
-
4519
- # source://parser//lib/parser/ruby32.rb#11719
4520
- def _reduce_571(val, _values, result); end
4521
-
4522
- # source://parser//lib/parser/ruby32.rb#11726
4523
- def _reduce_572(val, _values, result); end
4524
-
4525
- # source://parser//lib/parser/ruby32.rb#11733
4526
- def _reduce_573(val, _values, result); end
4527
-
4528
- # source://parser//lib/parser/ruby32.rb#11739
4529
- def _reduce_574(val, _values, result); end
4530
-
4531
- # source://parser//lib/parser/ruby32.rb#11745
4532
- def _reduce_575(val, _values, result); end
4533
-
4534
- # source://parser//lib/parser/ruby32.rb#11751
4535
- def _reduce_576(val, _values, result); end
4536
-
4537
- # source://parser//lib/parser/ruby32.rb#11757
4538
- def _reduce_577(val, _values, result); end
4539
-
4540
- # source://parser//lib/parser/ruby32.rb#11763
4541
- def _reduce_578(val, _values, result); end
4542
-
4543
- # source://parser//lib/parser/ruby32.rb#11769
4544
- def _reduce_579(val, _values, result); end
4545
-
4546
- # source://parser//lib/parser/ruby32.rb#8834
4547
- def _reduce_58(val, _values, result); end
4548
-
4549
- # source://parser//lib/parser/ruby32.rb#11775
4550
- def _reduce_580(val, _values, result); end
4551
-
4552
- # source://parser//lib/parser/ruby32.rb#11781
4553
- def _reduce_581(val, _values, result); end
4554
-
4555
- # source://parser//lib/parser/ruby32.rb#11787
4556
- def _reduce_582(val, _values, result); end
4557
-
4558
- # source://parser//lib/parser/ruby32.rb#11793
4559
- def _reduce_583(val, _values, result); end
4560
-
4561
- # source://parser//lib/parser/ruby32.rb#11799
4562
- def _reduce_584(val, _values, result); end
4563
-
4564
- # source://parser//lib/parser/ruby32.rb#11805
4565
- def _reduce_585(val, _values, result); end
4566
-
4567
- # source://parser//lib/parser/ruby32.rb#11811
4568
- def _reduce_586(val, _values, result); end
4569
-
4570
- # source://parser//lib/parser/ruby32.rb#11817
4571
- def _reduce_587(val, _values, result); end
4572
-
4573
- # source://parser//lib/parser/ruby32.rb#11823
4574
- def _reduce_588(val, _values, result); end
4575
-
4576
- # source://parser//lib/parser/ruby32.rb#11829
4577
- def _reduce_589(val, _values, result); end
4578
-
4579
- # source://parser//lib/parser/ruby32.rb#8843
4580
- def _reduce_59(val, _values, result); end
4581
-
4582
- # source://parser//lib/parser/ruby32.rb#11835
4583
- def _reduce_590(val, _values, result); end
4584
-
4585
- # source://parser//lib/parser/ruby32.rb#11841
4586
- def _reduce_591(val, _values, result); end
4587
-
4588
- # source://parser//lib/parser/ruby32.rb#11847
4589
- def _reduce_592(val, _values, result); end
4590
-
4591
- # source://parser//lib/parser/ruby32.rb#11853
4592
- def _reduce_593(val, _values, result); end
4593
-
4594
- # source://parser//lib/parser/ruby32.rb#11859
4595
- def _reduce_594(val, _values, result); end
4596
-
4597
- # source://parser//lib/parser/ruby32.rb#11865
4598
- def _reduce_595(val, _values, result); end
4599
-
4600
- # source://parser//lib/parser/ruby32.rb#11872
4601
- def _reduce_596(val, _values, result); end
4602
-
4603
- # source://parser//lib/parser/ruby32.rb#11881
4604
- def _reduce_597(val, _values, result); end
4605
-
4606
- # source://parser//lib/parser/ruby32.rb#11887
4607
- def _reduce_598(val, _values, result); end
4608
-
4609
- # source://parser//lib/parser/ruby32.rb#11893
4610
- def _reduce_599(val, _values, result); end
4611
-
4612
- # source://parser//lib/parser/ruby32.rb#8455
4613
- def _reduce_6(val, _values, result); end
4614
-
4615
- # source://parser//lib/parser/ruby32.rb#8855
4616
- def _reduce_60(val, _values, result); end
4617
-
4618
- # reduce 602 omitted
4619
- #
4620
- # source://parser//lib/parser/ruby32.rb#11905
4621
- def _reduce_603(val, _values, result); end
4622
-
4623
- # source://parser//lib/parser/ruby32.rb#11912
4624
- def _reduce_604(val, _values, result); end
4625
-
4626
- # source://parser//lib/parser/ruby32.rb#11919
4627
- def _reduce_605(val, _values, result); end
4628
-
4629
- # source://parser//lib/parser/ruby32.rb#11925
4630
- def _reduce_606(val, _values, result); end
4631
-
4632
- # source://parser//lib/parser/ruby32.rb#11936
4633
- def _reduce_607(val, _values, result); end
4634
-
4635
- # source://parser//lib/parser/ruby32.rb#11943
4636
- def _reduce_608(val, _values, result); end
4637
-
4638
- # source://parser//lib/parser/ruby32.rb#11950
4639
- def _reduce_609(val, _values, result); end
4640
-
4641
- # source://parser//lib/parser/ruby32.rb#11957
4642
- def _reduce_610(val, _values, result); end
4643
-
4644
- # source://parser//lib/parser/ruby32.rb#11964
4645
- def _reduce_611(val, _values, result); end
4646
-
4647
- # source://parser//lib/parser/ruby32.rb#11970
4648
- def _reduce_612(val, _values, result); end
4649
-
4650
- # source://parser//lib/parser/ruby32.rb#11976
4651
- def _reduce_613(val, _values, result); end
4652
-
4653
- # source://parser//lib/parser/ruby32.rb#11982
4654
- def _reduce_614(val, _values, result); end
4655
-
4656
- # source://parser//lib/parser/ruby32.rb#11988
4657
- def _reduce_615(val, _values, result); end
4658
-
4659
- # reduce 616 omitted
4660
- #
4661
- # source://parser//lib/parser/ruby32.rb#11996
4662
- def _reduce_617(val, _values, result); end
4663
-
4664
- # source://parser//lib/parser/ruby32.rb#12002
4665
- def _reduce_618(val, _values, result); end
4666
-
4667
- # source://parser//lib/parser/ruby32.rb#12008
4668
- def _reduce_619(val, _values, result); end
4669
-
4670
- # source://parser//lib/parser/ruby32.rb#12014
4671
- def _reduce_620(val, _values, result); end
4672
-
4673
- # source://parser//lib/parser/ruby32.rb#12020
4674
- def _reduce_621(val, _values, result); end
4675
-
4676
- # source://parser//lib/parser/ruby32.rb#12026
4677
- def _reduce_622(val, _values, result); end
4678
-
4679
- # source://parser//lib/parser/ruby32.rb#12032
4680
- def _reduce_623(val, _values, result); end
4681
-
4682
- # source://parser//lib/parser/ruby32.rb#12038
4683
- def _reduce_624(val, _values, result); end
4684
-
4685
- # source://parser//lib/parser/ruby32.rb#12044
4686
- def _reduce_625(val, _values, result); end
4687
-
4688
- # source://parser//lib/parser/ruby32.rb#12050
4689
- def _reduce_626(val, _values, result); end
4690
-
4691
- # source://parser//lib/parser/ruby32.rb#12056
4692
- def _reduce_627(val, _values, result); end
4693
-
4694
- # source://parser//lib/parser/ruby32.rb#12062
4695
- def _reduce_628(val, _values, result); end
4696
-
4697
- # source://parser//lib/parser/ruby32.rb#12068
4698
- def _reduce_629(val, _values, result); end
4699
-
4700
- # reduce 62 omitted
4701
- #
4702
- # source://parser//lib/parser/ruby32.rb#8868
4703
- def _reduce_63(val, _values, result); end
4704
-
4705
- # source://parser//lib/parser/ruby32.rb#12074
4706
- def _reduce_630(val, _values, result); end
4707
-
4708
- # source://parser//lib/parser/ruby32.rb#12080
4709
- def _reduce_631(val, _values, result); end
4710
-
4711
- # source://parser//lib/parser/ruby32.rb#12086
4712
- def _reduce_632(val, _values, result); end
4713
-
4714
- # reduce 633 omitted
4715
- #
4716
- # source://parser//lib/parser/ruby32.rb#12094
4717
- def _reduce_634(val, _values, result); end
4718
-
4719
- # source://parser//lib/parser/ruby32.rb#12101
4720
- def _reduce_635(val, _values, result); end
4721
-
4722
- # reduce 636 omitted
4723
- #
4724
- # source://parser//lib/parser/ruby32.rb#12112
4725
- def _reduce_637(val, _values, result); end
4726
-
4727
- # source://parser//lib/parser/ruby32.rb#12120
4728
- def _reduce_638(val, _values, result); end
4729
-
4730
- # source://parser//lib/parser/ruby32.rb#12128
4731
- def _reduce_639(val, _values, result); end
4732
-
4733
- # source://parser//lib/parser/ruby32.rb#8874
4734
- def _reduce_64(val, _values, result); end
4735
-
4736
- # source://parser//lib/parser/ruby32.rb#12134
4737
- def _reduce_640(val, _values, result); end
4738
-
4739
- # source://parser//lib/parser/ruby32.rb#12140
4740
- def _reduce_641(val, _values, result); end
4741
-
4742
- # source://parser//lib/parser/ruby32.rb#12146
4743
- def _reduce_642(val, _values, result); end
4744
-
4745
- # source://parser//lib/parser/ruby32.rb#12152
4746
- def _reduce_643(val, _values, result); end
4747
-
4748
- # source://parser//lib/parser/ruby32.rb#12159
4749
- def _reduce_644(val, _values, result); end
4750
-
4751
- # source://parser//lib/parser/ruby32.rb#12165
4752
- def _reduce_645(val, _values, result); end
4753
-
4754
- # source://parser//lib/parser/ruby32.rb#12171
4755
- def _reduce_646(val, _values, result); end
4756
-
4757
- # source://parser//lib/parser/ruby32.rb#12180
4758
- def _reduce_647(val, _values, result); end
4759
-
4760
- # source://parser//lib/parser/ruby32.rb#12190
4761
- def _reduce_648(val, _values, result); end
4762
-
4763
- # source://parser//lib/parser/ruby32.rb#12198
4764
- def _reduce_649(val, _values, result); end
4765
-
4766
- # source://parser//lib/parser/ruby32.rb#8881
4767
- def _reduce_65(val, _values, result); end
4768
-
4769
- # source://parser//lib/parser/ruby32.rb#12207
4770
- def _reduce_650(val, _values, result); end
4771
-
4772
- # source://parser//lib/parser/ruby32.rb#12215
4773
- def _reduce_651(val, _values, result); end
4774
-
4775
- # source://parser//lib/parser/ruby32.rb#12224
4776
- def _reduce_652(val, _values, result); end
4777
-
4778
- # source://parser//lib/parser/ruby32.rb#12231
4779
- def _reduce_653(val, _values, result); end
4780
-
4781
- # source://parser//lib/parser/ruby32.rb#12239
4782
- def _reduce_654(val, _values, result); end
4783
-
4784
- # source://parser//lib/parser/ruby32.rb#12248
4785
- def _reduce_655(val, _values, result); end
4786
-
4787
- # source://parser//lib/parser/ruby32.rb#12255
4788
- def _reduce_656(val, _values, result); end
4789
-
4790
- # source://parser//lib/parser/ruby32.rb#12263
4791
- def _reduce_657(val, _values, result); end
4792
-
4793
- # source://parser//lib/parser/ruby32.rb#12270
4794
- def _reduce_658(val, _values, result); end
4795
-
4796
- # source://parser//lib/parser/ruby32.rb#12278
4797
- def _reduce_659(val, _values, result); end
4798
-
4799
- # source://parser//lib/parser/ruby32.rb#8891
4800
- def _reduce_66(val, _values, result); end
4801
-
4802
- # source://parser//lib/parser/ruby32.rb#12284
4803
- def _reduce_660(val, _values, result); end
4804
-
4805
- # source://parser//lib/parser/ruby32.rb#12290
4806
- def _reduce_661(val, _values, result); end
4807
-
4808
- # source://parser//lib/parser/ruby32.rb#12296
4809
- def _reduce_662(val, _values, result); end
4810
-
4811
- # source://parser//lib/parser/ruby32.rb#12302
4812
- def _reduce_663(val, _values, result); end
4813
-
4814
- # source://parser//lib/parser/ruby32.rb#12308
4815
- def _reduce_664(val, _values, result); end
4816
-
4817
- # source://parser//lib/parser/ruby32.rb#12314
4818
- def _reduce_665(val, _values, result); end
4819
-
4820
- # reduce 666 omitted
4821
- #
4822
- # source://parser//lib/parser/ruby32.rb#12322
4823
- def _reduce_667(val, _values, result); end
4824
-
4825
- # source://parser//lib/parser/ruby32.rb#12332
4826
- def _reduce_668(val, _values, result); end
4827
-
4828
- # source://parser//lib/parser/ruby32.rb#12339
4829
- def _reduce_669(val, _values, result); end
4830
-
4831
- # source://parser//lib/parser/ruby32.rb#8897
4832
- def _reduce_67(val, _values, result); end
4833
-
4834
- # source://parser//lib/parser/ruby32.rb#12346
4835
- def _reduce_670(val, _values, result); end
4836
-
4837
- # source://parser//lib/parser/ruby32.rb#12352
4838
- def _reduce_671(val, _values, result); end
4839
-
4840
- # source://parser//lib/parser/ruby32.rb#12358
4841
- def _reduce_672(val, _values, result); end
4842
-
4843
- # source://parser//lib/parser/ruby32.rb#12364
4844
- def _reduce_673(val, _values, result); end
4845
-
4846
- # source://parser//lib/parser/ruby32.rb#12379
4847
- def _reduce_674(val, _values, result); end
4848
-
4849
- # source://parser//lib/parser/ruby32.rb#12387
4850
- def _reduce_675(val, _values, result); end
4851
-
4852
- # source://parser//lib/parser/ruby32.rb#12395
4853
- def _reduce_676(val, _values, result); end
4854
-
4855
- # source://parser//lib/parser/ruby32.rb#12402
4856
- def _reduce_677(val, _values, result); end
4857
-
4858
- # source://parser//lib/parser/ruby32.rb#12409
4859
- def _reduce_678(val, _values, result); end
4860
-
4861
- # source://parser//lib/parser/ruby32.rb#12415
4862
- def _reduce_679(val, _values, result); end
4863
-
4864
- # source://parser//lib/parser/ruby32.rb#8904
4865
- def _reduce_68(val, _values, result); end
4866
-
4867
- # source://parser//lib/parser/ruby32.rb#12421
4868
- def _reduce_680(val, _values, result); end
4869
-
4870
- # source://parser//lib/parser/ruby32.rb#12427
4871
- def _reduce_681(val, _values, result); end
4872
-
4873
- # reduce 683 omitted
4874
- #
4875
- # source://parser//lib/parser/ruby32.rb#12437
4876
- def _reduce_684(val, _values, result); end
4877
-
4878
- # source://parser//lib/parser/ruby32.rb#12443
4879
- def _reduce_685(val, _values, result); end
4880
-
4881
- # source://parser//lib/parser/ruby32.rb#12451
4882
- def _reduce_686(val, _values, result); end
4883
-
4884
- # source://parser//lib/parser/ruby32.rb#12459
4885
- def _reduce_687(val, _values, result); end
4886
-
4887
- # source://parser//lib/parser/ruby32.rb#12467
4888
- def _reduce_688(val, _values, result); end
4889
-
4890
- # source://parser//lib/parser/ruby32.rb#12475
4891
- def _reduce_689(val, _values, result); end
4892
-
4893
- # source://parser//lib/parser/ruby32.rb#12481
4894
- def _reduce_690(val, _values, result); end
4895
-
4896
- # source://parser//lib/parser/ruby32.rb#12487
4897
- def _reduce_691(val, _values, result); end
4898
-
4899
- # source://parser//lib/parser/ruby32.rb#12493
4900
- def _reduce_692(val, _values, result); end
4901
-
4902
- # reduce 694 omitted
4903
- #
4904
- # source://parser//lib/parser/ruby32.rb#12503
4905
- def _reduce_695(val, _values, result); end
4906
-
4907
- # source://parser//lib/parser/ruby32.rb#12511
4908
- def _reduce_696(val, _values, result); end
4909
-
4910
- # reduce 698 omitted
4911
- #
4912
- # source://parser//lib/parser/ruby32.rb#12523
4913
- def _reduce_699(val, _values, result); end
4914
-
4915
- # source://parser//lib/parser/ruby32.rb#8461
4916
- def _reduce_7(val, _values, result); end
4917
-
4918
- # source://parser//lib/parser/ruby32.rb#12531
4919
- def _reduce_700(val, _values, result); end
4920
-
4921
- # source://parser//lib/parser/ruby32.rb#12539
4922
- def _reduce_701(val, _values, result); end
4923
-
4924
- # source://parser//lib/parser/ruby32.rb#12545
4925
- def _reduce_702(val, _values, result); end
4926
-
4927
- # reduce 703 omitted
4928
- #
4929
- # source://parser//lib/parser/ruby32.rb#12553
4930
- def _reduce_704(val, _values, result); end
4931
-
4932
- # source://parser//lib/parser/ruby32.rb#12559
4933
- def _reduce_705(val, _values, result); end
4934
-
4935
- # reduce 706 omitted
4936
- #
4937
- # source://parser//lib/parser/ruby32.rb#12567
4938
- def _reduce_707(val, _values, result); end
4939
-
4940
- # source://parser//lib/parser/ruby32.rb#12573
4941
- def _reduce_708(val, _values, result); end
4942
-
4943
- # source://parser//lib/parser/ruby32.rb#12579
4944
- def _reduce_709(val, _values, result); end
4945
-
4946
- # source://parser//lib/parser/ruby32.rb#12585
4947
- def _reduce_710(val, _values, result); end
4948
-
4949
- # source://parser//lib/parser/ruby32.rb#12591
4950
- def _reduce_711(val, _values, result); end
4951
-
4952
- # source://parser//lib/parser/ruby32.rb#12597
4953
- def _reduce_712(val, _values, result); end
4954
-
4955
- # source://parser//lib/parser/ruby32.rb#12603
4956
- def _reduce_713(val, _values, result); end
4957
-
4958
- # source://parser//lib/parser/ruby32.rb#12609
4959
- def _reduce_714(val, _values, result); end
4960
-
4961
- # reduce 71 omitted
4962
- #
4963
- # source://parser//lib/parser/ruby32.rb#8916
4964
- def _reduce_72(val, _values, result); end
4965
-
4966
- # reduce 724 omitted
4967
- #
4968
- # source://parser//lib/parser/ruby32.rb#12639
4969
- def _reduce_725(val, _values, result); end
4970
-
4971
- # source://parser//lib/parser/ruby32.rb#12645
4972
- def _reduce_726(val, _values, result); end
4973
-
4974
- # source://parser//lib/parser/ruby32.rb#8923
4975
- def _reduce_73(val, _values, result); end
4976
-
4977
- # reduce 730 omitted
4978
- #
4979
- # source://parser//lib/parser/ruby32.rb#12659
4980
- def _reduce_731(val, _values, result); end
4981
-
4982
- # source://parser//lib/parser/ruby32.rb#12665
4983
- def _reduce_732(val, _values, result); end
4984
-
4985
- # source://parser//lib/parser/ruby32.rb#12671
4986
- def _reduce_733(val, _values, result); end
4987
-
4988
- # reduce 735 omitted
4989
- #
4990
- # source://parser//lib/parser/ruby32.rb#12681
4991
- def _reduce_736(val, _values, result); end
4992
-
4993
- # source://parser//lib/parser/ruby32.rb#8930
4994
- def _reduce_74(val, _values, result); end
4995
-
4996
- # reduce 739 omitted
4997
- #
4998
- # source://parser//lib/parser/ruby32.rb#12693
4999
- def _reduce_740(val, _values, result); end
5000
-
5001
- # reduce 75 omitted
5002
- #
5003
- # source://parser//lib/parser/ruby32.rb#8939
5004
- def _reduce_76(val, _values, result); end
5005
-
5006
- # source://parser//lib/parser/ruby32.rb#8946
5007
- def _reduce_77(val, _values, result); end
5008
-
5009
- # source://parser//lib/parser/ruby32.rb#8957
5010
- def _reduce_78(val, _values, result); end
5011
-
5012
- # source://parser//lib/parser/ruby32.rb#8964
5013
- def _reduce_79(val, _values, result); end
5014
-
5015
- # source://parser//lib/parser/ruby32.rb#8975
5016
- def _reduce_80(val, _values, result); end
5017
-
5018
- # source://parser//lib/parser/ruby32.rb#8982
5019
- def _reduce_81(val, _values, result); end
5020
-
5021
- # source://parser//lib/parser/ruby32.rb#8993
5022
- def _reduce_82(val, _values, result); end
5023
-
5024
- # source://parser//lib/parser/ruby32.rb#9000
5025
- def _reduce_83(val, _values, result); end
5026
-
5027
- # source://parser//lib/parser/ruby32.rb#9007
5028
- def _reduce_84(val, _values, result); end
5029
-
5030
- # source://parser//lib/parser/ruby32.rb#9014
5031
- def _reduce_85(val, _values, result); end
5032
-
5033
- # source://parser//lib/parser/ruby32.rb#9021
5034
- def _reduce_86(val, _values, result); end
5035
-
5036
- # source://parser//lib/parser/ruby32.rb#9028
5037
- def _reduce_87(val, _values, result); end
5038
-
5039
- # source://parser//lib/parser/ruby32.rb#9034
5040
- def _reduce_88(val, _values, result); end
5041
-
5042
- # source://parser//lib/parser/ruby32.rb#9040
5043
- def _reduce_89(val, _values, result); end
5044
-
5045
- # reduce 8 omitted
5046
- #
5047
- # source://parser//lib/parser/ruby32.rb#8469
5048
- def _reduce_9(val, _values, result); end
5049
-
5050
- # source://parser//lib/parser/ruby32.rb#9046
5051
- def _reduce_90(val, _values, result); end
5052
-
5053
- # reduce 91 omitted
5054
- #
5055
- # source://parser//lib/parser/ruby32.rb#9054
5056
- def _reduce_92(val, _values, result); end
5057
-
5058
- # source://parser//lib/parser/ruby32.rb#9061
5059
- def _reduce_93(val, _values, result); end
5060
-
5061
- # source://parser//lib/parser/ruby32.rb#9068
5062
- def _reduce_94(val, _values, result); end
5063
-
5064
- # source://parser//lib/parser/ruby32.rb#9076
5065
- def _reduce_95(val, _values, result); end
5066
-
5067
- # source://parser//lib/parser/ruby32.rb#9083
5068
- def _reduce_96(val, _values, result); end
5069
-
5070
- # source://parser//lib/parser/ruby32.rb#9091
5071
- def _reduce_97(val, _values, result); end
5072
-
5073
- # source://parser//lib/parser/ruby32.rb#9097
5074
- def _reduce_98(val, _values, result); end
5075
-
5076
- # source://parser//lib/parser/ruby32.rb#9104
5077
- def _reduce_99(val, _values, result); end
5078
-
5079
- # source://parser//lib/parser/ruby32.rb#12699
5080
- def _reduce_none(val, _values, result); end
5081
-
5082
- # source://parser//lib/parser/ruby32.rb#21
5083
- def default_encoding; end
5084
-
5085
- # source://parser//lib/parser/ruby32.rb#25
5086
- def endless_method_name(name_t); end
5087
-
5088
- # source://parser//lib/parser/ruby32.rb#38
5089
- def local_pop; end
5090
-
5091
- # source://parser//lib/parser/ruby32.rb#31
5092
- def local_push; end
5093
-
5094
- # source://parser//lib/parser/ruby32.rb#45
5095
- def try_declare_numparam(node); end
5096
-
5097
- # source://parser//lib/parser/ruby32.rb#17
5098
- def version; end
5099
- end
5100
-
5101
- # source://parser//lib/parser/ruby32.rb#8008
5102
- Parser::Ruby32::Racc_arg = T.let(T.unsafe(nil), Array)
5103
-
5104
- # source://parser//lib/parser/ruby32.rb#8415
5105
- Parser::Ruby32::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass)
5106
-
5107
- # source://parser//lib/parser/ruby32.rb#8025
5108
- Parser::Ruby32::Racc_token_to_s_table = T.let(T.unsafe(nil), Array)
5109
-
5110
- # @api public
5111
- #
5112
- # source://parser//lib/parser.rb#30
5113
- module Parser::Source; end
5114
-
5115
- # A buffer with source code. {Buffer} contains the source code itself,
5116
- # associated location information (name and first line), and takes care
5117
- # of encoding.
5118
- #
5119
- # A source buffer is immutable once populated.
5120
- #
5121
- # @api public
5122
- #
5123
- # source://parser//lib/parser/source/buffer.rb#25
5124
- class Parser::Source::Buffer
5125
- # @api public
5126
- # @return [Buffer] a new instance of Buffer
5127
- #
5128
- # source://parser//lib/parser/source/buffer.rb#105
5129
- def initialize(name, first_line = T.unsafe(nil), source: T.unsafe(nil)); end
5130
-
5131
- # Convert a character index into the source to a column number.
5132
- #
5133
- # @api private
5134
- # @param position [Integer]
5135
- # @return [Integer] column
5136
- #
5137
- # source://parser//lib/parser/source/buffer.rb#242
5138
- def column_for_position(position); end
5139
-
5140
- # Convert a character index into the source to a `[line, column]` tuple.
5141
- #
5142
- # @api public
5143
- # @param position [Integer]
5144
- # @return [[Integer, Integer]] `[line, column]`
5145
- #
5146
- # source://parser//lib/parser/source/buffer.rb#217
5147
- def decompose_position(position); end
5148
-
5149
- # First line of the buffer, 1 by default.
5150
- #
5151
- # @api public
5152
- # @return [Integer] first line
5153
- #
5154
- # source://parser//lib/parser/source/buffer.rb#26
5155
- def first_line; end
5156
-
5157
- # @api public
5158
- #
5159
- # source://parser//lib/parser/source/buffer.rb#312
5160
- def freeze; end
5161
-
5162
- # @api public
5163
- #
5164
- # source://parser//lib/parser/source/buffer.rb#318
5165
- def inspect; end
5166
-
5167
- # Number of last line in the buffer
5168
- #
5169
- # @api public
5170
- # @return [Integer]
5171
- #
5172
- # source://parser//lib/parser/source/buffer.rb#307
5173
- def last_line; end
5174
-
5175
- # Convert a character index into the source to a line number.
5176
- #
5177
- # @api private
5178
- # @param position [Integer]
5179
- # @return [Integer] line
5180
- #
5181
- # source://parser//lib/parser/source/buffer.rb#231
5182
- def line_for_position(position); end
5183
-
5184
- # Extract line `lineno` as a new `Range`, taking `first_line` into account.
5185
- #
5186
- # @api public
5187
- # @param lineno [Integer]
5188
- # @raise [IndexError] if `lineno` is out of bounds
5189
- # @return [Range]
5190
- #
5191
- # source://parser//lib/parser/source/buffer.rb#284
5192
- def line_range(lineno); end
5193
-
5194
- # Buffer name. If the buffer was created from a file, the name corresponds
5195
- # to relative path to the file.
5196
- #
5197
- # @api public
5198
- # @return [String] buffer name
5199
- #
5200
- # source://parser//lib/parser/source/buffer.rb#26
5201
- def name; end
5202
-
5203
- # Populate this buffer from a string without encoding autodetection.
5204
- #
5205
- # @api public
5206
- # @param input [String]
5207
- # @raise [ArgumentError] if already populated
5208
- # @return [String]
5209
- #
5210
- # source://parser//lib/parser/source/buffer.rb#180
5211
- def raw_source=(input); end
5212
-
5213
- # Populate this buffer from correspondingly named file.
5214
- #
5215
- # @api public
5216
- # @example
5217
- # Parser::Source::Buffer.new('foo/bar.rb').read
5218
- # @raise [ArgumentError] if already populated
5219
- # @return [Buffer] self
5220
- #
5221
- # source://parser//lib/parser/source/buffer.rb#131
5222
- def read; end
5223
-
5224
- # @api public
5225
- #
5226
- # source://parser//lib/parser/source/buffer.rb#194
5227
- def slice(start, length = T.unsafe(nil)); end
5228
-
5229
- # Source code contained in this buffer.
5230
- #
5231
- # @api public
5232
- # @raise [RuntimeError] if buffer is not populated yet
5233
- # @return [String] source code
5234
- #
5235
- # source://parser//lib/parser/source/buffer.rb#145
5236
- def source; end
5237
-
5238
- # Populate this buffer from a string with encoding autodetection.
5239
- # `input` is mutated if not frozen.
5240
- #
5241
- # @api public
5242
- # @param input [String]
5243
- # @raise [ArgumentError] if already populated
5244
- # @raise [EncodingError] if `input` includes invalid byte sequence for the encoding
5245
- # @return [String]
5246
- #
5247
- # source://parser//lib/parser/source/buffer.rb#162
5248
- def source=(input); end
5249
-
5250
- # Extract line `lineno` from source, taking `first_line` into account.
5251
- #
5252
- # @api public
5253
- # @param lineno [Integer]
5254
- # @raise [IndexError] if `lineno` is out of bounds
5255
- # @return [String]
5256
- #
5257
- # source://parser//lib/parser/source/buffer.rb#273
5258
- def source_line(lineno); end
5259
-
5260
- # Return an `Array` of source code lines.
5261
- #
5262
- # @api public
5263
- # @return [Array<String>]
5264
- #
5265
- # source://parser//lib/parser/source/buffer.rb#252
5266
- def source_lines; end
5267
-
5268
- # @api public
5269
- # @return [Range] A range covering the whole source
5270
- #
5271
- # source://parser//lib/parser/source/buffer.rb#298
5272
- def source_range; end
5273
-
5274
- private
5275
-
5276
- # @api public
5277
- #
5278
- # source://parser//lib/parser/source/buffer.rb#348
5279
- def bsearch(line_begins, position); end
5280
-
5281
- # @api public
5282
- #
5283
- # source://parser//lib/parser/source/buffer.rb#325
5284
- def line_begins; end
5285
-
5286
- # @api public
5287
- #
5288
- # source://parser//lib/parser/source/buffer.rb#339
5289
- def line_index_for_position(position); end
5290
-
5291
- class << self
5292
- # Try to recognize encoding of `string` as Ruby would, i.e. by looking for
5293
- # magic encoding comment or UTF-8 BOM. `string` can be in any encoding.
5294
- #
5295
- # @api public
5296
- # @param string [String]
5297
- # @return [String, nil] encoding name, if recognized
5298
- #
5299
- # source://parser//lib/parser/source/buffer.rb#51
5300
- def recognize_encoding(string); end
5301
-
5302
- # Recognize encoding of `input` and process it so it could be lexed.
5303
- #
5304
- # * If `input` does not contain BOM or magic encoding comment, it is
5305
- # kept in the original encoding.
5306
- # * If the detected encoding is binary, `input` is kept in binary.
5307
- # * Otherwise, `input` is re-encoded into UTF-8 and returned as a
5308
- # new string.
5309
- #
5310
- # This method mutates the encoding of `input`, but not its content.
5311
- #
5312
- # @api public
5313
- # @param input [String]
5314
- # @raise [EncodingError]
5315
- # @return [String]
5316
- #
5317
- # source://parser//lib/parser/source/buffer.rb#90
5318
- def reencode_string(input); end
5319
- end
5320
- end
5321
-
5322
- # @api private
5323
- #
5324
- # source://parser//lib/parser/source/buffer.rb#31
5325
- Parser::Source::Buffer::ENCODING_RE = T.let(T.unsafe(nil), Regexp)
5326
-
5327
- # A comment in the source code.
5328
- #
5329
- # @api public
5330
- #
5331
- # source://parser//lib/parser/source/comment.rb#17
5332
- class Parser::Source::Comment
5333
- # @api public
5334
- # @param range [Parser::Source::Range]
5335
- # @return [Comment] a new instance of Comment
5336
- #
5337
- # source://parser//lib/parser/source/comment.rb#67
5338
- def initialize(range); end
5339
-
5340
- # Compares comments. Two comments are equal if they
5341
- # correspond to the same source range.
5342
- #
5343
- # @api public
5344
- # @param other [Object]
5345
- # @return [Boolean]
5346
- #
5347
- # source://parser//lib/parser/source/comment.rb#120
5348
- def ==(other); end
5349
-
5350
- # @api public
5351
- # @return [Boolean] true if this is a block comment.
5352
- # @see #type
5353
- #
5354
- # source://parser//lib/parser/source/comment.rb#109
5355
- def document?; end
5356
-
5357
- # @api public
5358
- # @return [Boolean] true if this is an inline comment.
5359
- # @see #type
5360
- #
5361
- # source://parser//lib/parser/source/comment.rb#101
5362
- def inline?; end
3565
+ # @api public
3566
+ # @return [Boolean] true if this is an inline comment.
3567
+ # @see #type
3568
+ #
3569
+ # source://parser//lib/parser/source/comment.rb#101
3570
+ def inline?; end
5363
3571
 
5364
3572
  # @api public
5365
3573
  # @return [String] a human-readable representation of this comment
@@ -5452,7 +3660,7 @@ class Parser::Source::Comment::Associator
5452
3660
  # source://parser//lib/parser/source/comment/associator.rb#115
5453
3661
  def associate_by_identity; end
5454
3662
 
5455
- # source://parser//lib/parser/source/comment/associator.rb#103
3663
+ # source://parser//lib/parser/source/comment/associator.rb#104
5456
3664
  def associate_locations; end
5457
3665
 
5458
3666
  # source://parser//lib/parser/source/comment/associator.rb#46
@@ -6920,80 +5128,80 @@ end
6920
5128
  # source://parser//lib/parser/source/tree_rewriter.rb#391
6921
5129
  Parser::Source::TreeRewriter::ACTIONS = T.let(T.unsafe(nil), Array)
6922
5130
 
6923
- # source://parser//lib/parser/source/tree_rewriter/action.rb#13
5131
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#14
6924
5132
  class Parser::Source::TreeRewriter::Action
6925
- # source://parser//lib/parser/source/tree_rewriter/action.rb#16
5133
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#17
6926
5134
  def initialize(range, enforcer, insert_before: T.unsafe(nil), replacement: T.unsafe(nil), insert_after: T.unsafe(nil), children: T.unsafe(nil)); end
6927
5135
 
6928
- # source://parser//lib/parser/source/tree_rewriter/action.rb#28
5136
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#29
6929
5137
  def combine(action); end
6930
5138
 
6931
- # source://parser//lib/parser/source/tree_rewriter/action.rb#67
5139
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#68
6932
5140
  def contract; end
6933
5141
 
6934
- # source://parser//lib/parser/source/tree_rewriter/action.rb#33
5142
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#34
6935
5143
  def empty?; end
6936
5144
 
6937
- # source://parser//lib/parser/source/tree_rewriter/action.rb#14
5145
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#15
6938
5146
  def insert_after; end
6939
5147
 
6940
- # source://parser//lib/parser/source/tree_rewriter/action.rb#14
5148
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#15
6941
5149
  def insert_before; end
6942
5150
 
6943
- # source://parser//lib/parser/source/tree_rewriter/action.rb#57
5151
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#58
6944
5152
  def insertion?; end
6945
5153
 
6946
- # source://parser//lib/parser/source/tree_rewriter/action.rb#80
5154
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#81
6947
5155
  def moved(source_buffer, offset); end
6948
5156
 
6949
- # source://parser//lib/parser/source/tree_rewriter/action.rb#49
5157
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#50
6950
5158
  def nested_actions; end
6951
5159
 
6952
- # source://parser//lib/parser/source/tree_rewriter/action.rb#40
5160
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#41
6953
5161
  def ordered_replacements; end
6954
5162
 
6955
- # source://parser//lib/parser/source/tree_rewriter/action.rb#14
5163
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#15
6956
5164
  def range; end
6957
5165
 
6958
- # source://parser//lib/parser/source/tree_rewriter/action.rb#14
5166
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#15
6959
5167
  def replacement; end
6960
5168
 
6961
5169
  protected
6962
5170
 
6963
- # source://parser//lib/parser/source/tree_rewriter/action.rb#158
5171
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#159
6964
5172
  def analyse_hierarchy(action); end
6965
5173
 
6966
- # source://parser//lib/parser/source/tree_rewriter/action.rb#145
5174
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#146
6967
5175
  def bsearch_child_index(from = T.unsafe(nil)); end
6968
5176
 
6969
- # source://parser//lib/parser/source/tree_rewriter/action.rb#224
5177
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#225
6970
5178
  def call_enforcer_for_merge(action); end
6971
5179
 
6972
- # source://parser//lib/parser/source/tree_rewriter/action.rb#204
5180
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#205
6973
5181
  def check_fusible(action, *fusible); end
6974
5182
 
6975
- # source://parser//lib/parser/source/tree_rewriter/action.rb#94
5183
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#95
6976
5184
  def children; end
6977
5185
 
6978
- # source://parser//lib/parser/source/tree_rewriter/action.rb#129
5186
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#130
6979
5187
  def combine_children(more_children); end
6980
5188
 
6981
- # source://parser//lib/parser/source/tree_rewriter/action.rb#102
5189
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#103
6982
5190
  def do_combine(action); end
6983
5191
 
6984
- # source://parser//lib/parser/source/tree_rewriter/action.rb#135
5192
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#136
6985
5193
  def fuse_deletions(action, fusible, other_sibblings); end
6986
5194
 
6987
- # source://parser//lib/parser/source/tree_rewriter/action.rb#215
5195
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#216
6988
5196
  def merge(action); end
6989
5197
 
6990
- # source://parser//lib/parser/source/tree_rewriter/action.rb#110
5198
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#111
6991
5199
  def place_in_hierarchy(action); end
6992
5200
 
6993
- # source://parser//lib/parser/source/tree_rewriter/action.rb#232
5201
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#233
6994
5202
  def swallow(children); end
6995
5203
 
6996
- # source://parser//lib/parser/source/tree_rewriter/action.rb#96
5204
+ # source://parser//lib/parser/source/tree_rewriter/action.rb#97
6997
5205
  def with(range: T.unsafe(nil), enforcer: T.unsafe(nil), children: T.unsafe(nil), insert_before: T.unsafe(nil), replacement: T.unsafe(nil), insert_after: T.unsafe(nil)); end
6998
5206
  end
6999
5207
 
@@ -7011,75 +5219,122 @@ Parser::Source::TreeRewriter::POLICY_TO_LEVEL = T.let(T.unsafe(nil), Hash)
7011
5219
  class Parser::StaticEnvironment
7012
5220
  # @return [StaticEnvironment] a new instance of StaticEnvironment
7013
5221
  #
7014
- # source://parser//lib/parser/static_environment.rb#11
5222
+ # source://parser//lib/parser/static_environment.rb#17
7015
5223
  def initialize; end
7016
5224
 
7017
- # source://parser//lib/parser/static_environment.rb#40
5225
+ # source://parser//lib/parser/static_environment.rb#55
7018
5226
  def declare(name); end
7019
5227
 
7020
- # source://parser//lib/parser/static_environment.rb#58
5228
+ # Anonymous blockarg
5229
+ #
5230
+ # source://parser//lib/parser/static_environment.rb#77
7021
5231
  def declare_anonymous_blockarg; end
7022
5232
 
7023
- # source://parser//lib/parser/static_environment.rb#74
5233
+ # Anonymous kwresarg
5234
+ #
5235
+ # source://parser//lib/parser/static_environment.rb#113
7024
5236
  def declare_anonymous_kwrestarg; end
7025
5237
 
7026
- # source://parser//lib/parser/static_environment.rb#66
5238
+ # Anonymous restarg
5239
+ #
5240
+ # source://parser//lib/parser/static_environment.rb#95
7027
5241
  def declare_anonymous_restarg; end
7028
5242
 
7029
- # source://parser//lib/parser/static_environment.rb#50
5243
+ # Forward args
5244
+ #
5245
+ # source://parser//lib/parser/static_environment.rb#67
7030
5246
  def declare_forward_args; end
7031
5247
 
7032
5248
  # @return [Boolean]
7033
5249
  #
7034
- # source://parser//lib/parser/static_environment.rb#46
5250
+ # source://parser//lib/parser/static_environment.rb#61
7035
5251
  def declared?(name); end
7036
5252
 
7037
5253
  # @return [Boolean]
7038
5254
  #
7039
- # source://parser//lib/parser/static_environment.rb#62
5255
+ # source://parser//lib/parser/static_environment.rb#81
7040
5256
  def declared_anonymous_blockarg?; end
7041
5257
 
7042
5258
  # @return [Boolean]
7043
5259
  #
7044
- # source://parser//lib/parser/static_environment.rb#78
5260
+ # source://parser//lib/parser/static_environment.rb#85
5261
+ def declared_anonymous_blockarg_in_current_scpe?; end
5262
+
5263
+ # @return [Boolean]
5264
+ #
5265
+ # source://parser//lib/parser/static_environment.rb#117
7045
5266
  def declared_anonymous_kwrestarg?; end
7046
5267
 
7047
5268
  # @return [Boolean]
7048
5269
  #
7049
- # source://parser//lib/parser/static_environment.rb#70
5270
+ # source://parser//lib/parser/static_environment.rb#121
5271
+ def declared_anonymous_kwrestarg_in_current_scope?; end
5272
+
5273
+ # @return [Boolean]
5274
+ #
5275
+ # source://parser//lib/parser/static_environment.rb#99
7050
5276
  def declared_anonymous_restarg?; end
7051
5277
 
7052
5278
  # @return [Boolean]
7053
5279
  #
7054
- # source://parser//lib/parser/static_environment.rb#54
5280
+ # source://parser//lib/parser/static_environment.rb#103
5281
+ def declared_anonymous_restarg_in_current_scope?; end
5282
+
5283
+ # @return [Boolean]
5284
+ #
5285
+ # source://parser//lib/parser/static_environment.rb#71
7055
5286
  def declared_forward_args?; end
7056
5287
 
7057
5288
  # @return [Boolean]
7058
5289
  #
7059
- # source://parser//lib/parser/static_environment.rb#82
5290
+ # source://parser//lib/parser/static_environment.rb#129
7060
5291
  def empty?; end
7061
5292
 
7062
- # source://parser//lib/parser/static_environment.rb#27
5293
+ # source://parser//lib/parser/static_environment.rb#33
7063
5294
  def extend_dynamic; end
7064
5295
 
7065
- # source://parser//lib/parser/static_environment.rb#20
5296
+ # source://parser//lib/parser/static_environment.rb#26
7066
5297
  def extend_static; end
7067
5298
 
7068
- # source://parser//lib/parser/static_environment.rb#15
5299
+ # @return [Boolean]
5300
+ #
5301
+ # source://parser//lib/parser/static_environment.rb#89
5302
+ def parent_has_anonymous_blockarg?; end
5303
+
5304
+ # @return [Boolean]
5305
+ #
5306
+ # source://parser//lib/parser/static_environment.rb#125
5307
+ def parent_has_anonymous_kwrestarg?; end
5308
+
5309
+ # @return [Boolean]
5310
+ #
5311
+ # source://parser//lib/parser/static_environment.rb#107
5312
+ def parent_has_anonymous_restarg?; end
5313
+
5314
+ # source://parser//lib/parser/static_environment.rb#21
7069
5315
  def reset; end
7070
5316
 
7071
- # source://parser//lib/parser/static_environment.rb#34
5317
+ # source://parser//lib/parser/static_environment.rb#49
7072
5318
  def unextend; end
7073
5319
  end
7074
5320
 
7075
- # source://parser//lib/parser/static_environment.rb#7
7076
- Parser::StaticEnvironment::ANONYMOUS_BLOCKARG = T.let(T.unsafe(nil), Symbol)
5321
+ # source://parser//lib/parser/static_environment.rb#15
5322
+ Parser::StaticEnvironment::ANONYMOUS_BLOCKARG_INHERITED = T.let(T.unsafe(nil), Symbol)
5323
+
5324
+ # source://parser//lib/parser/static_environment.rb#14
5325
+ Parser::StaticEnvironment::ANONYMOUS_BLOCKARG_IN_CURRENT_SCOPE = T.let(T.unsafe(nil), Symbol)
5326
+
5327
+ # source://parser//lib/parser/static_environment.rb#12
5328
+ Parser::StaticEnvironment::ANONYMOUS_KWRESTARG_INHERITED = T.let(T.unsafe(nil), Symbol)
5329
+
5330
+ # source://parser//lib/parser/static_environment.rb#11
5331
+ Parser::StaticEnvironment::ANONYMOUS_KWRESTARG_IN_CURRENT_SCOPE = T.let(T.unsafe(nil), Symbol)
7077
5332
 
7078
5333
  # source://parser//lib/parser/static_environment.rb#9
7079
- Parser::StaticEnvironment::ANONYMOUS_KWRESTARG = T.let(T.unsafe(nil), Symbol)
5334
+ Parser::StaticEnvironment::ANONYMOUS_RESTARG_INHERITED = T.let(T.unsafe(nil), Symbol)
7080
5335
 
7081
5336
  # source://parser//lib/parser/static_environment.rb#8
7082
- Parser::StaticEnvironment::ANONYMOUS_RESTARG = T.let(T.unsafe(nil), Symbol)
5337
+ Parser::StaticEnvironment::ANONYMOUS_RESTARG_IN_CURRENT_SCOPE = T.let(T.unsafe(nil), Symbol)
7083
5338
 
7084
5339
  # source://parser//lib/parser/static_environment.rb#6
7085
5340
  Parser::StaticEnvironment::FORWARD_ARGS = T.let(T.unsafe(nil), Symbol)
@@ -7219,6 +5474,17 @@ class Parser::TreeRewriter < ::Parser::AST::Processor
7219
5474
  def wrap(range, before, after); end
7220
5475
  end
7221
5476
 
5477
+ # {Parser::UnknownEncodingInMagicComment} is raised when a magic encoding
5478
+ # comment is encountered that the currently running Ruby version doesn't
5479
+ # recognize. It inherits from {ArgumentError} since that is the exception
5480
+ # Ruby itself raises when trying to execute a file with an unknown encoding.
5481
+ # As such, it is also not a {Parser::SyntaxError}.
5482
+ #
5483
+ # @api public
5484
+ #
5485
+ # source://parser//lib/parser/unknown_encoding_in_magic_comment_error.rb#13
5486
+ class Parser::UnknownEncodingInMagicComment < ::ArgumentError; end
5487
+
7222
5488
  # source://parser//lib/parser/version.rb#4
7223
5489
  Parser::VERSION = T.let(T.unsafe(nil), String)
7224
5490