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,6 +4,7 @@
4
4
  # This is an autogenerated file for types exported from the `rubocop-ast` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem rubocop-ast`.
6
6
 
7
+
7
8
  class Parser::Source::Range
8
9
  include ::RuboCop::AST::Ext::Range
9
10
  end
@@ -159,12 +160,16 @@ class RuboCop::AST::ArrayNode < ::RuboCop::AST::Node
159
160
  #
160
161
  # @return [Boolean] whether the array is enclosed in percent or square
161
162
  #
162
- # source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#60
163
+ # source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#64
163
164
  def bracketed?; end
164
165
 
165
- # @deprecated Use `values.each` (a.k.a. `children.each`)
166
+ # Calls the given block for each `value` node in the `array` literal.
167
+ # If no block is given, an `Enumerator` is returned.
168
+ #
169
+ # @return [self] if a block is given
170
+ # @return [Enumerator] if no block is given
166
171
  #
167
- # source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#21
172
+ # source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#25
168
173
  def each_value(&block); end
169
174
 
170
175
  # Checks whether the `array` literal is delimited by percent brackets.
@@ -173,14 +178,14 @@ class RuboCop::AST::ArrayNode < ::RuboCop::AST::Node
173
178
  # @overload percent_literal?
174
179
  # @return [Boolean] whether the array is enclosed in percent brackets
175
180
  #
176
- # source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#47
181
+ # source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#51
177
182
  def percent_literal?(type = T.unsafe(nil)); end
178
183
 
179
184
  # Checks whether the `array` literal is delimited by square brackets.
180
185
  #
181
186
  # @return [Boolean] whether the array is enclosed in square brackets
182
187
  #
183
- # source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#32
188
+ # source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#36
184
189
  def square_brackets?; end
185
190
 
186
191
  # Returns an array of all value nodes in the `array` literal.
@@ -216,7 +221,7 @@ class RuboCop::AST::AsgnNode < ::RuboCop::AST::Node
216
221
  end
217
222
 
218
223
  # Common functionality for primitive literal nodes: `sym`, `str`,
219
- # `int`, `float`, ...
224
+ # `int`, `float`, `rational`...
220
225
  #
221
226
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/basic_literal_node.rb#7
222
227
  module RuboCop::AST::BasicLiteralNode
@@ -275,7 +280,7 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node
275
280
  #
276
281
  # @return [Array<Node>]
277
282
  #
278
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#42
283
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#60
279
284
  def argument_list; end
280
285
 
281
286
  # The arguments of this block.
@@ -285,63 +290,81 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node
285
290
  #
286
291
  # @return [Array<Node>]
287
292
  #
288
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#30
293
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#48
289
294
  def arguments; end
290
295
 
291
296
  # Checks whether this block takes any arguments.
292
297
  #
293
298
  # @return [Boolean] whether this `block` node takes any arguments
294
299
  #
295
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#67
300
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#85
296
301
  def arguments?; end
297
302
 
298
303
  # The body of this block.
299
304
  #
300
305
  # @return [Node, nil] the body of the `block` node or `nil`
301
306
  #
302
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#53
307
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#71
303
308
  def body; end
304
309
 
305
310
  # Checks whether the `block` literal is delimited by curly braces.
306
311
  #
307
312
  # @return [Boolean] whether the `block` literal is enclosed in braces
308
313
  #
309
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#74
314
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#92
310
315
  def braces?; end
311
316
 
312
317
  # The closing delimiter for this `block` literal.
313
318
  #
314
319
  # @return [String] the closing delimiter for the `block` literal
315
320
  #
316
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#102
321
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#120
317
322
  def closing_delimiter; end
318
323
 
319
324
  # The delimiters for this `block` literal.
320
325
  #
321
326
  # @return [Array<String>] the delimiters for the `block` literal
322
327
  #
323
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#88
328
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#106
324
329
  def delimiters; end
325
330
 
331
+ # A shorthand for getting the first argument of this block.
332
+ # Equivalent to `arguments.first`.
333
+ #
334
+ # @return [Node, nil] the first argument of this block,
335
+ # or `nil` if there are no arguments
336
+ #
337
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#29
338
+ def first_argument; end
339
+
326
340
  # Checks whether the `block` literal is delimited by `do`-`end` keywords.
327
341
  #
328
342
  # @return [Boolean] whether the `block` literal is enclosed in `do`-`end`
329
343
  #
330
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#81
344
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#99
331
345
  def keywords?; end
332
346
 
333
347
  # Checks whether this `block` literal belongs to a lambda.
334
348
  #
335
349
  # @return [Boolean] whether the `block` literal belongs to a lambda
336
350
  #
337
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#125
351
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#143
338
352
  def lambda?; end
339
353
 
354
+ # A shorthand for getting the last argument of this block.
355
+ # Equivalent to `arguments.last`.
356
+ #
357
+ # @return [Node, nil] the last argument of this block,
358
+ # or `nil` if there are no arguments
359
+ #
360
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#38
361
+ def last_argument; end
362
+
340
363
  # The name of the dispatched method as a symbol.
341
364
  #
342
365
  # @return [Symbol] the name of the dispatched method
343
366
  #
344
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#60
367
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#78
345
368
  def method_name; end
346
369
 
347
370
  # Checks whether this is a multiline block. This is overridden here
@@ -349,14 +372,14 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node
349
372
  #
350
373
  # @return [Boolean] whether the `block` literal is on a several lines
351
374
  #
352
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#118
375
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#136
353
376
  def multiline?; end
354
377
 
355
378
  # The opening delimiter for this `block` literal.
356
379
  #
357
380
  # @return [String] the opening delimiter for the `block` literal
358
381
  #
359
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#95
382
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#113
360
383
  def opening_delimiter; end
361
384
 
362
385
  # The `send` node associated with this block.
@@ -371,21 +394,21 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node
371
394
  #
372
395
  # @return [Boolean] whether the `block` literal is on a single line
373
396
  #
374
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#110
397
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#128
375
398
  def single_line?; end
376
399
 
377
400
  # Checks whether this node body is a void context.
378
401
  #
379
402
  # @return [Boolean] whether the `block` node body is a void context
380
403
  #
381
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#132
404
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#150
382
405
  def void_context?; end
383
406
 
384
407
  private
385
408
 
386
409
  # Numbered arguments of this `numblock`.
387
410
  #
388
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#139
411
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#157
389
412
  def numbered_arguments; end
390
413
  end
391
414
 
@@ -420,18 +443,18 @@ class RuboCop::AST::Builder < ::Parser::Builders::Default
420
443
  #
421
444
  # @return [Node] the generated node
422
445
  #
423
- # source://rubocop-ast//lib/rubocop/ast/builder.rb#98
446
+ # source://rubocop-ast//lib/rubocop/ast/builder.rb#105
424
447
  def n(type, children, source_map); end
425
448
 
426
449
  # TODO: Figure out what to do about literal encoding handling...
427
450
  # More details here https://github.com/whitequark/parser/issues/283
428
451
  #
429
- # source://rubocop-ast//lib/rubocop/ast/builder.rb#104
452
+ # source://rubocop-ast//lib/rubocop/ast/builder.rb#111
430
453
  def string_value(token); end
431
454
 
432
455
  private
433
456
 
434
- # source://rubocop-ast//lib/rubocop/ast/builder.rb#110
457
+ # source://rubocop-ast//lib/rubocop/ast/builder.rb#117
435
458
  def node_klass(type); end
436
459
  end
437
460
 
@@ -551,26 +574,17 @@ end
551
574
  #
552
575
  # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#8
553
576
  class RuboCop::AST::CasgnNode < ::RuboCop::AST::Node
577
+ include ::RuboCop::AST::ConstantNode
578
+
554
579
  # The expression being assigned to the variable.
555
580
  #
556
581
  # @return [Node] the expression being assigned.
557
582
  #
558
- # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#26
583
+ # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#16
559
584
  def expression; end
560
585
 
561
- # The name of the variable being assigned as a symbol.
562
- #
563
- # @return [Symbol] the name of the variable being assigned
564
- #
565
- # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#19
586
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#14
566
587
  def name; end
567
-
568
- # The namespace of the constant being assigned.
569
- #
570
- # @return [Node, nil] the node associated with the scope (e.g. cbase, const, ...)
571
- #
572
- # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#12
573
- def namespace; end
574
588
  end
575
589
 
576
590
  # A node extension for `class` nodes. This will be used in place of a plain
@@ -605,412 +619,412 @@ end
605
619
  #
606
620
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#6
607
621
  module RuboCop::AST::CollectionNode
608
- extend ::Forwardable
622
+ extend ::RuboCop::SimpleForwardable
609
623
 
610
- # source://forwardable/1.3.3/forwardable.rb#231
611
- def &(*args, **_arg1, &block); end
624
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
625
+ def &(*_arg0, **_arg1, &_arg2); end
612
626
 
613
- # source://forwardable/1.3.3/forwardable.rb#231
614
- def *(*args, **_arg1, &block); end
627
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
628
+ def *(*_arg0, **_arg1, &_arg2); end
615
629
 
616
- # source://forwardable/1.3.3/forwardable.rb#231
617
- def +(*args, **_arg1, &block); end
630
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
631
+ def +(*_arg0, **_arg1, &_arg2); end
618
632
 
619
- # source://forwardable/1.3.3/forwardable.rb#231
620
- def -(*args, **_arg1, &block); end
633
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
634
+ def -(*_arg0, **_arg1, &_arg2); end
621
635
 
622
- # source://forwardable/1.3.3/forwardable.rb#231
623
- def <<(*args, **_arg1, &block); end
636
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
637
+ def <<(*_arg0, **_arg1, &_arg2); end
624
638
 
625
- # source://forwardable/1.3.3/forwardable.rb#231
626
- def [](*args, **_arg1, &block); end
639
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
640
+ def [](*_arg0, **_arg1, &_arg2); end
627
641
 
628
- # source://forwardable/1.3.3/forwardable.rb#231
629
- def []=(*args, **_arg1, &block); end
642
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
643
+ def []=(*_arg0, **_arg1, &_arg2); end
630
644
 
631
- # source://forwardable/1.3.3/forwardable.rb#231
632
- def all?(*args, **_arg1, &block); end
645
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
646
+ def all?(*_arg0, **_arg1, &_arg2); end
633
647
 
634
- # source://forwardable/1.3.3/forwardable.rb#231
635
- def any?(*args, **_arg1, &block); end
648
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
649
+ def any?(*_arg0, **_arg1, &_arg2); end
636
650
 
637
- # source://forwardable/1.3.3/forwardable.rb#231
638
- def append(*args, **_arg1, &block); end
651
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
652
+ def append(*_arg0, **_arg1, &_arg2); end
639
653
 
640
- # source://forwardable/1.3.3/forwardable.rb#231
641
- def assoc(*args, **_arg1, &block); end
654
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
655
+ def assoc(*_arg0, **_arg1, &_arg2); end
642
656
 
643
- # source://forwardable/1.3.3/forwardable.rb#231
644
- def at(*args, **_arg1, &block); end
657
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
658
+ def at(*_arg0, **_arg1, &_arg2); end
645
659
 
646
- # source://forwardable/1.3.3/forwardable.rb#231
647
- def bsearch(*args, **_arg1, &block); end
660
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
661
+ def bsearch(*_arg0, **_arg1, &_arg2); end
648
662
 
649
- # source://forwardable/1.3.3/forwardable.rb#231
650
- def bsearch_index(*args, **_arg1, &block); end
663
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
664
+ def bsearch_index(*_arg0, **_arg1, &_arg2); end
651
665
 
652
- # source://forwardable/1.3.3/forwardable.rb#231
653
- def chain(*args, **_arg1, &block); end
666
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
667
+ def chain(*_arg0, **_arg1, &_arg2); end
654
668
 
655
- # source://forwardable/1.3.3/forwardable.rb#231
656
- def chunk(*args, **_arg1, &block); end
669
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
670
+ def chunk(*_arg0, **_arg1, &_arg2); end
657
671
 
658
- # source://forwardable/1.3.3/forwardable.rb#231
659
- def chunk_while(*args, **_arg1, &block); end
672
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
673
+ def chunk_while(*_arg0, **_arg1, &_arg2); end
660
674
 
661
- # source://forwardable/1.3.3/forwardable.rb#231
662
- def clear(*args, **_arg1, &block); end
675
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
676
+ def clear(*_arg0, **_arg1, &_arg2); end
663
677
 
664
- # source://forwardable/1.3.3/forwardable.rb#231
665
- def collect(*args, **_arg1, &block); end
678
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
679
+ def collect(*_arg0, **_arg1, &_arg2); end
666
680
 
667
- # source://forwardable/1.3.3/forwardable.rb#231
668
- def collect!(*args, **_arg1, &block); end
681
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
682
+ def collect!(*_arg0, **_arg1, &_arg2); end
669
683
 
670
- # source://forwardable/1.3.3/forwardable.rb#231
671
- def collect_concat(*args, **_arg1, &block); end
684
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
685
+ def collect_concat(*_arg0, **_arg1, &_arg2); end
672
686
 
673
- # source://forwardable/1.3.3/forwardable.rb#231
674
- def combination(*args, **_arg1, &block); end
687
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
688
+ def combination(*_arg0, **_arg1, &_arg2); end
675
689
 
676
- # source://forwardable/1.3.3/forwardable.rb#231
677
- def compact(*args, **_arg1, &block); end
690
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
691
+ def compact(*_arg0, **_arg1, &_arg2); end
678
692
 
679
- # source://forwardable/1.3.3/forwardable.rb#231
680
- def compact!(*args, **_arg1, &block); end
693
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
694
+ def compact!(*_arg0, **_arg1, &_arg2); end
681
695
 
682
- # source://forwardable/1.3.3/forwardable.rb#231
683
- def concat(*args, **_arg1, &block); end
696
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
697
+ def concat(*_arg0, **_arg1, &_arg2); end
684
698
 
685
- # source://forwardable/1.3.3/forwardable.rb#231
686
- def count(*args, **_arg1, &block); end
699
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
700
+ def count(*_arg0, **_arg1, &_arg2); end
687
701
 
688
- # source://forwardable/1.3.3/forwardable.rb#231
689
- def cycle(*args, **_arg1, &block); end
702
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
703
+ def cycle(*_arg0, **_arg1, &_arg2); end
690
704
 
691
- # source://forwardable/1.3.3/forwardable.rb#231
692
- def deconstruct(*args, **_arg1, &block); end
705
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
706
+ def deconstruct(*_arg0, **_arg1, &_arg2); end
693
707
 
694
- # source://forwardable/1.3.3/forwardable.rb#231
695
- def delete(*args, **_arg1, &block); end
708
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
709
+ def delete(*_arg0, **_arg1, &_arg2); end
696
710
 
697
- # source://forwardable/1.3.3/forwardable.rb#231
698
- def delete_at(*args, **_arg1, &block); end
711
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
712
+ def delete_at(*_arg0, **_arg1, &_arg2); end
699
713
 
700
- # source://forwardable/1.3.3/forwardable.rb#231
701
- def delete_if(*args, **_arg1, &block); end
714
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
715
+ def delete_if(*_arg0, **_arg1, &_arg2); end
702
716
 
703
- # source://forwardable/1.3.3/forwardable.rb#231
704
- def detect(*args, **_arg1, &block); end
717
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
718
+ def detect(*_arg0, **_arg1, &_arg2); end
705
719
 
706
- # source://forwardable/1.3.3/forwardable.rb#231
707
- def difference(*args, **_arg1, &block); end
720
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
721
+ def difference(*_arg0, **_arg1, &_arg2); end
708
722
 
709
- # source://forwardable/1.3.3/forwardable.rb#231
710
- def dig(*args, **_arg1, &block); end
723
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
724
+ def dig(*_arg0, **_arg1, &_arg2); end
711
725
 
712
- # source://forwardable/1.3.3/forwardable.rb#231
713
- def drop(*args, **_arg1, &block); end
726
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
727
+ def drop(*_arg0, **_arg1, &_arg2); end
714
728
 
715
- # source://forwardable/1.3.3/forwardable.rb#231
716
- def drop_while(*args, **_arg1, &block); end
729
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
730
+ def drop_while(*_arg0, **_arg1, &_arg2); end
717
731
 
718
- # source://forwardable/1.3.3/forwardable.rb#231
719
- def each(*args, **_arg1, &block); end
732
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
733
+ def each(*_arg0, **_arg1, &_arg2); end
720
734
 
721
- # source://forwardable/1.3.3/forwardable.rb#231
722
- def each_cons(*args, **_arg1, &block); end
735
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
736
+ def each_cons(*_arg0, **_arg1, &_arg2); end
723
737
 
724
- # source://forwardable/1.3.3/forwardable.rb#231
725
- def each_entry(*args, **_arg1, &block); end
738
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
739
+ def each_entry(*_arg0, **_arg1, &_arg2); end
726
740
 
727
- # source://forwardable/1.3.3/forwardable.rb#231
728
- def each_index(*args, **_arg1, &block); end
741
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
742
+ def each_index(*_arg0, **_arg1, &_arg2); end
729
743
 
730
- # source://forwardable/1.3.3/forwardable.rb#231
731
- def each_slice(*args, **_arg1, &block); end
744
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
745
+ def each_slice(*_arg0, **_arg1, &_arg2); end
732
746
 
733
- # source://forwardable/1.3.3/forwardable.rb#231
734
- def each_with_index(*args, **_arg1, &block); end
747
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
748
+ def each_with_index(*_arg0, **_arg1, &_arg2); end
735
749
 
736
- # source://forwardable/1.3.3/forwardable.rb#231
737
- def each_with_object(*args, **_arg1, &block); end
750
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
751
+ def each_with_object(*_arg0, **_arg1, &_arg2); end
738
752
 
739
- # source://forwardable/1.3.3/forwardable.rb#231
740
- def empty?(*args, **_arg1, &block); end
753
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
754
+ def empty?(*_arg0, **_arg1, &_arg2); end
741
755
 
742
- # source://forwardable/1.3.3/forwardable.rb#231
743
- def entries(*args, **_arg1, &block); end
756
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
757
+ def entries(*_arg0, **_arg1, &_arg2); end
744
758
 
745
- # source://forwardable/1.3.3/forwardable.rb#231
746
- def fetch(*args, **_arg1, &block); end
759
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
760
+ def fetch(*_arg0, **_arg1, &_arg2); end
747
761
 
748
- # source://forwardable/1.3.3/forwardable.rb#231
749
- def fill(*args, **_arg1, &block); end
762
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
763
+ def fill(*_arg0, **_arg1, &_arg2); end
750
764
 
751
- # source://forwardable/1.3.3/forwardable.rb#231
752
- def filter(*args, **_arg1, &block); end
765
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
766
+ def filter(*_arg0, **_arg1, &_arg2); end
753
767
 
754
- # source://forwardable/1.3.3/forwardable.rb#231
755
- def filter!(*args, **_arg1, &block); end
768
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
769
+ def filter!(*_arg0, **_arg1, &_arg2); end
756
770
 
757
- # source://forwardable/1.3.3/forwardable.rb#231
758
- def filter_map(*args, **_arg1, &block); end
771
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
772
+ def filter_map(*_arg0, **_arg1, &_arg2); end
759
773
 
760
- # source://forwardable/1.3.3/forwardable.rb#231
761
- def find(*args, **_arg1, &block); end
774
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
775
+ def find(*_arg0, **_arg1, &_arg2); end
762
776
 
763
- # source://forwardable/1.3.3/forwardable.rb#231
764
- def find_all(*args, **_arg1, &block); end
777
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
778
+ def find_all(*_arg0, **_arg1, &_arg2); end
765
779
 
766
- # source://forwardable/1.3.3/forwardable.rb#231
767
- def find_index(*args, **_arg1, &block); end
780
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
781
+ def find_index(*_arg0, **_arg1, &_arg2); end
768
782
 
769
- # source://forwardable/1.3.3/forwardable.rb#231
770
- def first(*args, **_arg1, &block); end
783
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
784
+ def first(*_arg0, **_arg1, &_arg2); end
771
785
 
772
- # source://forwardable/1.3.3/forwardable.rb#231
773
- def flat_map(*args, **_arg1, &block); end
786
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
787
+ def flat_map(*_arg0, **_arg1, &_arg2); end
774
788
 
775
- # source://forwardable/1.3.3/forwardable.rb#231
776
- def flatten(*args, **_arg1, &block); end
789
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
790
+ def flatten(*_arg0, **_arg1, &_arg2); end
777
791
 
778
- # source://forwardable/1.3.3/forwardable.rb#231
779
- def flatten!(*args, **_arg1, &block); end
792
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
793
+ def flatten!(*_arg0, **_arg1, &_arg2); end
780
794
 
781
- # source://forwardable/1.3.3/forwardable.rb#231
782
- def grep(*args, **_arg1, &block); end
795
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
796
+ def grep(*_arg0, **_arg1, &_arg2); end
783
797
 
784
- # source://forwardable/1.3.3/forwardable.rb#231
785
- def grep_v(*args, **_arg1, &block); end
798
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
799
+ def grep_v(*_arg0, **_arg1, &_arg2); end
786
800
 
787
- # source://forwardable/1.3.3/forwardable.rb#231
788
- def group_by(*args, **_arg1, &block); end
801
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
802
+ def group_by(*_arg0, **_arg1, &_arg2); end
789
803
 
790
- # source://forwardable/1.3.3/forwardable.rb#231
791
- def include?(*args, **_arg1, &block); end
804
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
805
+ def include?(*_arg0, **_arg1, &_arg2); end
792
806
 
793
- # source://forwardable/1.3.3/forwardable.rb#231
794
- def index(*args, **_arg1, &block); end
807
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
808
+ def index(*_arg0, **_arg1, &_arg2); end
795
809
 
796
- # source://forwardable/1.3.3/forwardable.rb#231
797
- def inject(*args, **_arg1, &block); end
810
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
811
+ def inject(*_arg0, **_arg1, &_arg2); end
798
812
 
799
- # source://forwardable/1.3.3/forwardable.rb#231
800
- def insert(*args, **_arg1, &block); end
813
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
814
+ def insert(*_arg0, **_arg1, &_arg2); end
801
815
 
802
- # source://forwardable/1.3.3/forwardable.rb#231
803
- def intersect?(*args, **_arg1, &block); end
816
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
817
+ def intersect?(*_arg0, **_arg1, &_arg2); end
804
818
 
805
- # source://forwardable/1.3.3/forwardable.rb#231
806
- def intersection(*args, **_arg1, &block); end
819
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
820
+ def intersection(*_arg0, **_arg1, &_arg2); end
807
821
 
808
- # source://forwardable/1.3.3/forwardable.rb#231
809
- def join(*args, **_arg1, &block); end
822
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
823
+ def join(*_arg0, **_arg1, &_arg2); end
810
824
 
811
- # source://forwardable/1.3.3/forwardable.rb#231
812
- def keep_if(*args, **_arg1, &block); end
825
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
826
+ def keep_if(*_arg0, **_arg1, &_arg2); end
813
827
 
814
- # source://forwardable/1.3.3/forwardable.rb#231
815
- def last(*args, **_arg1, &block); end
828
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
829
+ def last(*_arg0, **_arg1, &_arg2); end
816
830
 
817
- # source://forwardable/1.3.3/forwardable.rb#231
818
- def lazy(*args, **_arg1, &block); end
831
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
832
+ def lazy(*_arg0, **_arg1, &_arg2); end
819
833
 
820
- # source://forwardable/1.3.3/forwardable.rb#231
821
- def length(*args, **_arg1, &block); end
834
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
835
+ def length(*_arg0, **_arg1, &_arg2); end
822
836
 
823
- # source://forwardable/1.3.3/forwardable.rb#231
824
- def map(*args, **_arg1, &block); end
837
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
838
+ def map(*_arg0, **_arg1, &_arg2); end
825
839
 
826
- # source://forwardable/1.3.3/forwardable.rb#231
827
- def map!(*args, **_arg1, &block); end
840
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
841
+ def map!(*_arg0, **_arg1, &_arg2); end
828
842
 
829
- # source://forwardable/1.3.3/forwardable.rb#231
830
- def max(*args, **_arg1, &block); end
843
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
844
+ def max(*_arg0, **_arg1, &_arg2); end
831
845
 
832
- # source://forwardable/1.3.3/forwardable.rb#231
833
- def max_by(*args, **_arg1, &block); end
846
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
847
+ def max_by(*_arg0, **_arg1, &_arg2); end
834
848
 
835
- # source://forwardable/1.3.3/forwardable.rb#231
836
- def member?(*args, **_arg1, &block); end
849
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
850
+ def member?(*_arg0, **_arg1, &_arg2); end
837
851
 
838
- # source://forwardable/1.3.3/forwardable.rb#231
839
- def min(*args, **_arg1, &block); end
852
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
853
+ def min(*_arg0, **_arg1, &_arg2); end
840
854
 
841
- # source://forwardable/1.3.3/forwardable.rb#231
842
- def min_by(*args, **_arg1, &block); end
855
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
856
+ def min_by(*_arg0, **_arg1, &_arg2); end
843
857
 
844
- # source://forwardable/1.3.3/forwardable.rb#231
845
- def minmax(*args, **_arg1, &block); end
858
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
859
+ def minmax(*_arg0, **_arg1, &_arg2); end
846
860
 
847
- # source://forwardable/1.3.3/forwardable.rb#231
848
- def minmax_by(*args, **_arg1, &block); end
861
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
862
+ def minmax_by(*_arg0, **_arg1, &_arg2); end
849
863
 
850
- # source://forwardable/1.3.3/forwardable.rb#231
851
- def none?(*args, **_arg1, &block); end
864
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
865
+ def none?(*_arg0, **_arg1, &_arg2); end
852
866
 
853
- # source://forwardable/1.3.3/forwardable.rb#231
854
- def one?(*args, **_arg1, &block); end
867
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
868
+ def one?(*_arg0, **_arg1, &_arg2); end
855
869
 
856
- # source://forwardable/1.3.3/forwardable.rb#231
857
- def pack(*args, **_arg1, &block); end
870
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
871
+ def pack(*_arg0, **_arg1, &_arg2); end
858
872
 
859
- # source://forwardable/1.3.3/forwardable.rb#231
860
- def partition(*args, **_arg1, &block); end
873
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
874
+ def partition(*_arg0, **_arg1, &_arg2); end
861
875
 
862
- # source://forwardable/1.3.3/forwardable.rb#231
863
- def permutation(*args, **_arg1, &block); end
876
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
877
+ def permutation(*_arg0, **_arg1, &_arg2); end
864
878
 
865
- # source://forwardable/1.3.3/forwardable.rb#231
866
- def place(*args, **_arg1, &block); end
879
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
880
+ def place(*_arg0, **_arg1, &_arg2); end
867
881
 
868
- # source://forwardable/1.3.3/forwardable.rb#231
869
- def pop(*args, **_arg1, &block); end
882
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
883
+ def pop(*_arg0, **_arg1, &_arg2); end
870
884
 
871
- # source://forwardable/1.3.3/forwardable.rb#231
872
- def prepend(*args, **_arg1, &block); end
885
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
886
+ def prepend(*_arg0, **_arg1, &_arg2); end
873
887
 
874
- # source://forwardable/1.3.3/forwardable.rb#231
875
- def product(*args, **_arg1, &block); end
888
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
889
+ def product(*_arg0, **_arg1, &_arg2); end
876
890
 
877
- # source://forwardable/1.3.3/forwardable.rb#231
878
- def push(*args, **_arg1, &block); end
891
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
892
+ def push(*_arg0, **_arg1, &_arg2); end
879
893
 
880
- # source://forwardable/1.3.3/forwardable.rb#231
881
- def rassoc(*args, **_arg1, &block); end
894
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
895
+ def rassoc(*_arg0, **_arg1, &_arg2); end
882
896
 
883
- # source://forwardable/1.3.3/forwardable.rb#231
884
- def reduce(*args, **_arg1, &block); end
897
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
898
+ def reduce(*_arg0, **_arg1, &_arg2); end
885
899
 
886
- # source://forwardable/1.3.3/forwardable.rb#231
887
- def reject(*args, **_arg1, &block); end
900
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
901
+ def reject(*_arg0, **_arg1, &_arg2); end
888
902
 
889
- # source://forwardable/1.3.3/forwardable.rb#231
890
- def reject!(*args, **_arg1, &block); end
903
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
904
+ def reject!(*_arg0, **_arg1, &_arg2); end
891
905
 
892
- # source://forwardable/1.3.3/forwardable.rb#231
893
- def repeated_combination(*args, **_arg1, &block); end
906
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
907
+ def repeated_combination(*_arg0, **_arg1, &_arg2); end
894
908
 
895
- # source://forwardable/1.3.3/forwardable.rb#231
896
- def repeated_permutation(*args, **_arg1, &block); end
909
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
910
+ def repeated_permutation(*_arg0, **_arg1, &_arg2); end
897
911
 
898
- # source://forwardable/1.3.3/forwardable.rb#231
899
- def replace(*args, **_arg1, &block); end
912
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
913
+ def replace(*_arg0, **_arg1, &_arg2); end
900
914
 
901
- # source://forwardable/1.3.3/forwardable.rb#231
902
- def reverse(*args, **_arg1, &block); end
915
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
916
+ def reverse(*_arg0, **_arg1, &_arg2); end
903
917
 
904
- # source://forwardable/1.3.3/forwardable.rb#231
905
- def reverse!(*args, **_arg1, &block); end
918
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
919
+ def reverse!(*_arg0, **_arg1, &_arg2); end
906
920
 
907
- # source://forwardable/1.3.3/forwardable.rb#231
908
- def reverse_each(*args, **_arg1, &block); end
921
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
922
+ def reverse_each(*_arg0, **_arg1, &_arg2); end
909
923
 
910
- # source://forwardable/1.3.3/forwardable.rb#231
911
- def rindex(*args, **_arg1, &block); end
924
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
925
+ def rindex(*_arg0, **_arg1, &_arg2); end
912
926
 
913
- # source://forwardable/1.3.3/forwardable.rb#231
914
- def rotate(*args, **_arg1, &block); end
927
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
928
+ def rotate(*_arg0, **_arg1, &_arg2); end
915
929
 
916
- # source://forwardable/1.3.3/forwardable.rb#231
917
- def rotate!(*args, **_arg1, &block); end
930
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
931
+ def rotate!(*_arg0, **_arg1, &_arg2); end
918
932
 
919
- # source://forwardable/1.3.3/forwardable.rb#231
920
- def sample(*args, **_arg1, &block); end
933
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
934
+ def sample(*_arg0, **_arg1, &_arg2); end
921
935
 
922
- # source://forwardable/1.3.3/forwardable.rb#231
923
- def select(*args, **_arg1, &block); end
936
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
937
+ def select(*_arg0, **_arg1, &_arg2); end
924
938
 
925
- # source://forwardable/1.3.3/forwardable.rb#231
926
- def select!(*args, **_arg1, &block); end
939
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
940
+ def select!(*_arg0, **_arg1, &_arg2); end
927
941
 
928
- # source://forwardable/1.3.3/forwardable.rb#231
929
- def shelljoin(*args, **_arg1, &block); end
942
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
943
+ def shelljoin(*_arg0, **_arg1, &_arg2); end
930
944
 
931
- # source://forwardable/1.3.3/forwardable.rb#231
932
- def shift(*args, **_arg1, &block); end
945
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
946
+ def shift(*_arg0, **_arg1, &_arg2); end
933
947
 
934
- # source://forwardable/1.3.3/forwardable.rb#231
935
- def shuffle(*args, **_arg1, &block); end
948
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
949
+ def shuffle(*_arg0, **_arg1, &_arg2); end
936
950
 
937
- # source://forwardable/1.3.3/forwardable.rb#231
938
- def shuffle!(*args, **_arg1, &block); end
951
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
952
+ def shuffle!(*_arg0, **_arg1, &_arg2); end
939
953
 
940
- # source://forwardable/1.3.3/forwardable.rb#231
941
- def size(*args, **_arg1, &block); end
954
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
955
+ def size(*_arg0, **_arg1, &_arg2); end
942
956
 
943
- # source://forwardable/1.3.3/forwardable.rb#231
944
- def slice(*args, **_arg1, &block); end
957
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
958
+ def slice(*_arg0, **_arg1, &_arg2); end
945
959
 
946
- # source://forwardable/1.3.3/forwardable.rb#231
947
- def slice!(*args, **_arg1, &block); end
960
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
961
+ def slice!(*_arg0, **_arg1, &_arg2); end
948
962
 
949
- # source://forwardable/1.3.3/forwardable.rb#231
950
- def slice_after(*args, **_arg1, &block); end
963
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
964
+ def slice_after(*_arg0, **_arg1, &_arg2); end
951
965
 
952
- # source://forwardable/1.3.3/forwardable.rb#231
953
- def slice_before(*args, **_arg1, &block); end
966
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
967
+ def slice_before(*_arg0, **_arg1, &_arg2); end
954
968
 
955
- # source://forwardable/1.3.3/forwardable.rb#231
956
- def slice_when(*args, **_arg1, &block); end
969
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
970
+ def slice_when(*_arg0, **_arg1, &_arg2); end
957
971
 
958
- # source://forwardable/1.3.3/forwardable.rb#231
959
- def sort(*args, **_arg1, &block); end
972
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
973
+ def sort(*_arg0, **_arg1, &_arg2); end
960
974
 
961
- # source://forwardable/1.3.3/forwardable.rb#231
962
- def sort!(*args, **_arg1, &block); end
975
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
976
+ def sort!(*_arg0, **_arg1, &_arg2); end
963
977
 
964
- # source://forwardable/1.3.3/forwardable.rb#231
965
- def sort_by(*args, **_arg1, &block); end
978
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
979
+ def sort_by(*_arg0, **_arg1, &_arg2); end
966
980
 
967
- # source://forwardable/1.3.3/forwardable.rb#231
968
- def sort_by!(*args, **_arg1, &block); end
981
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
982
+ def sort_by!(*_arg0, **_arg1, &_arg2); end
969
983
 
970
- # source://forwardable/1.3.3/forwardable.rb#231
971
- def sum(*args, **_arg1, &block); end
984
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
985
+ def sum(*_arg0, **_arg1, &_arg2); end
972
986
 
973
- # source://forwardable/1.3.3/forwardable.rb#231
974
- def take(*args, **_arg1, &block); end
987
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
988
+ def take(*_arg0, **_arg1, &_arg2); end
975
989
 
976
- # source://forwardable/1.3.3/forwardable.rb#231
977
- def take_while(*args, **_arg1, &block); end
990
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
991
+ def take_while(*_arg0, **_arg1, &_arg2); end
978
992
 
979
- # source://forwardable/1.3.3/forwardable.rb#231
980
- def tally(*args, **_arg1, &block); end
993
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
994
+ def tally(*_arg0, **_arg1, &_arg2); end
981
995
 
982
- # source://forwardable/1.3.3/forwardable.rb#231
983
- def to_ary(*args, **_arg1, &block); end
996
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
997
+ def to_ary(*_arg0, **_arg1, &_arg2); end
984
998
 
985
- # source://forwardable/1.3.3/forwardable.rb#231
986
- def to_h(*args, **_arg1, &block); end
999
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1000
+ def to_h(*_arg0, **_arg1, &_arg2); end
987
1001
 
988
- # source://forwardable/1.3.3/forwardable.rb#231
989
- def to_set(*args, **_arg1, &block); end
1002
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1003
+ def to_set(*_arg0, **_arg1, &_arg2); end
990
1004
 
991
- # source://forwardable/1.3.3/forwardable.rb#231
992
- def transpose(*args, **_arg1, &block); end
1005
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1006
+ def transpose(*_arg0, **_arg1, &_arg2); end
993
1007
 
994
- # source://forwardable/1.3.3/forwardable.rb#231
995
- def union(*args, **_arg1, &block); end
1008
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1009
+ def union(*_arg0, **_arg1, &_arg2); end
996
1010
 
997
- # source://forwardable/1.3.3/forwardable.rb#231
998
- def uniq(*args, **_arg1, &block); end
1011
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1012
+ def uniq(*_arg0, **_arg1, &_arg2); end
999
1013
 
1000
- # source://forwardable/1.3.3/forwardable.rb#231
1001
- def uniq!(*args, **_arg1, &block); end
1014
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1015
+ def uniq!(*_arg0, **_arg1, &_arg2); end
1002
1016
 
1003
- # source://forwardable/1.3.3/forwardable.rb#231
1004
- def unshift(*args, **_arg1, &block); end
1017
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1018
+ def unshift(*_arg0, **_arg1, &_arg2); end
1005
1019
 
1006
- # source://forwardable/1.3.3/forwardable.rb#231
1007
- def values_at(*args, **_arg1, &block); end
1020
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1021
+ def values_at(*_arg0, **_arg1, &_arg2); end
1008
1022
 
1009
- # source://forwardable/1.3.3/forwardable.rb#231
1010
- def zip(*args, **_arg1, &block); end
1023
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1024
+ def zip(*_arg0, **_arg1, &_arg2); end
1011
1025
 
1012
- # source://forwardable/1.3.3/forwardable.rb#231
1013
- def |(*args, **_arg1, &block); end
1026
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1027
+ def |(*_arg0, **_arg1, &_arg2); end
1014
1028
  end
1015
1029
 
1016
1030
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#9
@@ -1061,16 +1075,24 @@ end
1061
1075
  #
1062
1076
  # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#6
1063
1077
  class RuboCop::AST::ConstNode < ::RuboCop::AST::Node
1078
+ include ::RuboCop::AST::ConstantNode
1079
+ end
1080
+
1081
+ # Common functionality for nodes that deal with constants:
1082
+ # `const`, `casgn`.
1083
+ #
1084
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#7
1085
+ module RuboCop::AST::ConstantNode
1064
1086
  # @return [Boolean] if the constant starts with `::` (aka s(:cbase))
1065
1087
  #
1066
- # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#26
1088
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#27
1067
1089
  def absolute?; end
1068
1090
 
1069
1091
  # @return [Boolean] if the constant is a Module / Class, according to the standard convention.
1070
1092
  # Note: some classes might have uppercase in which case this method
1071
1093
  # returns false
1072
1094
  #
1073
- # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#20
1095
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#21
1074
1096
  def class_name?; end
1075
1097
 
1076
1098
  # Yield nodes for the namespace
@@ -1080,29 +1102,29 @@ class RuboCop::AST::ConstNode < ::RuboCop::AST::Node
1080
1102
  # s(:const, :Foo), then
1081
1103
  # s(:const, s(:const, :Foo), :Bar)
1082
1104
  #
1083
- # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#43
1105
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#44
1084
1106
  def each_path(&block); end
1085
1107
 
1086
1108
  # @return [Boolean] if the constant is a Module / Class, according to the standard convention.
1087
1109
  # Note: some classes might have uppercase in which case this method
1088
1110
  # returns false
1089
1111
  #
1090
- # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#20
1112
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#21
1091
1113
  def module_name?; end
1092
1114
 
1093
1115
  # @return [Node, nil] the node associated with the scope (e.g. cbase, const, ...)
1094
1116
  #
1095
- # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#8
1117
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#9
1096
1118
  def namespace; end
1097
1119
 
1098
1120
  # @return [Boolean] if the constant does not start with `::` (aka s(:cbase))
1099
1121
  #
1100
- # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#33
1122
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#34
1101
1123
  def relative?; end
1102
1124
 
1103
1125
  # @return [Symbol] the demodulized name of the constant: "::Foo::Bar" => :Bar
1104
1126
  #
1105
- # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#13
1127
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#14
1106
1128
  def short_name; end
1107
1129
  end
1108
1130
 
@@ -1292,6 +1314,14 @@ class RuboCop::AST::EnsureNode < ::RuboCop::AST::Node
1292
1314
  #
1293
1315
  # source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#12
1294
1316
  def body; end
1317
+
1318
+ # Checks whether this node body is a void context.
1319
+ # Always `true` for `ensure`.
1320
+ #
1321
+ # @return [true] whether the `ensure` node body is a void context
1322
+ #
1323
+ # source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#20
1324
+ def void_context?; end
1295
1325
  end
1296
1326
 
1297
1327
  # source://rubocop-ast//lib/rubocop/ast/ext/range.rb#5
@@ -1319,11 +1349,6 @@ module RuboCop::AST::Ext::Range
1319
1349
  def line_span(exclude_end: T.unsafe(nil)); end
1320
1350
  end
1321
1351
 
1322
- # Refinement to circumvent broken `Range#minmax` for infinity ranges in 2.6-
1323
- #
1324
- # source://rubocop-ast//lib/rubocop/ast/ext/range_min_max.rb#7
1325
- module RuboCop::AST::Ext::RangeMinMax; end
1326
-
1327
1352
  # A node extension for `float` nodes. This will be used in place of a plain
1328
1353
  # node when the builder constructs the AST, making its methods available to
1329
1354
  # all `float` nodes within RuboCop.
@@ -1716,7 +1741,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node
1716
1741
  # source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#80
1717
1742
  def modifier_form?; end
1718
1743
 
1719
- # Chacks whether the `if` node has nested `if` nodes in any of its
1744
+ # Checks whether the `if` node has nested `if` nodes in any of its
1720
1745
  # branches.
1721
1746
  #
1722
1747
  # @note This performs a shallow search.
@@ -2020,6 +2045,71 @@ class RuboCop::AST::LambdaNode < ::RuboCop::AST::Node
2020
2045
  def first_argument_index; end
2021
2046
  end
2022
2047
 
2048
+ # A node extension for `masgn` nodes.
2049
+ # This will be used in place of a plain node when the builder constructs
2050
+ # the AST, making its methods available to all assignment nodes within RuboCop.
2051
+ #
2052
+ # source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#8
2053
+ class RuboCop::AST::MasgnNode < ::RuboCop::AST::Node
2054
+ # @return [Array<Node>] the assignment nodes of the multiple assignment
2055
+ #
2056
+ # source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#16
2057
+ def assignments; end
2058
+
2059
+ # The RHS (right hand side) of the multiple assignment. This returns
2060
+ # the nodes as parsed: either a single node if the RHS has a single value,
2061
+ # or an `array` node containing multiple nodes.
2062
+ #
2063
+ # NOTE: Due to how parsing works, `expression` will return the same for
2064
+ # `a, b = x, y` and `a, b = [x, y]`.
2065
+ #
2066
+ # @return [Node] the right hand side of a multiple assignment.
2067
+ #
2068
+ # source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#39
2069
+ def expression; end
2070
+
2071
+ # @return [MlhsNode] the `mlhs` node
2072
+ #
2073
+ # source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#10
2074
+ def lhs; end
2075
+
2076
+ # @return [Array<Symbol>] names of all the variables being assigned
2077
+ #
2078
+ # source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#21
2079
+ def names; end
2080
+
2081
+ # The RHS (right hand side) of the multiple assignment. This returns
2082
+ # the nodes as parsed: either a single node if the RHS has a single value,
2083
+ # or an `array` node containing multiple nodes.
2084
+ #
2085
+ # NOTE: Due to how parsing works, `expression` will return the same for
2086
+ # `a, b = x, y` and `a, b = [x, y]`.
2087
+ #
2088
+ # @return [Node] the right hand side of a multiple assignment.
2089
+ #
2090
+ # source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#39
2091
+ def rhs; end
2092
+
2093
+ # In contrast to `expression`, `values` always returns a Ruby array
2094
+ # containing all the nodes being assigned on the RHS.
2095
+ #
2096
+ # Literal arrays are considered a singular value; but unlike `expression`,
2097
+ # implied `array` nodes from assigning multiple values on the RHS are treated
2098
+ # as separate.
2099
+ #
2100
+ # @return [Array<Node>] individual values being assigned on the RHS of the multiple assignment
2101
+ #
2102
+ # source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#52
2103
+ def values; end
2104
+
2105
+ private
2106
+
2107
+ # @return [Boolean]
2108
+ #
2109
+ # source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#58
2110
+ def multiple_rhs?; end
2111
+ end
2112
+
2023
2113
  # Common functionality for nodes that are a kind of method dispatch:
2024
2114
  # `send`, `csend`, `super`, `zsuper`, `yield`, `defined?`,
2025
2115
  # and (modern only): `index`, `indexasgn`, `lambda`
@@ -2452,6 +2542,22 @@ RuboCop::AST::MethodIdentifierPredicates::NONMUTATING_UNARY_OPERATOR_METHODS = T
2452
2542
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#20
2453
2543
  RuboCop::AST::MethodIdentifierPredicates::OPERATOR_METHODS = T.let(T.unsafe(nil), Set)
2454
2544
 
2545
+ # A node extension for `mlhs` nodes.
2546
+ # This will be used in place of a plain node when the builder constructs
2547
+ # the AST, making its methods available to all assignment nodes within RuboCop.
2548
+ #
2549
+ # source://rubocop-ast//lib/rubocop/ast/node/mlhs_node.rb#8
2550
+ class RuboCop::AST::MlhsNode < ::RuboCop::AST::Node
2551
+ # Returns all the assignment nodes on the left hand side (LHS) of a multiple assignment.
2552
+ # These are generally assignment nodes (`lvasgn`, `ivasgn`, `cvasgn`, `gvasgn`, `casgn`)
2553
+ # but can also be `send` nodes in case of `foo.bar, ... =` or `foo[:bar], ... =`.
2554
+ #
2555
+ # @return [Array<Node>] the assignment nodes of the multiple assignment LHS
2556
+ #
2557
+ # source://rubocop-ast//lib/rubocop/ast/node/mlhs_node.rb#14
2558
+ def assignments; end
2559
+ end
2560
+
2455
2561
  # Common functionality for nodes that can be used as modifiers:
2456
2562
  # `if`, `while`, `until`
2457
2563
  #
@@ -2522,19 +2628,19 @@ class RuboCop::AST::Node < ::Parser::AST::Node
2522
2628
  # @return [Node] a new instance of Node
2523
2629
  # @see https://www.rubydoc.info/gems/ast/AST/Node:initialize
2524
2630
  #
2525
- # source://rubocop-ast//lib/rubocop/ast/node.rb#92
2631
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#113
2526
2632
  def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end
2527
2633
 
2528
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2634
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2529
2635
  def __ENCODING___type?; end
2530
2636
 
2531
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2637
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2532
2638
  def __FILE___type?; end
2533
2639
 
2534
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2640
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2535
2641
  def __LINE___type?; end
2536
2642
 
2537
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2643
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2538
2644
  def alias_type?; end
2539
2645
 
2540
2646
  # Returns an array of ancestor nodes.
@@ -2542,173 +2648,173 @@ class RuboCop::AST::Node < ::Parser::AST::Node
2542
2648
  #
2543
2649
  # @return [Array<Node>] an array of ancestor nodes
2544
2650
  #
2545
- # source://rubocop-ast//lib/rubocop/ast/node.rb#247
2651
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#268
2546
2652
  def ancestors; end
2547
2653
 
2548
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2654
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2549
2655
  def and_asgn_type?; end
2550
2656
 
2551
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2657
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2552
2658
  def and_type?; end
2553
2659
 
2554
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2660
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2555
2661
  def arg_expr_type?; end
2556
2662
 
2557
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2663
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2558
2664
  def arg_type?; end
2559
2665
 
2560
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2666
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2561
2667
  def args_type?; end
2562
2668
 
2563
2669
  # @return [Boolean]
2564
2670
  #
2565
- # source://rubocop-ast//lib/rubocop/ast/node.rb#464
2671
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#474
2566
2672
  def argument?; end
2567
2673
 
2568
2674
  # @return [Boolean]
2569
2675
  #
2570
- # source://rubocop-ast//lib/rubocop/ast/node.rb#468
2676
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#478
2571
2677
  def argument_type?; end
2572
2678
 
2573
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2679
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2574
2680
  def array_pattern_type?; end
2575
2681
 
2576
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2682
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2577
2683
  def array_pattern_with_tail_type?; end
2578
2684
 
2579
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2685
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2580
2686
  def array_type?; end
2581
2687
 
2582
2688
  # @return [Boolean]
2583
2689
  #
2584
- # source://rubocop-ast//lib/rubocop/ast/node.rb#416
2690
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#426
2585
2691
  def assignment?; end
2586
2692
 
2587
2693
  # Some cops treat the shovel operator as a kind of assignment.
2588
2694
  #
2589
- # source://rubocop-ast//lib/rubocop/ast/node.rb#355
2695
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#376
2590
2696
  def assignment_or_similar?(param0 = T.unsafe(nil)); end
2591
2697
 
2592
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2698
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2593
2699
  def back_ref_type?; end
2594
2700
 
2595
2701
  # @return [Boolean]
2596
2702
  #
2597
- # source://rubocop-ast//lib/rubocop/ast/node.rb#420
2703
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#430
2598
2704
  def basic_conditional?; end
2599
2705
 
2600
2706
  # @return [Boolean]
2601
2707
  #
2602
- # source://rubocop-ast//lib/rubocop/ast/node.rb#363
2708
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#384
2603
2709
  def basic_literal?; end
2604
2710
 
2605
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2711
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2606
2712
  def begin_type?; end
2607
2713
 
2608
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2714
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2609
2715
  def block_pass_type?; end
2610
2716
 
2611
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2717
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2612
2718
  def block_type?; end
2613
2719
 
2614
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2720
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2615
2721
  def blockarg_expr_type?; end
2616
2722
 
2617
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2723
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2618
2724
  def blockarg_type?; end
2619
2725
 
2620
2726
  # @return [Boolean]
2621
2727
  #
2622
- # source://rubocop-ast//lib/rubocop/ast/node.rb#472
2728
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#482
2623
2729
  def boolean_type?; end
2624
2730
 
2625
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2731
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2626
2732
  def break_type?; end
2627
2733
 
2628
2734
  # @return [Boolean]
2629
2735
  #
2630
- # source://rubocop-ast//lib/rubocop/ast/node.rb#456
2736
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#466
2631
2737
  def call_type?; end
2632
2738
 
2633
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2739
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2634
2740
  def case_match_type?; end
2635
2741
 
2636
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2742
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2637
2743
  def case_type?; end
2638
2744
 
2639
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2745
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2640
2746
  def casgn_type?; end
2641
2747
 
2642
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2748
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2643
2749
  def cbase_type?; end
2644
2750
 
2645
2751
  # @return [Boolean]
2646
2752
  #
2647
- # source://rubocop-ast//lib/rubocop/ast/node.rb#460
2753
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#470
2648
2754
  def chained?; end
2649
2755
 
2650
- # source://rubocop-ast//lib/rubocop/ast/node.rb#512
2756
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#522
2651
2757
  def class_constructor?(param0 = T.unsafe(nil)); end
2652
2758
 
2653
- # source://rubocop-ast//lib/rubocop/ast/node.rb#530
2759
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#540
2654
2760
  def class_definition?(param0 = T.unsafe(nil)); end
2655
2761
 
2656
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2762
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2657
2763
  def class_type?; end
2658
2764
 
2659
- # source://rubocop-ast//lib/rubocop/ast/node.rb#144
2765
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#165
2660
2766
  def complete!; end
2661
2767
 
2662
2768
  # @return [Boolean]
2663
2769
  #
2664
- # source://rubocop-ast//lib/rubocop/ast/node.rb#149
2770
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2665
2771
  def complete?; end
2666
2772
 
2667
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2773
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2668
2774
  def complex_type?; end
2669
2775
 
2670
2776
  # @return [Boolean]
2671
2777
  #
2672
- # source://rubocop-ast//lib/rubocop/ast/node.rb#424
2778
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#434
2673
2779
  def conditional?; end
2674
2780
 
2675
- # source://rubocop-ast//lib/rubocop/ast/node.rb#293
2781
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#314
2676
2782
  def const_name; end
2677
2783
 
2678
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2784
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2679
2785
  def const_pattern_type?; end
2680
2786
 
2681
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2787
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2682
2788
  def const_type?; end
2683
2789
 
2684
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2790
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2685
2791
  def csend_type?; end
2686
2792
 
2687
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2793
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2688
2794
  def cvar_type?; end
2689
2795
 
2690
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2796
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2691
2797
  def cvasgn_type?; end
2692
2798
 
2693
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2799
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2694
2800
  def def_type?; end
2695
2801
 
2696
- # source://rubocop-ast//lib/rubocop/ast/node.rb#314
2802
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#335
2697
2803
  def defined_module; end
2698
2804
 
2699
- # source://rubocop-ast//lib/rubocop/ast/node.rb#319
2805
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#340
2700
2806
  def defined_module_name; end
2701
2807
 
2702
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2808
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2703
2809
  def defined_type?; end
2704
2810
 
2705
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2811
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2706
2812
  def defs_type?; end
2707
2813
 
2708
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2814
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2709
2815
  def dstr_type?; end
2710
2816
 
2711
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2817
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2712
2818
  def dsym_type?; end
2713
2819
 
2714
2820
  # Calls the given block for each ancestor node from parent to root.
@@ -2721,163 +2827,163 @@ class RuboCop::AST::Node < ::Parser::AST::Node
2721
2827
  # @return [Enumerator] if no block is given
2722
2828
  # @yieldparam node [Node] each ancestor node
2723
2829
  #
2724
- # source://rubocop-ast//lib/rubocop/ast/node.rb#235
2830
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#256
2725
2831
  def each_ancestor(*types, &block); end
2726
2832
 
2727
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2833
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2728
2834
  def eflipflop_type?; end
2729
2835
 
2730
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2836
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2731
2837
  def empty_else_type?; end
2732
2838
 
2733
2839
  # @return [Boolean]
2734
2840
  #
2735
- # source://rubocop-ast//lib/rubocop/ast/node.rb#349
2841
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#370
2736
2842
  def empty_source?; end
2737
2843
 
2738
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2844
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2739
2845
  def ensure_type?; end
2740
2846
 
2741
2847
  # @return [Boolean]
2742
2848
  #
2743
- # source://rubocop-ast//lib/rubocop/ast/node.rb#408
2849
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#418
2744
2850
  def equals_asgn?; end
2745
2851
 
2746
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2852
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2747
2853
  def erange_type?; end
2748
2854
 
2749
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2855
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2750
2856
  def false_type?; end
2751
2857
 
2752
2858
  # @return [Boolean]
2753
2859
  #
2754
- # source://rubocop-ast//lib/rubocop/ast/node.rb#371
2860
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#392
2755
2861
  def falsey_literal?; end
2756
2862
 
2757
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2863
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2758
2864
  def find_pattern_type?; end
2759
2865
 
2760
- # source://rubocop-ast//lib/rubocop/ast/node.rb#261
2866
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#282
2761
2867
  def first_line; end
2762
2868
 
2763
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2869
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2764
2870
  def float_type?; end
2765
2871
 
2766
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2872
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2767
2873
  def for_type?; end
2768
2874
 
2769
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2875
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2770
2876
  def forward_arg_type?; end
2771
2877
 
2772
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2878
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2773
2879
  def forward_args_type?; end
2774
2880
 
2775
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2881
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2776
2882
  def forwarded_args_type?; end
2777
2883
 
2778
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2884
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2779
2885
  def forwarded_kwrestarg_type?; end
2780
2886
 
2781
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2887
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2782
2888
  def forwarded_restarg_type?; end
2783
2889
 
2784
- # source://rubocop-ast//lib/rubocop/ast/node.rb#509
2890
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#519
2785
2891
  def global_const?(param0 = T.unsafe(nil), param1); end
2786
2892
 
2787
2893
  # @return [Boolean]
2788
2894
  #
2789
- # source://rubocop-ast//lib/rubocop/ast/node.rb#484
2895
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#494
2790
2896
  def guard_clause?; end
2791
2897
 
2792
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2898
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2793
2899
  def gvar_type?; end
2794
2900
 
2795
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2901
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2796
2902
  def gvasgn_type?; end
2797
2903
 
2798
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2904
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2799
2905
  def hash_pattern_type?; end
2800
2906
 
2801
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2907
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2802
2908
  def hash_type?; end
2803
2909
 
2804
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2910
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2805
2911
  def ident_type?; end
2806
2912
 
2807
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2913
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2808
2914
  def if_guard_type?; end
2809
2915
 
2810
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2916
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2811
2917
  def if_type?; end
2812
2918
 
2813
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2919
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2814
2920
  def iflipflop_type?; end
2815
2921
 
2816
2922
  # @return [Boolean]
2817
2923
  #
2818
- # source://rubocop-ast//lib/rubocop/ast/node.rb#379
2924
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#400
2819
2925
  def immutable_literal?; end
2820
2926
 
2821
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2927
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2822
2928
  def in_match_type?; end
2823
2929
 
2824
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2930
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2825
2931
  def in_pattern_type?; end
2826
2932
 
2827
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2933
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2828
2934
  def index_type?; end
2829
2935
 
2830
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2936
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2831
2937
  def indexasgn_type?; end
2832
2938
 
2833
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2939
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2834
2940
  def int_type?; end
2835
2941
 
2836
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2942
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2837
2943
  def irange_type?; end
2838
2944
 
2839
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2945
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2840
2946
  def ivar_type?; end
2841
2947
 
2842
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2948
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2843
2949
  def ivasgn_type?; end
2844
2950
 
2845
2951
  # @return [Boolean]
2846
2952
  #
2847
- # source://rubocop-ast//lib/rubocop/ast/node.rb#437
2953
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#447
2848
2954
  def keyword?; end
2849
2955
 
2850
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2956
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2851
2957
  def kwarg_type?; end
2852
2958
 
2853
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2959
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2854
2960
  def kwargs_type?; end
2855
2961
 
2856
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2962
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2857
2963
  def kwbegin_type?; end
2858
2964
 
2859
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2965
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2860
2966
  def kwnilarg_type?; end
2861
2967
 
2862
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2968
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2863
2969
  def kwoptarg_type?; end
2864
2970
 
2865
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2971
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2866
2972
  def kwrestarg_type?; end
2867
2973
 
2868
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2974
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2869
2975
  def kwsplat_type?; end
2870
2976
 
2871
- # source://rubocop-ast//lib/rubocop/ast/node.rb#503
2977
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#513
2872
2978
  def lambda?(param0 = T.unsafe(nil)); end
2873
2979
 
2874
- # source://rubocop-ast//lib/rubocop/ast/node.rb#506
2980
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#516
2875
2981
  def lambda_or_proc?(param0 = T.unsafe(nil)); end
2876
2982
 
2877
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2983
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2878
2984
  def lambda_type?; end
2879
2985
 
2880
- # source://rubocop-ast//lib/rubocop/ast/node.rb#265
2986
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#286
2881
2987
  def last_line; end
2882
2988
 
2883
2989
  # Use is discouraged, this is a potentially slow method and can lead
@@ -2885,7 +2991,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
2885
2991
  #
2886
2992
  # @return [Node, nil] the left (aka previous) sibling
2887
2993
  #
2888
- # source://rubocop-ast//lib/rubocop/ast/node.rb#187
2994
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#208
2889
2995
  def left_sibling; end
2890
2996
 
2891
2997
  # Use is discouraged, this is a potentially slow method and can lead
@@ -2893,94 +2999,94 @@ class RuboCop::AST::Node < ::Parser::AST::Node
2893
2999
  #
2894
3000
  # @return [Array<Node>] the left (aka previous) siblings
2895
3001
  #
2896
- # source://rubocop-ast//lib/rubocop/ast/node.rb#197
3002
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#218
2897
3003
  def left_siblings; end
2898
3004
 
2899
- # source://rubocop-ast//lib/rubocop/ast/node.rb#269
3005
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#290
2900
3006
  def line_count; end
2901
3007
 
2902
3008
  # @return [Boolean]
2903
3009
  #
2904
- # source://rubocop-ast//lib/rubocop/ast/node.rb#359
3010
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#380
2905
3011
  def literal?; end
2906
3012
 
2907
3013
  # NOTE: `loop { }` is a normal method call and thus not a loop keyword.
2908
3014
  #
2909
3015
  # @return [Boolean]
2910
3016
  #
2911
- # source://rubocop-ast//lib/rubocop/ast/node.rb#433
3017
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#443
2912
3018
  def loop_keyword?; end
2913
3019
 
2914
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3020
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2915
3021
  def lvar_type?; end
2916
3022
 
2917
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3023
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2918
3024
  def lvasgn_type?; end
2919
3025
 
2920
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3026
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2921
3027
  def masgn_type?; end
2922
3028
 
2923
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3029
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2924
3030
  def match_alt_type?; end
2925
3031
 
2926
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3032
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2927
3033
  def match_as_type?; end
2928
3034
 
2929
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3035
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2930
3036
  def match_current_line_type?; end
2931
3037
 
2932
- # source://rubocop-ast//lib/rubocop/ast/node.rb#491
3038
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#501
2933
3039
  def match_guard_clause?(param0 = T.unsafe(nil)); end
2934
3040
 
2935
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3041
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2936
3042
  def match_nil_pattern_type?; end
2937
3043
 
2938
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3044
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2939
3045
  def match_pattern_p_type?; end
2940
3046
 
2941
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3047
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2942
3048
  def match_pattern_type?; end
2943
3049
 
2944
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3050
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2945
3051
  def match_rest_type?; end
2946
3052
 
2947
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3053
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2948
3054
  def match_var_type?; end
2949
3055
 
2950
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3056
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2951
3057
  def match_with_lvasgn_type?; end
2952
3058
 
2953
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3059
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2954
3060
  def match_with_trailing_comma_type?; end
2955
3061
 
2956
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3062
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2957
3063
  def mlhs_type?; end
2958
3064
 
2959
- # source://rubocop-ast//lib/rubocop/ast/node.rb#537
3065
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#547
2960
3066
  def module_definition?(param0 = T.unsafe(nil)); end
2961
3067
 
2962
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3068
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2963
3069
  def module_type?; end
2964
3070
 
2965
3071
  # Predicates
2966
3072
  #
2967
3073
  # @return [Boolean]
2968
3074
  #
2969
- # source://rubocop-ast//lib/rubocop/ast/node.rb#341
3075
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#362
2970
3076
  def multiline?; end
2971
3077
 
2972
3078
  # @return [Boolean]
2973
3079
  #
2974
- # source://rubocop-ast//lib/rubocop/ast/node.rb#375
3080
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#396
2975
3081
  def mutable_literal?; end
2976
3082
 
2977
- # source://rubocop-ast//lib/rubocop/ast/node.rb#671
3083
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#679
2978
3084
  def new_class_or_module_block?(param0 = T.unsafe(nil)); end
2979
3085
 
2980
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3086
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2981
3087
  def next_type?; end
2982
3088
 
2983
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3089
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2984
3090
  def nil_type?; end
2985
3091
 
2986
3092
  # Common destructuring method. This can be used to normalize
@@ -2993,95 +3099,95 @@ class RuboCop::AST::Node < ::Parser::AST::Node
2993
3099
  # source://ast/2.4.2/lib/ast/node.rb#56
2994
3100
  def node_parts; end
2995
3101
 
2996
- # source://rubocop-ast//lib/rubocop/ast/node.rb#275
3102
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#296
2997
3103
  def nonempty_line_count; end
2998
3104
 
2999
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3105
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3000
3106
  def not_type?; end
3001
3107
 
3002
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3108
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3003
3109
  def nth_ref_type?; end
3004
3110
 
3005
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3111
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3006
3112
  def numargs_type?; end
3007
3113
 
3008
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3114
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3009
3115
  def numblock_type?; end
3010
3116
 
3011
3117
  # @return [Boolean]
3012
3118
  #
3013
- # source://rubocop-ast//lib/rubocop/ast/node.rb#476
3119
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#486
3014
3120
  def numeric_type?; end
3015
3121
 
3016
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3122
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3017
3123
  def objc_kwarg_type?; end
3018
3124
 
3019
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3125
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3020
3126
  def objc_restarg_type?; end
3021
3127
 
3022
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3128
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3023
3129
  def objc_varargs_type?; end
3024
3130
 
3025
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3131
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3026
3132
  def op_asgn_type?; end
3027
3133
 
3028
3134
  # @return [Boolean]
3029
3135
  #
3030
- # source://rubocop-ast//lib/rubocop/ast/node.rb#448
3136
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#458
3031
3137
  def operator_keyword?; end
3032
3138
 
3033
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3139
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3034
3140
  def optarg_type?; end
3035
3141
 
3036
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3142
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3037
3143
  def or_asgn_type?; end
3038
3144
 
3039
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3145
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3040
3146
  def or_type?; end
3041
3147
 
3042
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3148
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3043
3149
  def pair_type?; end
3044
3150
 
3045
3151
  # Returns the parent node, or `nil` if the receiver is a root node.
3046
3152
  #
3047
3153
  # @return [Node, nil] the parent node or `nil`
3048
3154
  #
3049
- # source://rubocop-ast//lib/rubocop/ast/node.rb#126
3155
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#147
3050
3156
  def parent; end
3051
3157
 
3052
3158
  # @return [Boolean]
3053
3159
  #
3054
- # source://rubocop-ast//lib/rubocop/ast/node.rb#135
3160
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#156
3055
3161
  def parent?; end
3056
3162
 
3057
3163
  # Searching the AST
3058
3164
  #
3059
- # source://rubocop-ast//lib/rubocop/ast/node.rb#325
3165
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#346
3060
3166
  def parent_module_name; end
3061
3167
 
3062
3168
  # @return [Boolean]
3063
3169
  #
3064
- # source://rubocop-ast//lib/rubocop/ast/node.rb#452
3170
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#462
3065
3171
  def parenthesized_call?; end
3066
3172
 
3067
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3173
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3068
3174
  def pin_type?; end
3069
3175
 
3070
3176
  # @return [Boolean]
3071
3177
  #
3072
- # source://rubocop-ast//lib/rubocop/ast/node.rb#428
3178
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#438
3073
3179
  def post_condition_loop?; end
3074
3180
 
3075
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3181
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3076
3182
  def postexe_type?; end
3077
3183
 
3078
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3184
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3079
3185
  def preexe_type?; end
3080
3186
 
3081
- # source://rubocop-ast//lib/rubocop/ast/node.rb#496
3187
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#506
3082
3188
  def proc?(param0 = T.unsafe(nil)); end
3083
3189
 
3084
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3190
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3085
3191
  def procarg0_type?; end
3086
3192
 
3087
3193
  # Some expressions are evaluated for their value, some for their side
@@ -3094,56 +3200,60 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3094
3200
  #
3095
3201
  # @return [Boolean]
3096
3202
  #
3097
- # source://rubocop-ast//lib/rubocop/ast/node.rb#582
3203
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#590
3098
3204
  def pure?; end
3099
3205
 
3100
3206
  # @return [Boolean]
3101
3207
  #
3102
- # source://rubocop-ast//lib/rubocop/ast/node.rb#480
3208
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#490
3103
3209
  def range_type?; end
3104
3210
 
3105
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3211
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3106
3212
  def rational_type?; end
3107
3213
 
3108
- # source://rubocop-ast//lib/rubocop/ast/node.rb#286
3214
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#307
3109
3215
  def receiver(param0 = T.unsafe(nil)); end
3110
3216
 
3111
- # source://rubocop-ast//lib/rubocop/ast/node.rb#386
3217
+ # @return [Boolean]
3218
+ #
3219
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#97
3112
3220
  def recursive_basic_literal?; end
3113
3221
 
3114
- # source://rubocop-ast//lib/rubocop/ast/node.rb#386
3222
+ # @return [Boolean]
3223
+ #
3224
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#97
3115
3225
  def recursive_literal?; end
3116
3226
 
3117
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3227
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3118
3228
  def redo_type?; end
3119
3229
 
3120
3230
  # @return [Boolean]
3121
3231
  #
3122
- # source://rubocop-ast//lib/rubocop/ast/node.rb#404
3232
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#414
3123
3233
  def reference?; end
3124
3234
 
3125
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3235
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3126
3236
  def regexp_type?; end
3127
3237
 
3128
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3238
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3129
3239
  def regopt_type?; end
3130
3240
 
3131
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3241
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3132
3242
  def resbody_type?; end
3133
3243
 
3134
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3244
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3135
3245
  def rescue_type?; end
3136
3246
 
3137
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3247
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3138
3248
  def restarg_expr_type?; end
3139
3249
 
3140
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3250
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3141
3251
  def restarg_type?; end
3142
3252
 
3143
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3253
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3144
3254
  def retry_type?; end
3145
3255
 
3146
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3256
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3147
3257
  def return_type?; end
3148
3258
 
3149
3259
  # Use is discouraged, this is a potentially slow method and can lead
@@ -3151,7 +3261,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3151
3261
  #
3152
3262
  # @return [Node, nil] the right (aka next) sibling
3153
3263
  #
3154
- # source://rubocop-ast//lib/rubocop/ast/node.rb#178
3264
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#199
3155
3265
  def right_sibling; end
3156
3266
 
3157
3267
  # Use is discouraged, this is a potentially slow method and can lead
@@ -3159,18 +3269,18 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3159
3269
  #
3160
3270
  # @return [Array<Node>] the right (aka next) siblings
3161
3271
  #
3162
- # source://rubocop-ast//lib/rubocop/ast/node.rb#206
3272
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#227
3163
3273
  def right_siblings; end
3164
3274
 
3165
3275
  # @return [Boolean]
3166
3276
  #
3167
- # source://rubocop-ast//lib/rubocop/ast/node.rb#140
3277
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#161
3168
3278
  def root?; end
3169
3279
 
3170
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3280
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3171
3281
  def sclass_type?; end
3172
3282
 
3173
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3283
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3174
3284
  def self_type?; end
3175
3285
 
3176
3286
  # Most nodes are of 'send' type, so this method is defined
@@ -3178,15 +3288,15 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3178
3288
  #
3179
3289
  # @return [Boolean]
3180
3290
  #
3181
- # source://rubocop-ast//lib/rubocop/ast/node.rb#119
3291
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#140
3182
3292
  def send_type?; end
3183
3293
 
3184
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3294
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3185
3295
  def shadowarg_type?; end
3186
3296
 
3187
3297
  # @return [Boolean]
3188
3298
  #
3189
- # source://rubocop-ast//lib/rubocop/ast/node.rb#412
3299
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#422
3190
3300
  def shorthand_asgn?; end
3191
3301
 
3192
3302
  # Returns the index of the receiver node in its siblings. (Sibling index
@@ -3195,70 +3305,70 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3195
3305
  #
3196
3306
  # @return [Integer, nil] the index of the receiver node in its siblings
3197
3307
  #
3198
- # source://rubocop-ast//lib/rubocop/ast/node.rb#171
3308
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#192
3199
3309
  def sibling_index; end
3200
3310
 
3201
3311
  # @return [Boolean]
3202
3312
  #
3203
- # source://rubocop-ast//lib/rubocop/ast/node.rb#345
3313
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#366
3204
3314
  def single_line?; end
3205
3315
 
3206
3316
  # NOTE: Some rare nodes may have no source, like `s(:args)` in `foo {}`
3207
3317
  #
3208
3318
  # @return [String, nil]
3209
3319
  #
3210
- # source://rubocop-ast//lib/rubocop/ast/node.rb#253
3320
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#274
3211
3321
  def source; end
3212
3322
 
3213
- # source://rubocop-ast//lib/rubocop/ast/node.rb#279
3323
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#300
3214
3324
  def source_length; end
3215
3325
 
3216
- # source://rubocop-ast//lib/rubocop/ast/node.rb#257
3326
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#278
3217
3327
  def source_range; end
3218
3328
 
3219
3329
  # @return [Boolean]
3220
3330
  #
3221
- # source://rubocop-ast//lib/rubocop/ast/node.rb#444
3331
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#454
3222
3332
  def special_keyword?; end
3223
3333
 
3224
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3334
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3225
3335
  def splat_type?; end
3226
3336
 
3227
- # source://rubocop-ast//lib/rubocop/ast/node.rb#291
3337
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#312
3228
3338
  def str_content(param0 = T.unsafe(nil)); end
3229
3339
 
3230
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3340
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3231
3341
  def str_type?; end
3232
3342
 
3233
3343
  # @deprecated Use `:class_constructor?`
3234
3344
  #
3235
- # source://rubocop-ast//lib/rubocop/ast/node.rb#525
3345
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#535
3236
3346
  def struct_constructor?(param0 = T.unsafe(nil)); end
3237
3347
 
3238
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3348
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3239
3349
  def super_type?; end
3240
3350
 
3241
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3351
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3242
3352
  def sym_type?; end
3243
3353
 
3244
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3354
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3245
3355
  def true_type?; end
3246
3356
 
3247
3357
  # @return [Boolean]
3248
3358
  #
3249
- # source://rubocop-ast//lib/rubocop/ast/node.rb#367
3359
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#388
3250
3360
  def truthy_literal?; end
3251
3361
 
3252
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3362
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3253
3363
  def undef_type?; end
3254
3364
 
3255
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3365
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3256
3366
  def unless_guard_type?; end
3257
3367
 
3258
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3368
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3259
3369
  def until_post_type?; end
3260
3370
 
3261
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3371
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3262
3372
  def until_type?; end
3263
3373
 
3264
3374
  # Override `AST::Node#updated` so that `AST::Processor` does not try to
@@ -3267,7 +3377,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3267
3377
  # identical subtrees. Rather, the entire AST must be copied any time any
3268
3378
  # part of it is changed.
3269
3379
  #
3270
- # source://rubocop-ast//lib/rubocop/ast/node.rb#160
3380
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#181
3271
3381
  def updated(type = T.unsafe(nil), children = T.unsafe(nil), properties = T.unsafe(nil)); end
3272
3382
 
3273
3383
  # Some expressions are evaluated for their value, some for their side
@@ -3278,76 +3388,82 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3278
3388
  # So, does the return value of this node matter? If we changed it to
3279
3389
  # `(...; nil)`, might that affect anything?
3280
3390
  #
3281
- #
3282
3391
  # @return [Boolean]
3283
3392
  #
3284
- # source://rubocop-ast//lib/rubocop/ast/node.rb#551
3393
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#560
3285
3394
  def value_used?; end
3286
3395
 
3287
3396
  # @return [Boolean]
3288
3397
  #
3289
- # source://rubocop-ast//lib/rubocop/ast/node.rb#400
3398
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#410
3290
3399
  def variable?; end
3291
3400
 
3292
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3401
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3293
3402
  def when_type?; end
3294
3403
 
3295
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3404
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3296
3405
  def while_post_type?; end
3297
3406
 
3298
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3407
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3299
3408
  def while_type?; end
3300
3409
 
3301
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3410
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3302
3411
  def xstr_type?; end
3303
3412
 
3304
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3413
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3305
3414
  def yield_type?; end
3306
3415
 
3307
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3416
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3308
3417
  def zsuper_type?; end
3309
3418
 
3310
3419
  protected
3311
3420
 
3312
- # source://rubocop-ast//lib/rubocop/ast/node.rb#130
3421
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#151
3313
3422
  def parent=(node); end
3314
3423
 
3315
3424
  private
3316
3425
 
3317
3426
  # @return [Boolean]
3318
3427
  #
3319
- # source://rubocop-ast//lib/rubocop/ast/node.rb#610
3428
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#618
3320
3429
  def begin_value_used?; end
3321
3430
 
3322
3431
  # @return [Boolean]
3323
3432
  #
3324
- # source://rubocop-ast//lib/rubocop/ast/node.rb#621
3433
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#629
3325
3434
  def case_if_value_used?; end
3326
3435
 
3327
- # source://rubocop-ast//lib/rubocop/ast/node.rb#305
3436
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#326
3328
3437
  def defined_module0(param0 = T.unsafe(nil)); end
3329
3438
 
3330
3439
  # @return [Boolean]
3331
3440
  #
3332
- # source://rubocop-ast//lib/rubocop/ast/node.rb#615
3441
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#623
3333
3442
  def for_value_used?; end
3334
3443
 
3335
- # source://rubocop-ast//lib/rubocop/ast/node.rb#657
3444
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#665
3336
3445
  def parent_module_name_for_block(ancestor); end
3337
3446
 
3338
- # source://rubocop-ast//lib/rubocop/ast/node.rb#645
3447
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#653
3339
3448
  def parent_module_name_for_sclass(sclass_node); end
3340
3449
 
3341
- # source://rubocop-ast//lib/rubocop/ast/node.rb#632
3450
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#640
3342
3451
  def parent_module_name_part(node); end
3343
3452
 
3344
- # source://rubocop-ast//lib/rubocop/ast/node.rb#600
3453
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#608
3345
3454
  def visit_ancestors(types); end
3346
3455
 
3347
3456
  # @return [Boolean]
3348
3457
  #
3349
- # source://rubocop-ast//lib/rubocop/ast/node.rb#627
3458
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#635
3350
3459
  def while_until_value_used?; end
3460
+
3461
+ class << self
3462
+ private
3463
+
3464
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#92
3465
+ def def_recursive_literal_predicate(kind); end
3466
+ end
3351
3467
  end
3352
3468
 
3353
3469
  # @api private
@@ -3491,7 +3607,7 @@ RuboCop::AST::Node::VARIABLES = T.let(T.unsafe(nil), Set)
3491
3607
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#5
3492
3608
  class RuboCop::AST::NodePattern
3493
3609
  include ::RuboCop::AST::NodePattern::MethodDefiner
3494
- extend ::Forwardable
3610
+ extend ::RuboCop::SimpleForwardable
3495
3611
 
3496
3612
  # @return [NodePattern] a new instance of NodePattern
3497
3613
  #
@@ -3509,8 +3625,8 @@ class RuboCop::AST::NodePattern
3509
3625
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73
3510
3626
  def ast; end
3511
3627
 
3512
- # source://forwardable/1.3.3/forwardable.rb#231
3513
- def captures(*args, **_arg1, &block); end
3628
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
3629
+ def captures(*_arg0, **_arg1, &_arg2); end
3514
3630
 
3515
3631
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#111
3516
3632
  def encode_with(coder); end
@@ -3538,16 +3654,16 @@ class RuboCop::AST::NodePattern
3538
3654
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73
3539
3655
  def match_code; end
3540
3656
 
3541
- # source://forwardable/1.3.3/forwardable.rb#231
3542
- def named_parameters(*args, **_arg1, &block); end
3657
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
3658
+ def named_parameters(*_arg0, **_arg1, &_arg2); end
3543
3659
 
3544
3660
  # Returns the value of attribute pattern.
3545
3661
  #
3546
3662
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73
3547
3663
  def pattern; end
3548
3664
 
3549
- # source://forwardable/1.3.3/forwardable.rb#231
3550
- def positional_parameters(*args, **_arg1, &block); end
3665
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
3666
+ def positional_parameters(*_arg0, **_arg1, &_arg2); end
3551
3667
 
3552
3668
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#95
3553
3669
  def to_s; end
@@ -3652,15 +3768,15 @@ end
3652
3768
  #
3653
3769
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#11
3654
3770
  class RuboCop::AST::NodePattern::Compiler
3655
- extend ::Forwardable
3771
+ extend ::RuboCop::SimpleForwardable
3656
3772
 
3657
3773
  # @return [Compiler] a new instance of Compiler
3658
3774
  #
3659
3775
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#15
3660
3776
  def initialize; end
3661
3777
 
3662
- # source://forwardable/1.3.3/forwardable.rb#231
3663
- def bind(*args, **_arg1, &block); end
3778
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
3779
+ def bind(*_arg0, **_arg1, &_arg2); end
3664
3780
 
3665
3781
  # Returns the value of attribute binding.
3666
3782
  #
@@ -3785,7 +3901,10 @@ class RuboCop::AST::NodePattern::Compiler::Binding
3785
3901
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/binding.rb#16
3786
3902
  def bind(name); end
3787
3903
 
3788
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/binding.rb#30
3904
+ # Yields for each branch of the given union, forbidding unification of
3905
+ # bindings which only appear in a subset of the union.
3906
+ #
3907
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/binding.rb#31
3789
3908
  def union_bind(enum); end
3790
3909
 
3791
3910
  private
@@ -3803,8 +3922,8 @@ class RuboCop::AST::NodePattern::Compiler::Debug < ::RuboCop::AST::NodePattern::
3803
3922
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#123
3804
3923
  def initialize; end
3805
3924
 
3806
- # source://forwardable/1.3.3/forwardable.rb#231
3807
- def comments(*args, **_arg1, &block); end
3925
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
3926
+ def comments(*_arg0, **_arg1, &_arg2); end
3808
3927
 
3809
3928
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#128
3810
3929
  def named_parameters; end
@@ -3817,8 +3936,8 @@ class RuboCop::AST::NodePattern::Compiler::Debug < ::RuboCop::AST::NodePattern::
3817
3936
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#132
3818
3937
  def parser; end
3819
3938
 
3820
- # source://forwardable/1.3.3/forwardable.rb#231
3821
- def tokens(*args, **_arg1, &block); end
3939
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
3940
+ def tokens(*_arg0, **_arg1, &_arg2); end
3822
3941
  end
3823
3942
 
3824
3943
  # @api private
@@ -4133,7 +4252,6 @@ end
4133
4252
  # Doc on how this fits in the compiling process:
4134
4253
  # /docs/modules/ROOT/pages/node_pattern.adoc
4135
4254
  #
4136
- #
4137
4255
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#17
4138
4256
  class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler < ::RuboCop::AST::NodePattern::Compiler::Subcompiler
4139
4257
  # Calls `compile_sequence`; the actual `compile` method
@@ -4287,6 +4405,8 @@ class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler < ::RuboCop::AST:
4287
4405
  def within_loop; end
4288
4406
  end
4289
4407
 
4408
+ # Shift of 1 from standard Ruby indices
4409
+ #
4290
4410
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#18
4291
4411
  RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler::DELTA = T.let(T.unsafe(nil), Integer)
4292
4412
 
@@ -4419,7 +4539,7 @@ class RuboCop::AST::NodePattern::LexerRex
4419
4539
 
4420
4540
  # The current location in the parse.
4421
4541
  #
4422
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#104
4542
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#103
4423
4543
  def location; end
4424
4544
 
4425
4545
  # The StringScanner for this lexer.
@@ -4434,22 +4554,22 @@ class RuboCop::AST::NodePattern::LexerRex
4434
4554
 
4435
4555
  # Lex the next token.
4436
4556
  #
4437
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#113
4557
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#112
4438
4558
  def next_token; end
4439
4559
 
4440
4560
  # Parse the given string.
4441
4561
  #
4442
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#84
4562
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#83
4443
4563
  def parse(str); end
4444
4564
 
4445
4565
  # Read in and parse the file at +path+.
4446
4566
  #
4447
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#94
4567
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#93
4448
4568
  def parse_file(path); end
4449
4569
 
4450
4570
  # The current scanner class. Must be overridden in subclasses.
4451
4571
  #
4452
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#77
4572
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#76
4453
4573
  def scanner_class; end
4454
4574
 
4455
4575
  # The StringScanner for this lexer.
@@ -4593,218 +4713,218 @@ end
4593
4713
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#7
4594
4714
  class RuboCop::AST::NodePattern::Node < ::Parser::AST::Node
4595
4715
  include ::RuboCop::AST::Descendence
4596
- extend ::Forwardable
4716
+ extend ::RuboCop::SimpleForwardable
4597
4717
 
4598
4718
  # Note: `arity.end` may be `Float::INFINITY`
4599
4719
  #
4600
4720
  # @return [Integer, Range] An Integer for fixed length terms, otherwise a Range.
4601
4721
  #
4602
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#29
4722
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#28
4603
4723
  def arity; end
4604
4724
 
4605
4725
  # @return [Range] arity as a Range
4606
4726
  #
4607
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#69
4727
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#68
4608
4728
  def arity_range; end
4609
4729
 
4610
4730
  # @return [Boolean]
4611
4731
  #
4612
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#23
4732
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#22
4613
4733
  def capture?; end
4614
4734
 
4615
4735
  # @return [Node] most nodes have only one child
4616
4736
  #
4617
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#48
4737
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#47
4618
4738
  def child; end
4619
4739
 
4620
4740
  # @return [Array<Node>]
4621
4741
  #
4622
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#43
4742
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#42
4623
4743
  def children_nodes; end
4624
4744
 
4625
4745
  # @return [Array<Node>, nil] replace node with result, or `nil` if no change requested.
4626
4746
  #
4627
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#34
4747
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#33
4628
4748
  def in_sequence_head; end
4629
4749
 
4630
4750
  # that matches within a Set (e.g. `42`, `:sym` but not `/regexp/`)
4631
4751
  #
4632
4752
  # @return [Boolean] returns true for nodes having a Ruby literal equivalent
4633
4753
  #
4634
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#64
4754
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#63
4635
4755
  def matches_within_set?; end
4636
4756
 
4637
4757
  # @return [Integer] nb of captures of that node and its descendants
4638
4758
  #
4639
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#53
4759
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#52
4640
4760
  def nb_captures; end
4641
4761
 
4642
4762
  # To be overridden by subclasses
4643
4763
  #
4644
4764
  # @return [Boolean]
4645
4765
  #
4646
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#19
4766
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#18
4647
4767
  def rest?; end
4648
4768
 
4649
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#78
4769
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#77
4650
4770
  def source_range; end
4651
4771
 
4652
4772
  # @return [Boolean] returns whether it matches a variable number of elements
4653
4773
  #
4654
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#58
4774
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#57
4655
4775
  def variadic?; end
4656
4776
 
4657
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#74
4777
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#73
4658
4778
  def with(type: T.unsafe(nil), children: T.unsafe(nil), location: T.unsafe(nil)); end
4659
4779
  end
4660
4780
 
4661
4781
  # Node class for `<int str ...>`
4662
4782
  #
4663
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#180
4783
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#179
4664
4784
  class RuboCop::AST::NodePattern::Node::AnyOrder < ::RuboCop::AST::NodePattern::Node
4665
4785
  include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead
4666
4786
 
4667
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#198
4787
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#197
4668
4788
  def arity; end
4669
4789
 
4670
4790
  # @return [Boolean]
4671
4791
  #
4672
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#190
4792
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#189
4673
4793
  def ends_with_rest?; end
4674
4794
 
4675
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#194
4795
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#193
4676
4796
  def rest_node; end
4677
4797
 
4678
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#186
4798
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#185
4679
4799
  def term_nodes; end
4680
4800
  end
4681
4801
 
4682
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#183
4802
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#182
4683
4803
  RuboCop::AST::NodePattern::Node::AnyOrder::ARITIES = T.let(T.unsafe(nil), Hash)
4684
4804
 
4685
4805
  # Node class for `$something`
4686
4806
  #
4687
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#97
4807
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#96
4688
4808
  class RuboCop::AST::NodePattern::Node::Capture < ::RuboCop::AST::NodePattern::Node
4689
- # source://forwardable/1.3.3/forwardable.rb#231
4690
- def arity(*args, **_arg1, &block); end
4809
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
4810
+ def arity(*_arg0, **_arg1, &_arg2); end
4691
4811
 
4692
4812
  # @return [Boolean]
4693
4813
  #
4694
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#101
4814
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#100
4695
4815
  def capture?; end
4696
4816
 
4697
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#109
4817
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#108
4698
4818
  def in_sequence_head; end
4699
4819
 
4700
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#105
4820
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#104
4701
4821
  def nb_captures; end
4702
4822
 
4703
- # source://forwardable/1.3.3/forwardable.rb#231
4704
- def rest?(*args, **_arg1, &block); end
4823
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
4824
+ def rest?(*_arg0, **_arg1, &_arg2); end
4705
4825
  end
4706
4826
 
4707
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#86
4827
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#85
4708
4828
  module RuboCop::AST::NodePattern::Node::ForbidInSeqHead
4709
4829
  # @raise [NodePattern::Invalid]
4710
4830
  #
4711
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#87
4831
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#86
4712
4832
  def in_sequence_head; end
4713
4833
  end
4714
4834
 
4715
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#140
4835
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#139
4716
4836
  RuboCop::AST::NodePattern::Node::FunctionCall = RuboCop::AST::NodePattern::Node::Predicate
4717
4837
 
4718
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#82
4838
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#81
4719
4839
  RuboCop::AST::NodePattern::Node::INT_TO_RANGE = T.let(T.unsafe(nil), Hash)
4720
4840
 
4721
4841
  # Registry
4722
4842
  #
4723
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#250
4843
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#249
4724
4844
  RuboCop::AST::NodePattern::Node::MAP = T.let(T.unsafe(nil), Hash)
4725
4845
 
4726
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#12
4846
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#11
4727
4847
  RuboCop::AST::NodePattern::Node::MATCHES_WITHIN_SET = T.let(T.unsafe(nil), Set)
4728
4848
 
4729
4849
  # Node class for `predicate?(:arg, :list)`
4730
4850
  #
4731
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#131
4851
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#130
4732
4852
  class RuboCop::AST::NodePattern::Node::Predicate < ::RuboCop::AST::NodePattern::Node
4733
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#136
4853
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#135
4734
4854
  def arg_list; end
4735
4855
 
4736
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#132
4856
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#131
4737
4857
  def method_name; end
4738
4858
  end
4739
4859
 
4740
4860
  # Node class for `int+`
4741
4861
  #
4742
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#143
4862
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#142
4743
4863
  class RuboCop::AST::NodePattern::Node::Repetition < ::RuboCop::AST::NodePattern::Node
4744
4864
  include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead
4745
4865
 
4746
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#156
4866
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#155
4747
4867
  def arity; end
4748
4868
 
4749
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#146
4869
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#145
4750
4870
  def operator; end
4751
4871
  end
4752
4872
 
4753
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#150
4873
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#149
4754
4874
  RuboCop::AST::NodePattern::Node::Repetition::ARITIES = T.let(T.unsafe(nil), Hash)
4755
4875
 
4756
4876
  # Node class for `...`
4757
4877
  #
4758
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#162
4878
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#161
4759
4879
  class RuboCop::AST::NodePattern::Node::Rest < ::RuboCop::AST::NodePattern::Node
4760
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#170
4880
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#169
4761
4881
  def arity; end
4762
4882
 
4763
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#174
4883
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#173
4764
4884
  def in_sequence_head; end
4765
4885
 
4766
4886
  # @return [Boolean]
4767
4887
  #
4768
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#166
4888
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#165
4769
4889
  def rest?; end
4770
4890
  end
4771
4891
 
4772
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#163
4892
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#162
4773
4893
  RuboCop::AST::NodePattern::Node::Rest::ARITY = T.let(T.unsafe(nil), Range)
4774
4894
 
4775
4895
  # Node class for `(type first second ...)`
4776
4896
  #
4777
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#118
4897
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#117
4778
4898
  class RuboCop::AST::NodePattern::Node::Sequence < ::RuboCop::AST::NodePattern::Node
4779
4899
  include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead
4780
4900
 
4781
4901
  # @return [Sequence] a new instance of Sequence
4782
4902
  #
4783
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#121
4903
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#120
4784
4904
  def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end
4785
4905
  end
4786
4906
 
4787
4907
  # A list (potentially empty) of nodes; part of a Union
4788
4908
  #
4789
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#206
4909
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#205
4790
4910
  class RuboCop::AST::NodePattern::Node::Subsequence < ::RuboCop::AST::NodePattern::Node
4791
4911
  include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead
4792
4912
 
4793
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#209
4913
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#208
4794
4914
  def arity; end
4795
4915
 
4796
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#214
4916
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#213
4797
4917
  def in_sequence_head; end
4798
4918
  end
4799
4919
 
4800
4920
  # Node class for `{ ... }`
4801
4921
  #
4802
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#224
4922
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#223
4803
4923
  class RuboCop::AST::NodePattern::Node::Union < ::RuboCop::AST::NodePattern::Node
4804
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#225
4924
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#224
4805
4925
  def arity; end
4806
4926
 
4807
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#232
4927
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#231
4808
4928
  def in_sequence_head; end
4809
4929
  end
4810
4930
 
@@ -4816,148 +4936,148 @@ end
4816
4936
  #
4817
4937
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#12
4818
4938
  class RuboCop::AST::NodePattern::Parser < ::Racc::Parser
4819
- extend ::Forwardable
4939
+ extend ::RuboCop::SimpleForwardable
4820
4940
 
4821
4941
  # @return [Parser] a new instance of Parser
4822
4942
  #
4823
4943
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#19
4824
4944
  def initialize(builder = T.unsafe(nil)); end
4825
4945
 
4826
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#333
4946
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#335
4827
4947
  def _reduce_10(val, _values); end
4828
4948
 
4829
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#337
4949
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#339
4830
4950
  def _reduce_11(val, _values); end
4831
4951
 
4832
4952
  # reduce 12 omitted
4833
4953
  #
4834
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#343
4954
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#345
4835
4955
  def _reduce_13(val, _values); end
4836
4956
 
4837
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#347
4957
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#349
4838
4958
  def _reduce_14(val, _values); end
4839
4959
 
4840
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#351
4960
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#353
4841
4961
  def _reduce_15(val, _values); end
4842
4962
 
4843
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#355
4963
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#357
4844
4964
  def _reduce_16(val, _values); end
4845
4965
 
4846
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#359
4966
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#361
4847
4967
  def _reduce_17(val, _values); end
4848
4968
 
4849
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#363
4969
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#365
4850
4970
  def _reduce_18(val, _values); end
4851
4971
 
4852
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#367
4972
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#369
4853
4973
  def _reduce_19(val, _values); end
4854
4974
 
4855
4975
  # reduce 1 omitted
4856
4976
  #
4857
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#301
4977
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#303
4858
4978
  def _reduce_2(val, _values); end
4859
4979
 
4860
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#371
4980
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#373
4861
4981
  def _reduce_20(val, _values); end
4862
4982
 
4863
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#375
4983
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#377
4864
4984
  def _reduce_21(val, _values); end
4865
4985
 
4866
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#379
4986
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#381
4867
4987
  def _reduce_22(val, _values); end
4868
4988
 
4869
4989
  # reduce 24 omitted
4870
4990
  #
4871
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#387
4991
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#389
4872
4992
  def _reduce_25(val, _values); end
4873
4993
 
4874
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#393
4994
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#395
4875
4995
  def _reduce_26(val, _values); end
4876
4996
 
4877
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#305
4997
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#307
4878
4998
  def _reduce_3(val, _values); end
4879
4999
 
4880
5000
  # reduce 32 omitted
4881
5001
  #
4882
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#413
5002
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#415
4883
5003
  def _reduce_33(val, _values); end
4884
5004
 
4885
5005
  # reduce 36 omitted
4886
5006
  #
4887
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#423
5007
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#425
4888
5008
  def _reduce_37(val, _values); end
4889
5009
 
4890
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#427
5010
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#429
4891
5011
  def _reduce_38(val, _values); end
4892
5012
 
4893
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#431
5013
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#433
4894
5014
  def _reduce_39(val, _values); end
4895
5015
 
4896
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#309
5016
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#311
4897
5017
  def _reduce_4(val, _values); end
4898
5018
 
4899
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#435
5019
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#437
4900
5020
  def _reduce_40(val, _values); end
4901
5021
 
4902
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#439
5022
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#441
4903
5023
  def _reduce_41(val, _values); end
4904
5024
 
4905
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#443
5025
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#445
4906
5026
  def _reduce_42(val, _values); end
4907
5027
 
4908
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#447
5028
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#449
4909
5029
  def _reduce_43(val, _values); end
4910
5030
 
4911
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#451
5031
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#453
4912
5032
  def _reduce_44(val, _values); end
4913
5033
 
4914
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#455
5034
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#457
4915
5035
  def _reduce_45(val, _values); end
4916
5036
 
4917
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#459
5037
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#461
4918
5038
  def _reduce_46(val, _values); end
4919
5039
 
4920
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#313
5040
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#315
4921
5041
  def _reduce_5(val, _values); end
4922
5042
 
4923
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#317
5043
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#319
4924
5044
  def _reduce_6(val, _values); end
4925
5045
 
4926
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#321
5046
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#323
4927
5047
  def _reduce_7(val, _values); end
4928
5048
 
4929
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#325
5049
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#327
4930
5050
  def _reduce_8(val, _values); end
4931
5051
 
4932
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#329
5052
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#331
4933
5053
  def _reduce_9(val, _values); end
4934
5054
 
4935
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#463
5055
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#465
4936
5056
  def _reduce_none(val, _values); end
4937
5057
 
4938
- # source://forwardable/1.3.3/forwardable.rb#231
4939
- def emit_atom(*args, **_arg1, &block); end
5058
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
5059
+ def emit_atom(*_arg0, **_arg1, &_arg2); end
4940
5060
 
4941
- # source://forwardable/1.3.3/forwardable.rb#231
4942
- def emit_call(*args, **_arg1, &block); end
5061
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
5062
+ def emit_call(*_arg0, **_arg1, &_arg2); end
4943
5063
 
4944
- # source://forwardable/1.3.3/forwardable.rb#231
4945
- def emit_capture(*args, **_arg1, &block); end
5064
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
5065
+ def emit_capture(*_arg0, **_arg1, &_arg2); end
4946
5066
 
4947
- # source://forwardable/1.3.3/forwardable.rb#231
4948
- def emit_list(*args, **_arg1, &block); end
5067
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
5068
+ def emit_list(*_arg0, **_arg1, &_arg2); end
4949
5069
 
4950
- # source://forwardable/1.3.3/forwardable.rb#231
4951
- def emit_unary_op(*args, **_arg1, &block); end
5070
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
5071
+ def emit_unary_op(*_arg0, **_arg1, &_arg2); end
4952
5072
 
4953
- # source://forwardable/1.3.3/forwardable.rb#231
4954
- def emit_union(*args, **_arg1, &block); end
5073
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
5074
+ def emit_union(*_arg0, **_arg1, &_arg2); end
4955
5075
 
4956
5076
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#40
4957
5077
  def inspect; end
4958
5078
 
4959
- # source://forwardable/1.3.3/forwardable.rb#231
4960
- def next_token(*args, **_arg1, &block); end
5079
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
5080
+ def next_token(*_arg0, **_arg1, &_arg2); end
4961
5081
 
4962
5082
  # (Similar API to `parser` gem)
4963
5083
  # Parses a source and returns the AST.
@@ -4992,10 +5112,10 @@ RuboCop::AST::NodePattern::Parser::Lexer = RuboCop::AST::NodePattern::Lexer
4992
5112
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#227
4993
5113
  RuboCop::AST::NodePattern::Parser::Racc_arg = T.let(T.unsafe(nil), Array)
4994
5114
 
4995
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#293
5115
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#295
4996
5116
  RuboCop::AST::NodePattern::Parser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass)
4997
5117
 
4998
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#243
5118
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#244
4999
5119
  RuboCop::AST::NodePattern::Parser::Racc_token_to_s_table = T.let(T.unsafe(nil), Array)
5000
5120
 
5001
5121
  # Overrides Parser to use `WithMeta` variants and provide additional methods
@@ -5104,24 +5224,15 @@ RuboCop::AST::NodePattern::Sets::SET_10_10 = T.let(T.unsafe(nil), Set)
5104
5224
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5105
5225
  RuboCop::AST::NodePattern::Sets::SET_1_1 = T.let(T.unsafe(nil), Set)
5106
5226
 
5107
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5108
- RuboCop::AST::NodePattern::Sets::SET_ABSTRACT_OVERRIDE_OVERRIDABLE_ETC = T.let(T.unsafe(nil), Set)
5109
-
5110
5227
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5111
5228
  RuboCop::AST::NodePattern::Sets::SET_ADD_DEPENDENCY_ADD_RUNTIME_DEPENDENCY_ADD_DEVELOPMENT_DEPENDENCY = T.let(T.unsafe(nil), Set)
5112
5229
 
5113
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5114
- RuboCop::AST::NodePattern::Sets::SET_ANY_ALL_NORETURN_ETC = T.let(T.unsafe(nil), Set)
5115
-
5116
5230
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5117
5231
  RuboCop::AST::NodePattern::Sets::SET_ANY_EMPTY = T.let(T.unsafe(nil), Set)
5118
5232
 
5119
5233
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5120
5234
  RuboCop::AST::NodePattern::Sets::SET_ANY_EMPTY_NONE_ETC = T.let(T.unsafe(nil), Set)
5121
5235
 
5122
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5123
- RuboCop::AST::NodePattern::Sets::SET_ATTR_READER_ATTR_WRITER_ATTR_ACCESSOR = T.let(T.unsafe(nil), Set)
5124
-
5125
5236
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5126
5237
  RuboCop::AST::NodePattern::Sets::SET_ATTR_READER_ATTR_WRITER_ATTR_ACCESSOR_ATTR = T.let(T.unsafe(nil), Set)
5127
5238
 
@@ -5149,15 +5260,9 @@ RuboCop::AST::NodePattern::Sets::SET_CLASS_MODULE_STRUCT = T.let(T.unsafe(nil),
5149
5260
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5150
5261
  RuboCop::AST::NodePattern::Sets::SET_CLONE_DUP_FREEZE = T.let(T.unsafe(nil), Set)
5151
5262
 
5152
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5153
- RuboCop::AST::NodePattern::Sets::SET_CONSTANTIZE_CONSTANTS_CONST_GET = T.let(T.unsafe(nil), Set)
5154
-
5155
5263
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5156
5264
  RuboCop::AST::NodePattern::Sets::SET_COUNT_LENGTH_SIZE = T.let(T.unsafe(nil), Set)
5157
5265
 
5158
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5159
- RuboCop::AST::NodePattern::Sets::SET_DEFINE_METHOD = T.let(T.unsafe(nil), Set)
5160
-
5161
5266
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5162
5267
  RuboCop::AST::NodePattern::Sets::SET_DEFINE_METHOD_DEFINE_SINGLETON_METHOD = T.let(T.unsafe(nil), Set)
5163
5268
 
@@ -5167,9 +5272,6 @@ RuboCop::AST::NodePattern::Sets::SET_EACH_WITH_INDEX_WITH_INDEX = T.let(T.unsafe
5167
5272
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5168
5273
  RuboCop::AST::NodePattern::Sets::SET_EACH_WITH_OBJECT_WITH_OBJECT = T.let(T.unsafe(nil), Set)
5169
5274
 
5170
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5171
- RuboCop::AST::NodePattern::Sets::SET_ENV = T.let(T.unsafe(nil), Set)
5172
-
5173
5275
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5174
5276
  RuboCop::AST::NodePattern::Sets::SET_ESCAPE_ENCODE_UNESCAPE_DECODE = T.let(T.unsafe(nil), Set)
5175
5277
 
@@ -5185,6 +5287,9 @@ RuboCop::AST::NodePattern::Sets::SET_FILE_DIR = T.let(T.unsafe(nil), Set)
5185
5287
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5186
5288
  RuboCop::AST::NodePattern::Sets::SET_FILE_FILETEST = T.let(T.unsafe(nil), Set)
5187
5289
 
5290
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5291
+ RuboCop::AST::NodePattern::Sets::SET_FILE_TEMPFILE = T.let(T.unsafe(nil), Set)
5292
+
5188
5293
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5189
5294
  RuboCop::AST::NodePattern::Sets::SET_FILE_TEMPFILE_STRINGIO = T.let(T.unsafe(nil), Set)
5190
5295
 
@@ -5230,6 +5335,9 @@ RuboCop::AST::NodePattern::Sets::SET_LOAD_RESTORE = T.let(T.unsafe(nil), Set)
5230
5335
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5231
5336
  RuboCop::AST::NodePattern::Sets::SET_MAP_COLLECT = T.let(T.unsafe(nil), Set)
5232
5337
 
5338
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5339
+ RuboCop::AST::NodePattern::Sets::SET_MAP_FILTER_MAP = T.let(T.unsafe(nil), Set)
5340
+
5233
5341
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5234
5342
  RuboCop::AST::NodePattern::Sets::SET_MODULE_FUNCTION_RUBY2_KEYWORDS = T.let(T.unsafe(nil), Set)
5235
5343
 
@@ -5252,14 +5360,11 @@ RuboCop::AST::NodePattern::Sets::SET_PIPELINE_PIPELINE_R_PIPELINE_RW_ETC = T.let
5252
5360
  RuboCop::AST::NodePattern::Sets::SET_PRESENT_ANY_BLANK_EMPTY = T.let(T.unsafe(nil), Set)
5253
5361
 
5254
5362
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5255
- RuboCop::AST::NodePattern::Sets::SET_PRIVATE_PROTECTED = T.let(T.unsafe(nil), Set)
5363
+ RuboCop::AST::NodePattern::Sets::SET_PRIVATE_PROTECTED_PRIVATE_CLASS_METHOD = T.let(T.unsafe(nil), Set)
5256
5364
 
5257
5365
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5258
5366
  RuboCop::AST::NodePattern::Sets::SET_PRIVATE_PROTECTED_PUBLIC = T.let(T.unsafe(nil), Set)
5259
5367
 
5260
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5261
- RuboCop::AST::NodePattern::Sets::SET_PROP_CONST = T.let(T.unsafe(nil), Set)
5262
-
5263
5368
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5264
5369
  RuboCop::AST::NodePattern::Sets::SET_PUBLIC_CONSTANT_PRIVATE_CONSTANT = T.let(T.unsafe(nil), Set)
5265
5370
 
@@ -5308,9 +5413,6 @@ RuboCop::AST::NodePattern::Sets::SET_STRUCT_CLASS = T.let(T.unsafe(nil), Set)
5308
5413
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5309
5414
  RuboCop::AST::NodePattern::Sets::SET_SUCC_PRED_NEXT = T.let(T.unsafe(nil), Set)
5310
5415
 
5311
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5312
- RuboCop::AST::NodePattern::Sets::SET_TASK_NAMESPACE = T.let(T.unsafe(nil), Set)
5313
-
5314
5416
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5315
5417
  RuboCop::AST::NodePattern::Sets::SET_TO_ENUM_ENUM_FOR = T.let(T.unsafe(nil), Set)
5316
5418
 
@@ -5323,9 +5425,6 @@ RuboCop::AST::NodePattern::Sets::SET_TO_I_TO_F_TO_C_TO_R = T.let(T.unsafe(nil),
5323
5425
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5324
5426
  RuboCop::AST::NodePattern::Sets::SET_TRUE_FALSE = T.let(T.unsafe(nil), Set)
5325
5427
 
5326
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5327
- RuboCop::AST::NodePattern::Sets::SET_TYPE_TEMPLATE_TYPE_MEMBER = T.let(T.unsafe(nil), Set)
5328
-
5329
5428
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5330
5429
  RuboCop::AST::NodePattern::Sets::SET_ZERO_POSITIVE_NEGATIVE = T.let(T.unsafe(nil), Set)
5331
5430
 
@@ -5344,6 +5443,9 @@ RuboCop::AST::NodePattern::Sets::SET__FETCH = T.let(T.unsafe(nil), Set)
5344
5443
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5345
5444
  RuboCop::AST::NodePattern::Sets::SET__GLOB = T.let(T.unsafe(nil), Set)
5346
5445
 
5446
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5447
+ RuboCop::AST::NodePattern::Sets::SET__PUSH_APPEND = T.let(T.unsafe(nil), Set)
5448
+
5347
5449
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5348
5450
  RuboCop::AST::NodePattern::Sets::SET___ = T.let(T.unsafe(nil), Set)
5349
5451
 
@@ -5368,9 +5470,6 @@ RuboCop::AST::NodePattern::Sets::SET___7 = T.let(T.unsafe(nil), Set)
5368
5470
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5369
5471
  RuboCop::AST::NodePattern::Sets::SET___8 = T.let(T.unsafe(nil), Set)
5370
5472
 
5371
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5372
- RuboCop::AST::NodePattern::Sets::SET___9 = T.let(T.unsafe(nil), Set)
5373
-
5374
5473
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5375
5474
  RuboCop::AST::NodePattern::Sets::SET___EQL_ETC = T.let(T.unsafe(nil), Set)
5376
5475
 
@@ -5383,6 +5482,9 @@ RuboCop::AST::NodePattern::Sets::SET___METHOD_____CALLEE__ = T.let(T.unsafe(nil)
5383
5482
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5384
5483
  RuboCop::AST::NodePattern::Sets::SET____ = T.let(T.unsafe(nil), Set)
5385
5484
 
5485
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5486
+ RuboCop::AST::NodePattern::Sets::SET____2 = T.let(T.unsafe(nil), Set)
5487
+
5386
5488
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5387
5489
  RuboCop::AST::NodePattern::Sets::SET____ETC = T.let(T.unsafe(nil), Set)
5388
5490
 
@@ -5401,7 +5503,7 @@ RuboCop::AST::NodePattern::Sets::SET_____2 = T.let(T.unsafe(nil), Set)
5401
5503
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#55
5402
5504
  RuboCop::AST::NodePattern::VAR = T.let(T.unsafe(nil), String)
5403
5505
 
5404
- # Common functionality for primitive numeric nodes: `int`, `float`, ...
5506
+ # Common functionality for primitive numeric nodes: `int`, `float`, `rational`...
5405
5507
  #
5406
5508
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/numeric_node.rb#6
5407
5509
  module RuboCop::AST::NumericNode
@@ -5738,42 +5840,42 @@ end
5738
5840
  # and other information such as disabled lines for cops.
5739
5841
  # It also provides a convenient way to access source lines.
5740
5842
  #
5741
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#11
5843
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#10
5742
5844
  class RuboCop::AST::ProcessedSource
5743
5845
  # @return [ProcessedSource] a new instance of ProcessedSource
5744
5846
  #
5745
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#26
5746
- def initialize(source, ruby_version, path = T.unsafe(nil)); end
5847
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#28
5848
+ def initialize(source, ruby_version, path = T.unsafe(nil), parser_engine: T.unsafe(nil)); end
5747
5849
 
5748
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#63
5850
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#72
5749
5851
  def [](*args); end
5750
5852
 
5751
5853
  # Returns the value of attribute ast.
5752
5854
  #
5753
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
5855
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
5754
5856
  def ast; end
5755
5857
 
5756
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41
5858
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#50
5757
5859
  def ast_with_comments; end
5758
5860
 
5759
5861
  # @return [Boolean]
5760
5862
  #
5761
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#102
5863
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#111
5762
5864
  def blank?; end
5763
5865
 
5764
5866
  # Returns the value of attribute buffer.
5765
5867
  #
5766
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
5868
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
5767
5869
  def buffer; end
5768
5870
 
5769
5871
  # Raw source checksum for tracking infinite loops.
5770
5872
  #
5771
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#74
5873
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#83
5772
5874
  def checksum; end
5773
5875
 
5774
5876
  # @return [Comment, nil] the comment at that line, if any.
5775
5877
  #
5776
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#107
5878
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#116
5777
5879
  def comment_at_line(line); end
5778
5880
 
5779
5881
  # Consider using `each_comment_in_lines` instead
@@ -5781,173 +5883,181 @@ class RuboCop::AST::ProcessedSource
5781
5883
  # @deprecated use contains_comment?
5782
5884
  # @return [Boolean] if any of the lines in the given `source_range` has a comment.
5783
5885
  #
5784
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#129
5886
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#138
5785
5887
  def commented?(source_range); end
5786
5888
 
5787
5889
  # Returns the value of attribute comments.
5788
5890
  #
5789
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
5891
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
5790
5892
  def comments; end
5791
5893
 
5792
5894
  # Should have been called `comments_before_or_at_line`. Doubtful it has of any valid use.
5793
5895
  #
5794
5896
  # @deprecated Use `each_comment_in_lines`
5795
5897
  #
5796
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#137
5898
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#146
5797
5899
  def comments_before_line(line); end
5798
5900
 
5799
5901
  # Consider using `each_comment_in_lines` instead
5800
5902
  #
5801
5903
  # @return [Boolean] if any of the lines in the given `source_range` has a comment.
5802
5904
  #
5803
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#129
5905
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#138
5804
5906
  def contains_comment?(source_range); end
5805
5907
 
5806
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#151
5908
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#160
5807
5909
  def current_line(token); end
5808
5910
 
5809
5911
  # Returns the value of attribute diagnostics.
5810
5912
  #
5811
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
5913
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
5812
5914
  def diagnostics; end
5813
5915
 
5814
5916
  # @deprecated Use `comments.each`
5815
5917
  #
5816
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#79
5918
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#88
5817
5919
  def each_comment(&block); end
5818
5920
 
5819
5921
  # Enumerates on the comments contained with the given `line_range`
5820
5922
  #
5821
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#117
5923
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#126
5822
5924
  def each_comment_in_lines(line_range); end
5823
5925
 
5824
5926
  # @deprecated Use `tokens.each`
5825
5927
  #
5826
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#89
5928
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#98
5827
5929
  def each_token(&block); end
5828
5930
 
5829
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#98
5931
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#107
5830
5932
  def file_path; end
5831
5933
 
5832
5934
  # @deprecated Use `comment_at_line`, `each_comment_in_lines`, or `comments.find`
5833
5935
  #
5834
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#84
5936
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#93
5835
5937
  def find_comment(&block); end
5836
5938
 
5837
5939
  # @deprecated Use `tokens.find`
5838
5940
  #
5839
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#94
5941
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#103
5840
5942
  def find_token(&block); end
5841
5943
 
5842
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#172
5944
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#181
5843
5945
  def first_token_of(range_or_node); end
5844
5946
 
5845
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#155
5947
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#164
5846
5948
  def following_line(token); end
5847
5949
 
5848
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#176
5950
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#185
5849
5951
  def last_token_of(range_or_node); end
5850
5952
 
5851
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#159
5953
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#168
5852
5954
  def line_indentation(line_number); end
5853
5955
 
5854
5956
  # @return [Boolean] if the given line number has a comment.
5855
5957
  #
5856
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#112
5958
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#121
5857
5959
  def line_with_comment?(line); end
5858
5960
 
5859
5961
  # Returns the source lines, line break characters removed, excluding a
5860
5962
  # possible __END__ and everything that comes after.
5861
5963
  #
5862
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#49
5964
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#58
5863
5965
  def lines; end
5864
5966
 
5967
+ # Returns the value of attribute parser_engine.
5968
+ #
5969
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
5970
+ def parser_engine; end
5971
+
5865
5972
  # Returns the value of attribute parser_error.
5866
5973
  #
5867
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
5974
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
5868
5975
  def parser_error; end
5869
5976
 
5870
5977
  # Returns the value of attribute path.
5871
5978
  #
5872
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
5979
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
5873
5980
  def path; end
5874
5981
 
5875
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#147
5982
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#156
5876
5983
  def preceding_line(token); end
5877
5984
 
5878
5985
  # Returns the value of attribute raw_source.
5879
5986
  #
5880
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
5987
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
5881
5988
  def raw_source; end
5882
5989
 
5883
5990
  # Returns the value of attribute ruby_version.
5884
5991
  #
5885
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
5992
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
5886
5993
  def ruby_version; end
5887
5994
 
5888
5995
  # The tokens list is always sorted by token position, except for cases when heredoc
5889
5996
  # is passed as a method argument. In this case tokens are interleaved by
5890
5997
  # heredoc contents' tokens.
5891
5998
  #
5892
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#183
5999
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#192
5893
6000
  def sorted_tokens; end
5894
6001
 
5895
6002
  # @return [Boolean]
5896
6003
  #
5897
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#141
6004
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#150
5898
6005
  def start_with?(string); end
5899
6006
 
5900
6007
  # Returns the value of attribute tokens.
5901
6008
  #
5902
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#18
6009
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
5903
6010
  def tokens; end
5904
6011
 
5905
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#166
6012
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#175
5906
6013
  def tokens_within(range_or_node); end
5907
6014
 
5908
6015
  # @return [Boolean]
5909
6016
  #
5910
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#67
6017
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#76
5911
6018
  def valid_syntax?; end
5912
6019
 
5913
6020
  private
5914
6021
 
5915
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#190
6022
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#199
5916
6023
  def comment_index; end
5917
6024
 
5918
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#278
5919
- def create_parser(ruby_version); end
6025
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#309
6026
+ def create_parser(ruby_version, parser_engine); end
5920
6027
 
5921
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#294
6028
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#325
5922
6029
  def first_token_index(range_or_node); end
5923
6030
 
5924
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#299
6031
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#330
5925
6032
  def last_token_index(range_or_node); end
5926
6033
 
5927
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#196
5928
- def parse(source, ruby_version); end
6034
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#205
6035
+ def parse(source, ruby_version, parser_engine); end
5929
6036
 
5930
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#230
5931
- def parser_class(ruby_version); end
6037
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#238
6038
+ def parser_class(ruby_version, parser_engine); end
5932
6039
 
5933
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#304
6040
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#335
5934
6041
  def source_range(range_or_node); end
5935
6042
 
5936
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#213
6043
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#222
5937
6044
  def tokenize(parser); end
5938
6045
 
5939
6046
  class << self
5940
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#21
5941
- def from_file(path, ruby_version); end
6047
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#23
6048
+ def from_file(path, ruby_version, parser_engine: T.unsafe(nil)); end
5942
6049
  end
5943
6050
  end
5944
6051
 
5945
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#15
6052
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#14
5946
6053
  RuboCop::AST::ProcessedSource::INVALID_LEVELS = T.let(T.unsafe(nil), Array)
5947
6054
 
6055
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#17
6056
+ RuboCop::AST::ProcessedSource::PARSER_ENGINES = T.let(T.unsafe(nil), Array)
6057
+
5948
6058
  # @api private
5949
6059
  #
5950
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#13
6060
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#12
5951
6061
  RuboCop::AST::ProcessedSource::STRING_SOURCE_NAME = T.let(T.unsafe(nil), String)
5952
6062
 
5953
6063
  # A node extension for `irange` and `erange` nodes. This will be used in
@@ -5963,6 +6073,16 @@ class RuboCop::AST::RangeNode < ::RuboCop::AST::Node
5963
6073
  def end; end
5964
6074
  end
5965
6075
 
6076
+ # A node extension for `rational` nodes. This will be used in place of a plain
6077
+ # node when the builder constructs the AST, making its methods available to
6078
+ # all `rational` nodes within RuboCop.
6079
+ #
6080
+ # source://rubocop-ast//lib/rubocop/ast/node/rational_node.rb#8
6081
+ class RuboCop::AST::RationalNode < ::RuboCop::AST::Node
6082
+ include ::RuboCop::AST::BasicLiteralNode
6083
+ include ::RuboCop::AST::NumericNode
6084
+ end
6085
+
5966
6086
  # A node extension for `regexp` nodes. This will be used in place of a plain
5967
6087
  # node when the builder constructs the AST, making its methods available
5968
6088
  # to all `regexp` nodes within RuboCop.
@@ -6905,6 +7025,18 @@ class RuboCop::AST::UntilNode < ::RuboCop::AST::Node
6905
7025
  def keyword; end
6906
7026
  end
6907
7027
 
7028
+ # A node extension for `lvar`, `ivar`, `cvar` and `gvar` nodes.
7029
+ # This will be used in place of a plain node when the builder constructs
7030
+ # the AST, making its methods available to all assignment nodes within RuboCop.
7031
+ #
7032
+ # source://rubocop-ast//lib/rubocop/ast/node/var_node.rb#8
7033
+ class RuboCop::AST::VarNode < ::RuboCop::AST::Node
7034
+ # @return [Symbol] The name of the variable.
7035
+ #
7036
+ # source://rubocop-ast//lib/rubocop/ast/node/var_node.rb#10
7037
+ def name; end
7038
+ end
7039
+
6908
7040
  # source://rubocop-ast//lib/rubocop/ast/version.rb#5
6909
7041
  module RuboCop::AST::Version; end
6910
7042
 
@@ -7004,3 +7136,343 @@ class RuboCop::AST::YieldNode < ::RuboCop::AST::Node
7004
7136
  # source://rubocop-ast//lib/rubocop/ast/node/yield_node.rb#16
7005
7137
  def node_parts; end
7006
7138
  end
7139
+
7140
+ class RuboCop::CommentConfig
7141
+ # source://standard/1.41.1/lib/standard/rubocop/ext.rb#20
7142
+ def initialize(processed_source); end
7143
+
7144
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#63
7145
+ def comment_only_line?(line_number); end
7146
+
7147
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7148
+ def config(*_arg0, **_arg1, &_arg2); end
7149
+
7150
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#51
7151
+ def cop_disabled_line_ranges; end
7152
+
7153
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#39
7154
+ def cop_enabled_at_line?(cop, line_number); end
7155
+
7156
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#47
7157
+ def cop_opted_in?(cop); end
7158
+
7159
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#55
7160
+ def extra_enabled_comments; end
7161
+
7162
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#30
7163
+ def processed_source; end
7164
+
7165
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7166
+ def registry(*_arg0, **_arg1, &_arg2); end
7167
+
7168
+ private
7169
+
7170
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#96
7171
+ def analyze; end
7172
+
7173
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#124
7174
+ def analyze_cop(analysis, directive); end
7175
+
7176
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#144
7177
+ def analyze_disabled(analysis, directive); end
7178
+
7179
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#155
7180
+ def analyze_rest(analysis, directive); end
7181
+
7182
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#135
7183
+ def analyze_single_line(analysis, directive); end
7184
+
7185
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#164
7186
+ def cop_line_ranges(analysis); end
7187
+
7188
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#170
7189
+ def each_directive; end
7190
+
7191
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#69
7192
+ def extra_enabled_comments_with_names(extras:, names:); end
7193
+
7194
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#190
7195
+ def handle_enable_all(directive, names, extras); end
7196
+
7197
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#204
7198
+ def handle_switch(directive, names, extras); end
7199
+
7200
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#115
7201
+ def inject_disabled_cops_directives(analyses); end
7202
+
7203
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#183
7204
+ def non_comment_token_line_numbers; end
7205
+
7206
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#34
7207
+ def old_initialize(processed_source); end
7208
+
7209
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#83
7210
+ def opt_in_cops; end
7211
+
7212
+ # source://rubocop/1.66.1/lib/rubocop/comment_config.rb#179
7213
+ def qualified_cop_name(cop_name); end
7214
+ end
7215
+
7216
+ class RuboCop::Config
7217
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#30
7218
+ def initialize(hash = T.unsafe(nil), loaded_path = T.unsafe(nil)); end
7219
+
7220
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7221
+ def [](*_arg0, **_arg1, &_arg2); end
7222
+
7223
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7224
+ def []=(*_arg0, **_arg1, &_arg2); end
7225
+
7226
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#170
7227
+ def active_support_extensions_enabled?; end
7228
+
7229
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#96
7230
+ def add_excludes_from_higher_level(highest_config); end
7231
+
7232
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#197
7233
+ def allowed_camel_case_file?(file); end
7234
+
7235
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#241
7236
+ def base_dir_for_path_parameters; end
7237
+
7238
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#271
7239
+ def bundler_lock_file_path; end
7240
+
7241
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#51
7242
+ def check; end
7243
+
7244
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#142
7245
+ def clusivity_config_for_badge?(badge); end
7246
+
7247
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7248
+ def delete(*_arg0, **_arg1, &_arg2); end
7249
+
7250
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#108
7251
+ def deprecation_check; end
7252
+
7253
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7254
+ def dig(*_arg0, **_arg1, &_arg2); end
7255
+
7256
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#162
7257
+ def disabled_new_cops?; end
7258
+
7259
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7260
+ def each(*_arg0, **_arg1, &_arg2); end
7261
+
7262
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7263
+ def each_key(*_arg0, **_arg1, &_arg2); end
7264
+
7265
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#166
7266
+ def enabled_new_cops?; end
7267
+
7268
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7269
+ def fetch(*_arg0, **_arg1, &_arg2); end
7270
+
7271
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#219
7272
+ def file_to_exclude?(file); end
7273
+
7274
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#178
7275
+ def file_to_include?(file); end
7276
+
7277
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#158
7278
+ def for_all_cops; end
7279
+
7280
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#128
7281
+ def for_badge(badge); end
7282
+
7283
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#122
7284
+ def for_cop(cop); end
7285
+
7286
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#153
7287
+ def for_department(department_name); end
7288
+
7289
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#296
7290
+ def gem_versions_in_target; end
7291
+
7292
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#300
7293
+ def inspect; end
7294
+
7295
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#76
7296
+ def internal?; end
7297
+
7298
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7299
+ def key?(*_arg0, **_arg1, &_arg2); end
7300
+
7301
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7302
+ def keys(*_arg0, **_arg1, &_arg2); end
7303
+
7304
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#47
7305
+ def loaded_features; end
7306
+
7307
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#20
7308
+ def loaded_path; end
7309
+
7310
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#81
7311
+ def make_excludes_absolute; end
7312
+
7313
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7314
+ def map(*_arg0, **_arg1, &_arg2); end
7315
+
7316
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7317
+ def merge(*_arg0, **_arg1, &_arg2); end
7318
+
7319
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#251
7320
+ def parser_engine; end
7321
+
7322
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#232
7323
+ def path_relative_to_config(path); end
7324
+
7325
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#228
7326
+ def patterns_to_exclude; end
7327
+
7328
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#224
7329
+ def patterns_to_include; end
7330
+
7331
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#282
7332
+ def pending_cops; end
7333
+
7334
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#211
7335
+ def possibly_include_hidden?; end
7336
+
7337
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7338
+ def replace(*_arg0, **_arg1, &_arg2); end
7339
+
7340
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#71
7341
+ def signature; end
7342
+
7343
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#266
7344
+ def smart_loaded_path; end
7345
+
7346
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#174
7347
+ def string_literals_frozen_by_default?; end
7348
+
7349
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#255
7350
+ def target_rails_version; end
7351
+
7352
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7353
+ def target_ruby_version(*_arg0, **_arg1, &_arg2); end
7354
+
7355
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7356
+ def to_h(*_arg0, **_arg1, &_arg2); end
7357
+
7358
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7359
+ def to_hash(*_arg0, **_arg1, &_arg2); end
7360
+
7361
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#67
7362
+ def to_s; end
7363
+
7364
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7365
+ def transform_values(*_arg0, **_arg1, &_arg2); end
7366
+
7367
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7368
+ def validate(*_arg0, **_arg1, &_arg2); end
7369
+
7370
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#58
7371
+ def validate_after_resolution; end
7372
+
7373
+ private
7374
+
7375
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#350
7376
+ def department_of(qualified_cop_name); end
7377
+
7378
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#338
7379
+ def enable_cop?(qualified_cop_name, cop_options); end
7380
+
7381
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#325
7382
+ def gem_version_to_major_minor_float(gem_version); end
7383
+
7384
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#331
7385
+ def read_gem_versions_from_target_lockfile; end
7386
+
7387
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#312
7388
+ def read_rails_version_from_bundler_lock_file; end
7389
+
7390
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#307
7391
+ def target_rails_version_from_bundler_lock_file; end
7392
+
7393
+ class << self
7394
+ # source://rubocop/1.66.1/lib/rubocop/config.rb#22
7395
+ def create(hash, path, check: T.unsafe(nil)); end
7396
+ end
7397
+ end
7398
+
7399
+ class RuboCop::ConfigValidator
7400
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#26
7401
+ def initialize(config); end
7402
+
7403
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7404
+ def for_all_cops(*_arg0, **_arg1, &_arg2); end
7405
+
7406
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7407
+ def smart_loaded_path(*_arg0, **_arg1, &_arg2); end
7408
+
7409
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#62
7410
+ def target_ruby_version; end
7411
+
7412
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#32
7413
+ def validate; end
7414
+
7415
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#58
7416
+ def validate_after_resolution; end
7417
+
7418
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#66
7419
+ def validate_section_presence(name); end
7420
+
7421
+ private
7422
+
7423
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#103
7424
+ def alert_about_unrecognized_cops(invalid_cop_names); end
7425
+
7426
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#253
7427
+ def check_cop_config_value(hash, parent = T.unsafe(nil)); end
7428
+
7429
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#76
7430
+ def check_obsoletions; end
7431
+
7432
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#83
7433
+ def check_target_ruby; end
7434
+
7435
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#194
7436
+ def each_invalid_parameter(cop_name); end
7437
+
7438
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#119
7439
+ def list_unknown_cops(invalid_cop_names); end
7440
+
7441
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#273
7442
+ def param_error_message(parent, key, value, supposed_values); end
7443
+
7444
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#241
7445
+ def reject_conflicting_safe_settings; end
7446
+
7447
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#232
7448
+ def reject_mutually_exclusive_defaults; end
7449
+
7450
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#141
7451
+ def suggestion(name); end
7452
+
7453
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#74
7454
+ def target_ruby; end
7455
+
7456
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#206
7457
+ def validate_enforced_styles(valid_cop_names); end
7458
+
7459
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#168
7460
+ def validate_new_cops_parameter; end
7461
+
7462
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#179
7463
+ def validate_parameter_names(valid_cop_names); end
7464
+
7465
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#226
7466
+ def validate_support_and_has_list(name, formats, valid); end
7467
+
7468
+ # source://rubocop/1.66.1/lib/rubocop/config_validator.rb#157
7469
+ def validate_syntax_cop; end
7470
+ end
7471
+
7472
+ # Similar to `Forwardable#def_delegators`, but simpler & faster
7473
+ #
7474
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#5
7475
+ module RuboCop::SimpleForwardable
7476
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#6
7477
+ def def_delegators(accessor, *methods); end
7478
+ end