sorbet-result 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/.standard.yml +1 -1
  4. data/.tool-versions +1 -1
  5. data/CHANGELOG.md +11 -0
  6. data/Gemfile +1 -1
  7. data/Gemfile.lock +52 -57
  8. data/README.md +3 -3
  9. data/lib/typed/result.rb +32 -2
  10. data/sorbet/rbi/gems/ast@2.4.2.rbi +1 -0
  11. data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.0.rbi} +20 -15
  12. data/sorbet/rbi/gems/io-console@0.7.2.rbi +1 -0
  13. data/sorbet/rbi/gems/{json@2.7.1.rbi → json@2.7.5.rbi} +148 -72
  14. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +1 -0
  15. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +1 -0
  16. data/sorbet/rbi/gems/{minitest@5.22.2.rbi → minitest@5.25.1.rbi} +252 -241
  17. data/sorbet/rbi/gems/netrc@0.11.0.rbi +1 -0
  18. data/sorbet/rbi/gems/{parallel@1.24.0.rbi → parallel@1.26.3.rbi} +32 -21
  19. data/sorbet/rbi/gems/{parser@3.3.0.5.rbi → parser@3.3.5.1.rbi} +233 -186
  20. data/sorbet/rbi/gems/prism@1.2.0.rbi +39085 -0
  21. data/sorbet/rbi/gems/psych@5.1.2.rbi +1 -0
  22. data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.1.rbi} +38 -33
  23. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +1 -0
  24. data/sorbet/rbi/gems/{rake@13.1.0.rbi → rake@13.2.1.rbi} +56 -55
  25. data/sorbet/rbi/gems/rbi@0.2.1.rbi +4535 -0
  26. data/sorbet/rbi/gems/{regexp_parser@2.9.0.rbi → regexp_parser@2.9.2.rbi} +3 -2
  27. data/sorbet/rbi/gems/{reline@0.4.2.rbi → reline@0.5.10.rbi} +1 -0
  28. data/sorbet/rbi/gems/{rubocop-ast@1.30.0.rbi → rubocop-ast@1.33.1.rbi} +1143 -671
  29. data/sorbet/rbi/gems/{rubocop-performance@1.20.2.rbi → rubocop-performance@1.22.1.rbi} +1 -0
  30. data/sorbet/rbi/gems/{rubocop-sorbet@0.7.7.rbi → rubocop-sorbet@0.7.8.rbi} +1 -0
  31. data/sorbet/rbi/gems/{rubocop@1.60.2.rbi → rubocop@1.66.1.rbi} +3312 -2415
  32. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1 -0
  33. data/sorbet/rbi/gems/{spoom@1.2.4.rbi → spoom@1.5.0.rbi} +2009 -854
  34. data/sorbet/rbi/gems/standard-custom@1.0.2.rbi +1 -0
  35. data/sorbet/rbi/gems/{standard-performance@1.3.1.rbi → standard-performance@1.5.0.rbi} +1 -0
  36. data/sorbet/rbi/gems/standard-sorbet@0.0.2.rbi +1 -0
  37. data/sorbet/rbi/gems/{standard@1.34.0.rbi → standard@1.41.1.rbi} +171 -95
  38. data/sorbet/rbi/gems/{stringio@3.1.0.rbi → stringio@3.1.1.rbi} +1 -0
  39. data/sorbet/rbi/gems/{tapioca@0.12.0.rbi → tapioca@0.16.3.rbi} +357 -257
  40. data/sorbet/rbi/gems/{thor@1.3.0.rbi → thor@1.3.2.rbi} +114 -81
  41. data/sorbet/rbi/gems/{unicode-display_width@2.5.0.rbi → unicode-display_width@2.6.0.rbi} +1 -0
  42. data/sorbet/rbi/gems/{yard-sorbet@0.8.1.rbi → yard-sorbet@0.9.0.rbi} +36 -29
  43. data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.37.rbi} +430 -270
  44. metadata +28 -45
  45. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
  46. data/sorbet/rbi/gems/prism@0.24.0.rbi +0 -31040
  47. data/sorbet/rbi/gems/rbi@0.1.9.rbi +0 -3006
  48. data/sorbet/rbi/gems/rexml@3.2.6.rbi +0 -4781
  49. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23133
@@ -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
@@ -438,18 +443,18 @@ class RuboCop::AST::Builder < ::Parser::Builders::Default
438
443
  #
439
444
  # @return [Node] the generated node
440
445
  #
441
- # source://rubocop-ast//lib/rubocop/ast/builder.rb#98
446
+ # source://rubocop-ast//lib/rubocop/ast/builder.rb#105
442
447
  def n(type, children, source_map); end
443
448
 
444
449
  # TODO: Figure out what to do about literal encoding handling...
445
450
  # More details here https://github.com/whitequark/parser/issues/283
446
451
  #
447
- # source://rubocop-ast//lib/rubocop/ast/builder.rb#104
452
+ # source://rubocop-ast//lib/rubocop/ast/builder.rb#111
448
453
  def string_value(token); end
449
454
 
450
455
  private
451
456
 
452
- # source://rubocop-ast//lib/rubocop/ast/builder.rb#110
457
+ # source://rubocop-ast//lib/rubocop/ast/builder.rb#117
453
458
  def node_klass(type); end
454
459
  end
455
460
 
@@ -569,26 +574,17 @@ end
569
574
  #
570
575
  # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#8
571
576
  class RuboCop::AST::CasgnNode < ::RuboCop::AST::Node
577
+ include ::RuboCop::AST::ConstantNode
578
+
572
579
  # The expression being assigned to the variable.
573
580
  #
574
581
  # @return [Node] the expression being assigned.
575
582
  #
576
- # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#26
583
+ # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#16
577
584
  def expression; end
578
585
 
579
- # The name of the variable being assigned as a symbol.
580
- #
581
- # @return [Symbol] the name of the variable being assigned
582
- #
583
- # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#19
586
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#14
584
587
  def name; end
585
-
586
- # The namespace of the constant being assigned.
587
- #
588
- # @return [Node, nil] the node associated with the scope (e.g. cbase, const, ...)
589
- #
590
- # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#12
591
- def namespace; end
592
588
  end
593
589
 
594
590
  # A node extension for `class` nodes. This will be used in place of a plain
@@ -623,412 +619,412 @@ end
623
619
  #
624
620
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#6
625
621
  module RuboCop::AST::CollectionNode
626
- extend ::Forwardable
622
+ extend ::RuboCop::SimpleForwardable
627
623
 
628
- # source://forwardable/1.3.3/forwardable.rb#231
629
- def &(*args, **_arg1, &block); end
624
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
625
+ def &(*_arg0, **_arg1, &_arg2); end
630
626
 
631
- # source://forwardable/1.3.3/forwardable.rb#231
632
- def *(*args, **_arg1, &block); end
627
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
628
+ def *(*_arg0, **_arg1, &_arg2); end
633
629
 
634
- # source://forwardable/1.3.3/forwardable.rb#231
635
- def +(*args, **_arg1, &block); end
630
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
631
+ def +(*_arg0, **_arg1, &_arg2); end
636
632
 
637
- # source://forwardable/1.3.3/forwardable.rb#231
638
- def -(*args, **_arg1, &block); end
633
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
634
+ def -(*_arg0, **_arg1, &_arg2); end
639
635
 
640
- # source://forwardable/1.3.3/forwardable.rb#231
641
- def <<(*args, **_arg1, &block); end
636
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
637
+ def <<(*_arg0, **_arg1, &_arg2); end
642
638
 
643
- # source://forwardable/1.3.3/forwardable.rb#231
644
- def [](*args, **_arg1, &block); end
639
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
640
+ def [](*_arg0, **_arg1, &_arg2); end
645
641
 
646
- # source://forwardable/1.3.3/forwardable.rb#231
647
- def []=(*args, **_arg1, &block); end
642
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
643
+ def []=(*_arg0, **_arg1, &_arg2); end
648
644
 
649
- # source://forwardable/1.3.3/forwardable.rb#231
650
- 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
651
647
 
652
- # source://forwardable/1.3.3/forwardable.rb#231
653
- 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
654
650
 
655
- # source://forwardable/1.3.3/forwardable.rb#231
656
- 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
657
653
 
658
- # source://forwardable/1.3.3/forwardable.rb#231
659
- 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
660
656
 
661
- # source://forwardable/1.3.3/forwardable.rb#231
662
- 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
663
659
 
664
- # source://forwardable/1.3.3/forwardable.rb#231
665
- 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
666
662
 
667
- # source://forwardable/1.3.3/forwardable.rb#231
668
- 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
669
665
 
670
- # source://forwardable/1.3.3/forwardable.rb#231
671
- 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
672
668
 
673
- # source://forwardable/1.3.3/forwardable.rb#231
674
- 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
675
671
 
676
- # source://forwardable/1.3.3/forwardable.rb#231
677
- 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
678
674
 
679
- # source://forwardable/1.3.3/forwardable.rb#231
680
- 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
681
677
 
682
- # source://forwardable/1.3.3/forwardable.rb#231
683
- 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
684
680
 
685
- # source://forwardable/1.3.3/forwardable.rb#231
686
- 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
687
683
 
688
- # source://forwardable/1.3.3/forwardable.rb#231
689
- 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
690
686
 
691
- # source://forwardable/1.3.3/forwardable.rb#231
692
- 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
693
689
 
694
- # source://forwardable/1.3.3/forwardable.rb#231
695
- 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
696
692
 
697
- # source://forwardable/1.3.3/forwardable.rb#231
698
- 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
699
695
 
700
- # source://forwardable/1.3.3/forwardable.rb#231
701
- 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
702
698
 
703
- # source://forwardable/1.3.3/forwardable.rb#231
704
- 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
705
701
 
706
- # source://forwardable/1.3.3/forwardable.rb#231
707
- 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
708
704
 
709
- # source://forwardable/1.3.3/forwardable.rb#231
710
- 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
711
707
 
712
- # source://forwardable/1.3.3/forwardable.rb#231
713
- 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
714
710
 
715
- # source://forwardable/1.3.3/forwardable.rb#231
716
- 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
717
713
 
718
- # source://forwardable/1.3.3/forwardable.rb#231
719
- 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
720
716
 
721
- # source://forwardable/1.3.3/forwardable.rb#231
722
- 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
723
719
 
724
- # source://forwardable/1.3.3/forwardable.rb#231
725
- 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
726
722
 
727
- # source://forwardable/1.3.3/forwardable.rb#231
728
- 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
729
725
 
730
- # source://forwardable/1.3.3/forwardable.rb#231
731
- 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
732
728
 
733
- # source://forwardable/1.3.3/forwardable.rb#231
734
- 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
735
731
 
736
- # source://forwardable/1.3.3/forwardable.rb#231
737
- 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
738
734
 
739
- # source://forwardable/1.3.3/forwardable.rb#231
740
- 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
741
737
 
742
- # source://forwardable/1.3.3/forwardable.rb#231
743
- 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
744
740
 
745
- # source://forwardable/1.3.3/forwardable.rb#231
746
- 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
747
743
 
748
- # source://forwardable/1.3.3/forwardable.rb#231
749
- 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
750
746
 
751
- # source://forwardable/1.3.3/forwardable.rb#231
752
- 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
753
749
 
754
- # source://forwardable/1.3.3/forwardable.rb#231
755
- 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
756
752
 
757
- # source://forwardable/1.3.3/forwardable.rb#231
758
- 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
759
755
 
760
- # source://forwardable/1.3.3/forwardable.rb#231
761
- 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
762
758
 
763
- # source://forwardable/1.3.3/forwardable.rb#231
764
- 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
765
761
 
766
- # source://forwardable/1.3.3/forwardable.rb#231
767
- 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
768
764
 
769
- # source://forwardable/1.3.3/forwardable.rb#231
770
- 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
771
767
 
772
- # source://forwardable/1.3.3/forwardable.rb#231
773
- 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
774
770
 
775
- # source://forwardable/1.3.3/forwardable.rb#231
776
- 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
777
773
 
778
- # source://forwardable/1.3.3/forwardable.rb#231
779
- 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
780
776
 
781
- # source://forwardable/1.3.3/forwardable.rb#231
782
- 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
783
779
 
784
- # source://forwardable/1.3.3/forwardable.rb#231
785
- 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
786
782
 
787
- # source://forwardable/1.3.3/forwardable.rb#231
788
- 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
789
785
 
790
- # source://forwardable/1.3.3/forwardable.rb#231
791
- 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
792
788
 
793
- # source://forwardable/1.3.3/forwardable.rb#231
794
- 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
795
791
 
796
- # source://forwardable/1.3.3/forwardable.rb#231
797
- 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
798
794
 
799
- # source://forwardable/1.3.3/forwardable.rb#231
800
- 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
801
797
 
802
- # source://forwardable/1.3.3/forwardable.rb#231
803
- 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
804
800
 
805
- # source://forwardable/1.3.3/forwardable.rb#231
806
- 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
807
803
 
808
- # source://forwardable/1.3.3/forwardable.rb#231
809
- 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
810
806
 
811
- # source://forwardable/1.3.3/forwardable.rb#231
812
- 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
813
809
 
814
- # source://forwardable/1.3.3/forwardable.rb#231
815
- 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
816
812
 
817
- # source://forwardable/1.3.3/forwardable.rb#231
818
- 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
819
815
 
820
- # source://forwardable/1.3.3/forwardable.rb#231
821
- 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
822
818
 
823
- # source://forwardable/1.3.3/forwardable.rb#231
824
- 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
825
821
 
826
- # source://forwardable/1.3.3/forwardable.rb#231
827
- 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
828
824
 
829
- # source://forwardable/1.3.3/forwardable.rb#231
830
- 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
831
827
 
832
- # source://forwardable/1.3.3/forwardable.rb#231
833
- 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
834
830
 
835
- # source://forwardable/1.3.3/forwardable.rb#231
836
- 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
837
833
 
838
- # source://forwardable/1.3.3/forwardable.rb#231
839
- 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
840
836
 
841
- # source://forwardable/1.3.3/forwardable.rb#231
842
- 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
843
839
 
844
- # source://forwardable/1.3.3/forwardable.rb#231
845
- 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
846
842
 
847
- # source://forwardable/1.3.3/forwardable.rb#231
848
- 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
849
845
 
850
- # source://forwardable/1.3.3/forwardable.rb#231
851
- 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
852
848
 
853
- # source://forwardable/1.3.3/forwardable.rb#231
854
- 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
855
851
 
856
- # source://forwardable/1.3.3/forwardable.rb#231
857
- 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
858
854
 
859
- # source://forwardable/1.3.3/forwardable.rb#231
860
- 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
861
857
 
862
- # source://forwardable/1.3.3/forwardable.rb#231
863
- 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
864
860
 
865
- # source://forwardable/1.3.3/forwardable.rb#231
866
- 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
867
863
 
868
- # source://forwardable/1.3.3/forwardable.rb#231
869
- 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
870
866
 
871
- # source://forwardable/1.3.3/forwardable.rb#231
872
- 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
873
869
 
874
- # source://forwardable/1.3.3/forwardable.rb#231
875
- 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
876
872
 
877
- # source://forwardable/1.3.3/forwardable.rb#231
878
- 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
879
875
 
880
- # source://forwardable/1.3.3/forwardable.rb#231
881
- 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
882
878
 
883
- # source://forwardable/1.3.3/forwardable.rb#231
884
- 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
885
881
 
886
- # source://forwardable/1.3.3/forwardable.rb#231
887
- 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
888
884
 
889
- # source://forwardable/1.3.3/forwardable.rb#231
890
- 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
891
887
 
892
- # source://forwardable/1.3.3/forwardable.rb#231
893
- 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
894
890
 
895
- # source://forwardable/1.3.3/forwardable.rb#231
896
- 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
897
893
 
898
- # source://forwardable/1.3.3/forwardable.rb#231
899
- 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
900
896
 
901
- # source://forwardable/1.3.3/forwardable.rb#231
902
- 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
903
899
 
904
- # source://forwardable/1.3.3/forwardable.rb#231
905
- 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
906
902
 
907
- # source://forwardable/1.3.3/forwardable.rb#231
908
- 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
909
905
 
910
- # source://forwardable/1.3.3/forwardable.rb#231
911
- 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
912
908
 
913
- # source://forwardable/1.3.3/forwardable.rb#231
914
- 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
915
911
 
916
- # source://forwardable/1.3.3/forwardable.rb#231
917
- 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
918
914
 
919
- # source://forwardable/1.3.3/forwardable.rb#231
920
- 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
921
917
 
922
- # source://forwardable/1.3.3/forwardable.rb#231
923
- 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
924
920
 
925
- # source://forwardable/1.3.3/forwardable.rb#231
926
- 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
927
923
 
928
- # source://forwardable/1.3.3/forwardable.rb#231
929
- 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
930
926
 
931
- # source://forwardable/1.3.3/forwardable.rb#231
932
- 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
933
929
 
934
- # source://forwardable/1.3.3/forwardable.rb#231
935
- 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
936
932
 
937
- # source://forwardable/1.3.3/forwardable.rb#231
938
- 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
939
935
 
940
- # source://forwardable/1.3.3/forwardable.rb#231
941
- 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
942
938
 
943
- # source://forwardable/1.3.3/forwardable.rb#231
944
- 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
945
941
 
946
- # source://forwardable/1.3.3/forwardable.rb#231
947
- 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
948
944
 
949
- # source://forwardable/1.3.3/forwardable.rb#231
950
- 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
951
947
 
952
- # source://forwardable/1.3.3/forwardable.rb#231
953
- 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
954
950
 
955
- # source://forwardable/1.3.3/forwardable.rb#231
956
- 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
957
953
 
958
- # source://forwardable/1.3.3/forwardable.rb#231
959
- 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
960
956
 
961
- # source://forwardable/1.3.3/forwardable.rb#231
962
- 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
963
959
 
964
- # source://forwardable/1.3.3/forwardable.rb#231
965
- 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
966
962
 
967
- # source://forwardable/1.3.3/forwardable.rb#231
968
- 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
969
965
 
970
- # source://forwardable/1.3.3/forwardable.rb#231
971
- 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
972
968
 
973
- # source://forwardable/1.3.3/forwardable.rb#231
974
- 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
975
971
 
976
- # source://forwardable/1.3.3/forwardable.rb#231
977
- 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
978
974
 
979
- # source://forwardable/1.3.3/forwardable.rb#231
980
- 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
981
977
 
982
- # source://forwardable/1.3.3/forwardable.rb#231
983
- 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
984
980
 
985
- # source://forwardable/1.3.3/forwardable.rb#231
986
- 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
987
983
 
988
- # source://forwardable/1.3.3/forwardable.rb#231
989
- 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
990
986
 
991
- # source://forwardable/1.3.3/forwardable.rb#231
992
- 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
993
989
 
994
- # source://forwardable/1.3.3/forwardable.rb#231
995
- 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
996
992
 
997
- # source://forwardable/1.3.3/forwardable.rb#231
998
- 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
999
995
 
1000
- # source://forwardable/1.3.3/forwardable.rb#231
1001
- 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
1002
998
 
1003
- # source://forwardable/1.3.3/forwardable.rb#231
1004
- 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
1005
1001
 
1006
- # source://forwardable/1.3.3/forwardable.rb#231
1007
- 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
1008
1004
 
1009
- # source://forwardable/1.3.3/forwardable.rb#231
1010
- 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
1011
1007
 
1012
- # source://forwardable/1.3.3/forwardable.rb#231
1013
- 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
1014
1010
 
1015
- # source://forwardable/1.3.3/forwardable.rb#231
1016
- 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
1017
1013
 
1018
- # source://forwardable/1.3.3/forwardable.rb#231
1019
- 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
1020
1016
 
1021
- # source://forwardable/1.3.3/forwardable.rb#231
1022
- 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
1023
1019
 
1024
- # source://forwardable/1.3.3/forwardable.rb#231
1025
- 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
1026
1022
 
1027
- # source://forwardable/1.3.3/forwardable.rb#231
1028
- 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
1029
1025
 
1030
- # source://forwardable/1.3.3/forwardable.rb#231
1031
- def |(*args, **_arg1, &block); end
1026
+ # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1027
+ def |(*_arg0, **_arg1, &_arg2); end
1032
1028
  end
1033
1029
 
1034
1030
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#9
@@ -1079,16 +1075,24 @@ end
1079
1075
  #
1080
1076
  # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#6
1081
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
1082
1086
  # @return [Boolean] if the constant starts with `::` (aka s(:cbase))
1083
1087
  #
1084
- # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#26
1088
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#27
1085
1089
  def absolute?; end
1086
1090
 
1087
1091
  # @return [Boolean] if the constant is a Module / Class, according to the standard convention.
1088
1092
  # Note: some classes might have uppercase in which case this method
1089
1093
  # returns false
1090
1094
  #
1091
- # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#20
1095
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#21
1092
1096
  def class_name?; end
1093
1097
 
1094
1098
  # Yield nodes for the namespace
@@ -1098,29 +1102,29 @@ class RuboCop::AST::ConstNode < ::RuboCop::AST::Node
1098
1102
  # s(:const, :Foo), then
1099
1103
  # s(:const, s(:const, :Foo), :Bar)
1100
1104
  #
1101
- # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#43
1105
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#44
1102
1106
  def each_path(&block); end
1103
1107
 
1104
1108
  # @return [Boolean] if the constant is a Module / Class, according to the standard convention.
1105
1109
  # Note: some classes might have uppercase in which case this method
1106
1110
  # returns false
1107
1111
  #
1108
- # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#20
1112
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#21
1109
1113
  def module_name?; end
1110
1114
 
1111
1115
  # @return [Node, nil] the node associated with the scope (e.g. cbase, const, ...)
1112
1116
  #
1113
- # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#8
1117
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#9
1114
1118
  def namespace; end
1115
1119
 
1116
1120
  # @return [Boolean] if the constant does not start with `::` (aka s(:cbase))
1117
1121
  #
1118
- # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#33
1122
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#34
1119
1123
  def relative?; end
1120
1124
 
1121
1125
  # @return [Symbol] the demodulized name of the constant: "::Foo::Bar" => :Bar
1122
1126
  #
1123
- # source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#13
1127
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#14
1124
1128
  def short_name; end
1125
1129
  end
1126
1130
 
@@ -1310,6 +1314,14 @@ class RuboCop::AST::EnsureNode < ::RuboCop::AST::Node
1310
1314
  #
1311
1315
  # source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#12
1312
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
1313
1325
  end
1314
1326
 
1315
1327
  # source://rubocop-ast//lib/rubocop/ast/ext/range.rb#5
@@ -1337,11 +1349,6 @@ module RuboCop::AST::Ext::Range
1337
1349
  def line_span(exclude_end: T.unsafe(nil)); end
1338
1350
  end
1339
1351
 
1340
- # Refinement to circumvent broken `Range#minmax` for infinity ranges in 2.6-
1341
- #
1342
- # source://rubocop-ast//lib/rubocop/ast/ext/range_min_max.rb#7
1343
- module RuboCop::AST::Ext::RangeMinMax; end
1344
-
1345
1352
  # A node extension for `float` nodes. This will be used in place of a plain
1346
1353
  # node when the builder constructs the AST, making its methods available to
1347
1354
  # all `float` nodes within RuboCop.
@@ -2038,6 +2045,71 @@ class RuboCop::AST::LambdaNode < ::RuboCop::AST::Node
2038
2045
  def first_argument_index; end
2039
2046
  end
2040
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
+
2041
2113
  # Common functionality for nodes that are a kind of method dispatch:
2042
2114
  # `send`, `csend`, `super`, `zsuper`, `yield`, `defined?`,
2043
2115
  # and (modern only): `index`, `indexasgn`, `lambda`
@@ -2470,6 +2542,22 @@ RuboCop::AST::MethodIdentifierPredicates::NONMUTATING_UNARY_OPERATOR_METHODS = T
2470
2542
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_identifier_predicates.rb#20
2471
2543
  RuboCop::AST::MethodIdentifierPredicates::OPERATOR_METHODS = T.let(T.unsafe(nil), Set)
2472
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
+
2473
2561
  # Common functionality for nodes that can be used as modifiers:
2474
2562
  # `if`, `while`, `until`
2475
2563
  #
@@ -2540,19 +2628,19 @@ class RuboCop::AST::Node < ::Parser::AST::Node
2540
2628
  # @return [Node] a new instance of Node
2541
2629
  # @see https://www.rubydoc.info/gems/ast/AST/Node:initialize
2542
2630
  #
2543
- # source://rubocop-ast//lib/rubocop/ast/node.rb#92
2631
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#113
2544
2632
  def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end
2545
2633
 
2546
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2634
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2547
2635
  def __ENCODING___type?; end
2548
2636
 
2549
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2637
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2550
2638
  def __FILE___type?; end
2551
2639
 
2552
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2640
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2553
2641
  def __LINE___type?; end
2554
2642
 
2555
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2643
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2556
2644
  def alias_type?; end
2557
2645
 
2558
2646
  # Returns an array of ancestor nodes.
@@ -2560,173 +2648,173 @@ class RuboCop::AST::Node < ::Parser::AST::Node
2560
2648
  #
2561
2649
  # @return [Array<Node>] an array of ancestor nodes
2562
2650
  #
2563
- # source://rubocop-ast//lib/rubocop/ast/node.rb#247
2651
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#268
2564
2652
  def ancestors; end
2565
2653
 
2566
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2654
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2567
2655
  def and_asgn_type?; end
2568
2656
 
2569
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2657
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2570
2658
  def and_type?; end
2571
2659
 
2572
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2660
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2573
2661
  def arg_expr_type?; end
2574
2662
 
2575
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2663
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2576
2664
  def arg_type?; end
2577
2665
 
2578
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2666
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2579
2667
  def args_type?; end
2580
2668
 
2581
2669
  # @return [Boolean]
2582
2670
  #
2583
- # source://rubocop-ast//lib/rubocop/ast/node.rb#464
2671
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#474
2584
2672
  def argument?; end
2585
2673
 
2586
2674
  # @return [Boolean]
2587
2675
  #
2588
- # source://rubocop-ast//lib/rubocop/ast/node.rb#468
2676
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#478
2589
2677
  def argument_type?; end
2590
2678
 
2591
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2679
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2592
2680
  def array_pattern_type?; end
2593
2681
 
2594
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2682
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2595
2683
  def array_pattern_with_tail_type?; end
2596
2684
 
2597
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2685
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2598
2686
  def array_type?; end
2599
2687
 
2600
2688
  # @return [Boolean]
2601
2689
  #
2602
- # source://rubocop-ast//lib/rubocop/ast/node.rb#416
2690
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#426
2603
2691
  def assignment?; end
2604
2692
 
2605
2693
  # Some cops treat the shovel operator as a kind of assignment.
2606
2694
  #
2607
- # source://rubocop-ast//lib/rubocop/ast/node.rb#355
2695
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#376
2608
2696
  def assignment_or_similar?(param0 = T.unsafe(nil)); end
2609
2697
 
2610
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2698
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2611
2699
  def back_ref_type?; end
2612
2700
 
2613
2701
  # @return [Boolean]
2614
2702
  #
2615
- # source://rubocop-ast//lib/rubocop/ast/node.rb#420
2703
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#430
2616
2704
  def basic_conditional?; end
2617
2705
 
2618
2706
  # @return [Boolean]
2619
2707
  #
2620
- # source://rubocop-ast//lib/rubocop/ast/node.rb#363
2708
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#384
2621
2709
  def basic_literal?; end
2622
2710
 
2623
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2711
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2624
2712
  def begin_type?; end
2625
2713
 
2626
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2714
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2627
2715
  def block_pass_type?; end
2628
2716
 
2629
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2717
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2630
2718
  def block_type?; end
2631
2719
 
2632
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2720
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2633
2721
  def blockarg_expr_type?; end
2634
2722
 
2635
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2723
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2636
2724
  def blockarg_type?; end
2637
2725
 
2638
2726
  # @return [Boolean]
2639
2727
  #
2640
- # source://rubocop-ast//lib/rubocop/ast/node.rb#472
2728
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#482
2641
2729
  def boolean_type?; end
2642
2730
 
2643
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2731
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2644
2732
  def break_type?; end
2645
2733
 
2646
2734
  # @return [Boolean]
2647
2735
  #
2648
- # source://rubocop-ast//lib/rubocop/ast/node.rb#456
2736
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#466
2649
2737
  def call_type?; end
2650
2738
 
2651
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2739
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2652
2740
  def case_match_type?; end
2653
2741
 
2654
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2742
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2655
2743
  def case_type?; end
2656
2744
 
2657
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2745
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2658
2746
  def casgn_type?; end
2659
2747
 
2660
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2748
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2661
2749
  def cbase_type?; end
2662
2750
 
2663
2751
  # @return [Boolean]
2664
2752
  #
2665
- # source://rubocop-ast//lib/rubocop/ast/node.rb#460
2753
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#470
2666
2754
  def chained?; end
2667
2755
 
2668
- # source://rubocop-ast//lib/rubocop/ast/node.rb#512
2756
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#522
2669
2757
  def class_constructor?(param0 = T.unsafe(nil)); end
2670
2758
 
2671
- # source://rubocop-ast//lib/rubocop/ast/node.rb#530
2759
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#540
2672
2760
  def class_definition?(param0 = T.unsafe(nil)); end
2673
2761
 
2674
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2762
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2675
2763
  def class_type?; end
2676
2764
 
2677
- # source://rubocop-ast//lib/rubocop/ast/node.rb#144
2765
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#165
2678
2766
  def complete!; end
2679
2767
 
2680
2768
  # @return [Boolean]
2681
2769
  #
2682
- # source://rubocop-ast//lib/rubocop/ast/node.rb#149
2770
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2683
2771
  def complete?; end
2684
2772
 
2685
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2773
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2686
2774
  def complex_type?; end
2687
2775
 
2688
2776
  # @return [Boolean]
2689
2777
  #
2690
- # source://rubocop-ast//lib/rubocop/ast/node.rb#424
2778
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#434
2691
2779
  def conditional?; end
2692
2780
 
2693
- # source://rubocop-ast//lib/rubocop/ast/node.rb#293
2781
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#314
2694
2782
  def const_name; end
2695
2783
 
2696
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2784
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2697
2785
  def const_pattern_type?; end
2698
2786
 
2699
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2787
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2700
2788
  def const_type?; end
2701
2789
 
2702
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2790
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2703
2791
  def csend_type?; end
2704
2792
 
2705
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2793
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2706
2794
  def cvar_type?; end
2707
2795
 
2708
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2796
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2709
2797
  def cvasgn_type?; end
2710
2798
 
2711
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2799
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2712
2800
  def def_type?; end
2713
2801
 
2714
- # source://rubocop-ast//lib/rubocop/ast/node.rb#314
2802
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#335
2715
2803
  def defined_module; end
2716
2804
 
2717
- # source://rubocop-ast//lib/rubocop/ast/node.rb#319
2805
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#340
2718
2806
  def defined_module_name; end
2719
2807
 
2720
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2808
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2721
2809
  def defined_type?; end
2722
2810
 
2723
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2811
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2724
2812
  def defs_type?; end
2725
2813
 
2726
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2814
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2727
2815
  def dstr_type?; end
2728
2816
 
2729
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2817
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2730
2818
  def dsym_type?; end
2731
2819
 
2732
2820
  # Calls the given block for each ancestor node from parent to root.
@@ -2739,163 +2827,163 @@ class RuboCop::AST::Node < ::Parser::AST::Node
2739
2827
  # @return [Enumerator] if no block is given
2740
2828
  # @yieldparam node [Node] each ancestor node
2741
2829
  #
2742
- # source://rubocop-ast//lib/rubocop/ast/node.rb#235
2830
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#256
2743
2831
  def each_ancestor(*types, &block); end
2744
2832
 
2745
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2833
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2746
2834
  def eflipflop_type?; end
2747
2835
 
2748
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2836
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2749
2837
  def empty_else_type?; end
2750
2838
 
2751
2839
  # @return [Boolean]
2752
2840
  #
2753
- # source://rubocop-ast//lib/rubocop/ast/node.rb#349
2841
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#370
2754
2842
  def empty_source?; end
2755
2843
 
2756
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2844
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2757
2845
  def ensure_type?; end
2758
2846
 
2759
2847
  # @return [Boolean]
2760
2848
  #
2761
- # source://rubocop-ast//lib/rubocop/ast/node.rb#408
2849
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#418
2762
2850
  def equals_asgn?; end
2763
2851
 
2764
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2852
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2765
2853
  def erange_type?; end
2766
2854
 
2767
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2855
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2768
2856
  def false_type?; end
2769
2857
 
2770
2858
  # @return [Boolean]
2771
2859
  #
2772
- # source://rubocop-ast//lib/rubocop/ast/node.rb#371
2860
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#392
2773
2861
  def falsey_literal?; end
2774
2862
 
2775
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2863
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2776
2864
  def find_pattern_type?; end
2777
2865
 
2778
- # source://rubocop-ast//lib/rubocop/ast/node.rb#261
2866
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#282
2779
2867
  def first_line; end
2780
2868
 
2781
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2869
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2782
2870
  def float_type?; end
2783
2871
 
2784
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2872
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2785
2873
  def for_type?; end
2786
2874
 
2787
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2875
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2788
2876
  def forward_arg_type?; end
2789
2877
 
2790
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2878
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2791
2879
  def forward_args_type?; end
2792
2880
 
2793
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2881
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2794
2882
  def forwarded_args_type?; end
2795
2883
 
2796
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2884
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2797
2885
  def forwarded_kwrestarg_type?; end
2798
2886
 
2799
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2887
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2800
2888
  def forwarded_restarg_type?; end
2801
2889
 
2802
- # source://rubocop-ast//lib/rubocop/ast/node.rb#509
2890
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#519
2803
2891
  def global_const?(param0 = T.unsafe(nil), param1); end
2804
2892
 
2805
2893
  # @return [Boolean]
2806
2894
  #
2807
- # source://rubocop-ast//lib/rubocop/ast/node.rb#484
2895
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#494
2808
2896
  def guard_clause?; end
2809
2897
 
2810
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2898
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2811
2899
  def gvar_type?; end
2812
2900
 
2813
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2901
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2814
2902
  def gvasgn_type?; end
2815
2903
 
2816
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2904
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2817
2905
  def hash_pattern_type?; end
2818
2906
 
2819
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2907
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2820
2908
  def hash_type?; end
2821
2909
 
2822
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2910
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2823
2911
  def ident_type?; end
2824
2912
 
2825
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2913
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2826
2914
  def if_guard_type?; end
2827
2915
 
2828
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2916
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2829
2917
  def if_type?; end
2830
2918
 
2831
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2919
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2832
2920
  def iflipflop_type?; end
2833
2921
 
2834
2922
  # @return [Boolean]
2835
2923
  #
2836
- # source://rubocop-ast//lib/rubocop/ast/node.rb#379
2924
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#400
2837
2925
  def immutable_literal?; end
2838
2926
 
2839
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2927
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2840
2928
  def in_match_type?; end
2841
2929
 
2842
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2930
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2843
2931
  def in_pattern_type?; end
2844
2932
 
2845
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2933
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2846
2934
  def index_type?; end
2847
2935
 
2848
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2936
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2849
2937
  def indexasgn_type?; end
2850
2938
 
2851
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2939
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2852
2940
  def int_type?; end
2853
2941
 
2854
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2942
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2855
2943
  def irange_type?; end
2856
2944
 
2857
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2945
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2858
2946
  def ivar_type?; end
2859
2947
 
2860
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2948
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2861
2949
  def ivasgn_type?; end
2862
2950
 
2863
2951
  # @return [Boolean]
2864
2952
  #
2865
- # source://rubocop-ast//lib/rubocop/ast/node.rb#437
2953
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#447
2866
2954
  def keyword?; end
2867
2955
 
2868
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2956
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2869
2957
  def kwarg_type?; end
2870
2958
 
2871
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2959
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2872
2960
  def kwargs_type?; end
2873
2961
 
2874
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2962
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2875
2963
  def kwbegin_type?; end
2876
2964
 
2877
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2965
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2878
2966
  def kwnilarg_type?; end
2879
2967
 
2880
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2968
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2881
2969
  def kwoptarg_type?; end
2882
2970
 
2883
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2971
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2884
2972
  def kwrestarg_type?; end
2885
2973
 
2886
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2974
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2887
2975
  def kwsplat_type?; end
2888
2976
 
2889
- # source://rubocop-ast//lib/rubocop/ast/node.rb#503
2977
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#513
2890
2978
  def lambda?(param0 = T.unsafe(nil)); end
2891
2979
 
2892
- # source://rubocop-ast//lib/rubocop/ast/node.rb#506
2980
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#516
2893
2981
  def lambda_or_proc?(param0 = T.unsafe(nil)); end
2894
2982
 
2895
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
2983
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2896
2984
  def lambda_type?; end
2897
2985
 
2898
- # source://rubocop-ast//lib/rubocop/ast/node.rb#265
2986
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#286
2899
2987
  def last_line; end
2900
2988
 
2901
2989
  # Use is discouraged, this is a potentially slow method and can lead
@@ -2903,7 +2991,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
2903
2991
  #
2904
2992
  # @return [Node, nil] the left (aka previous) sibling
2905
2993
  #
2906
- # source://rubocop-ast//lib/rubocop/ast/node.rb#187
2994
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#208
2907
2995
  def left_sibling; end
2908
2996
 
2909
2997
  # Use is discouraged, this is a potentially slow method and can lead
@@ -2911,94 +2999,94 @@ class RuboCop::AST::Node < ::Parser::AST::Node
2911
2999
  #
2912
3000
  # @return [Array<Node>] the left (aka previous) siblings
2913
3001
  #
2914
- # source://rubocop-ast//lib/rubocop/ast/node.rb#197
3002
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#218
2915
3003
  def left_siblings; end
2916
3004
 
2917
- # source://rubocop-ast//lib/rubocop/ast/node.rb#269
3005
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#290
2918
3006
  def line_count; end
2919
3007
 
2920
3008
  # @return [Boolean]
2921
3009
  #
2922
- # source://rubocop-ast//lib/rubocop/ast/node.rb#359
3010
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#380
2923
3011
  def literal?; end
2924
3012
 
2925
3013
  # NOTE: `loop { }` is a normal method call and thus not a loop keyword.
2926
3014
  #
2927
3015
  # @return [Boolean]
2928
3016
  #
2929
- # source://rubocop-ast//lib/rubocop/ast/node.rb#433
3017
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#443
2930
3018
  def loop_keyword?; end
2931
3019
 
2932
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3020
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2933
3021
  def lvar_type?; end
2934
3022
 
2935
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3023
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2936
3024
  def lvasgn_type?; end
2937
3025
 
2938
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3026
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2939
3027
  def masgn_type?; end
2940
3028
 
2941
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3029
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2942
3030
  def match_alt_type?; end
2943
3031
 
2944
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3032
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2945
3033
  def match_as_type?; end
2946
3034
 
2947
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3035
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2948
3036
  def match_current_line_type?; end
2949
3037
 
2950
- # source://rubocop-ast//lib/rubocop/ast/node.rb#491
3038
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#501
2951
3039
  def match_guard_clause?(param0 = T.unsafe(nil)); end
2952
3040
 
2953
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3041
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2954
3042
  def match_nil_pattern_type?; end
2955
3043
 
2956
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3044
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2957
3045
  def match_pattern_p_type?; end
2958
3046
 
2959
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3047
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2960
3048
  def match_pattern_type?; end
2961
3049
 
2962
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3050
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2963
3051
  def match_rest_type?; end
2964
3052
 
2965
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3053
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2966
3054
  def match_var_type?; end
2967
3055
 
2968
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3056
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2969
3057
  def match_with_lvasgn_type?; end
2970
3058
 
2971
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3059
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2972
3060
  def match_with_trailing_comma_type?; end
2973
3061
 
2974
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3062
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2975
3063
  def mlhs_type?; end
2976
3064
 
2977
- # source://rubocop-ast//lib/rubocop/ast/node.rb#537
3065
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#547
2978
3066
  def module_definition?(param0 = T.unsafe(nil)); end
2979
3067
 
2980
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3068
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2981
3069
  def module_type?; end
2982
3070
 
2983
3071
  # Predicates
2984
3072
  #
2985
3073
  # @return [Boolean]
2986
3074
  #
2987
- # source://rubocop-ast//lib/rubocop/ast/node.rb#341
3075
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#362
2988
3076
  def multiline?; end
2989
3077
 
2990
3078
  # @return [Boolean]
2991
3079
  #
2992
- # source://rubocop-ast//lib/rubocop/ast/node.rb#375
3080
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#396
2993
3081
  def mutable_literal?; end
2994
3082
 
2995
- # source://rubocop-ast//lib/rubocop/ast/node.rb#671
3083
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#679
2996
3084
  def new_class_or_module_block?(param0 = T.unsafe(nil)); end
2997
3085
 
2998
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3086
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
2999
3087
  def next_type?; end
3000
3088
 
3001
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3089
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3002
3090
  def nil_type?; end
3003
3091
 
3004
3092
  # Common destructuring method. This can be used to normalize
@@ -3011,95 +3099,95 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3011
3099
  # source://ast/2.4.2/lib/ast/node.rb#56
3012
3100
  def node_parts; end
3013
3101
 
3014
- # source://rubocop-ast//lib/rubocop/ast/node.rb#275
3102
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#296
3015
3103
  def nonempty_line_count; end
3016
3104
 
3017
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3105
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3018
3106
  def not_type?; end
3019
3107
 
3020
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3108
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3021
3109
  def nth_ref_type?; end
3022
3110
 
3023
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3111
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3024
3112
  def numargs_type?; end
3025
3113
 
3026
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3114
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3027
3115
  def numblock_type?; end
3028
3116
 
3029
3117
  # @return [Boolean]
3030
3118
  #
3031
- # source://rubocop-ast//lib/rubocop/ast/node.rb#476
3119
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#486
3032
3120
  def numeric_type?; end
3033
3121
 
3034
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3122
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3035
3123
  def objc_kwarg_type?; end
3036
3124
 
3037
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3125
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3038
3126
  def objc_restarg_type?; end
3039
3127
 
3040
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3128
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3041
3129
  def objc_varargs_type?; end
3042
3130
 
3043
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3131
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3044
3132
  def op_asgn_type?; end
3045
3133
 
3046
3134
  # @return [Boolean]
3047
3135
  #
3048
- # source://rubocop-ast//lib/rubocop/ast/node.rb#448
3136
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#458
3049
3137
  def operator_keyword?; end
3050
3138
 
3051
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3139
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3052
3140
  def optarg_type?; end
3053
3141
 
3054
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3142
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3055
3143
  def or_asgn_type?; end
3056
3144
 
3057
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3145
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3058
3146
  def or_type?; end
3059
3147
 
3060
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3148
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3061
3149
  def pair_type?; end
3062
3150
 
3063
3151
  # Returns the parent node, or `nil` if the receiver is a root node.
3064
3152
  #
3065
3153
  # @return [Node, nil] the parent node or `nil`
3066
3154
  #
3067
- # source://rubocop-ast//lib/rubocop/ast/node.rb#126
3155
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#147
3068
3156
  def parent; end
3069
3157
 
3070
3158
  # @return [Boolean]
3071
3159
  #
3072
- # source://rubocop-ast//lib/rubocop/ast/node.rb#135
3160
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#156
3073
3161
  def parent?; end
3074
3162
 
3075
3163
  # Searching the AST
3076
3164
  #
3077
- # source://rubocop-ast//lib/rubocop/ast/node.rb#325
3165
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#346
3078
3166
  def parent_module_name; end
3079
3167
 
3080
3168
  # @return [Boolean]
3081
3169
  #
3082
- # source://rubocop-ast//lib/rubocop/ast/node.rb#452
3170
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#462
3083
3171
  def parenthesized_call?; end
3084
3172
 
3085
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3173
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3086
3174
  def pin_type?; end
3087
3175
 
3088
3176
  # @return [Boolean]
3089
3177
  #
3090
- # source://rubocop-ast//lib/rubocop/ast/node.rb#428
3178
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#438
3091
3179
  def post_condition_loop?; end
3092
3180
 
3093
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3181
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3094
3182
  def postexe_type?; end
3095
3183
 
3096
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3184
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3097
3185
  def preexe_type?; end
3098
3186
 
3099
- # source://rubocop-ast//lib/rubocop/ast/node.rb#496
3187
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#506
3100
3188
  def proc?(param0 = T.unsafe(nil)); end
3101
3189
 
3102
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3190
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3103
3191
  def procarg0_type?; end
3104
3192
 
3105
3193
  # Some expressions are evaluated for their value, some for their side
@@ -3112,56 +3200,60 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3112
3200
  #
3113
3201
  # @return [Boolean]
3114
3202
  #
3115
- # source://rubocop-ast//lib/rubocop/ast/node.rb#582
3203
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#590
3116
3204
  def pure?; end
3117
3205
 
3118
3206
  # @return [Boolean]
3119
3207
  #
3120
- # source://rubocop-ast//lib/rubocop/ast/node.rb#480
3208
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#490
3121
3209
  def range_type?; end
3122
3210
 
3123
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3211
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3124
3212
  def rational_type?; end
3125
3213
 
3126
- # source://rubocop-ast//lib/rubocop/ast/node.rb#286
3214
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#307
3127
3215
  def receiver(param0 = T.unsafe(nil)); end
3128
3216
 
3129
- # source://rubocop-ast//lib/rubocop/ast/node.rb#386
3217
+ # @return [Boolean]
3218
+ #
3219
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#97
3130
3220
  def recursive_basic_literal?; end
3131
3221
 
3132
- # source://rubocop-ast//lib/rubocop/ast/node.rb#386
3222
+ # @return [Boolean]
3223
+ #
3224
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#97
3133
3225
  def recursive_literal?; end
3134
3226
 
3135
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3227
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3136
3228
  def redo_type?; end
3137
3229
 
3138
3230
  # @return [Boolean]
3139
3231
  #
3140
- # source://rubocop-ast//lib/rubocop/ast/node.rb#404
3232
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#414
3141
3233
  def reference?; end
3142
3234
 
3143
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3235
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3144
3236
  def regexp_type?; end
3145
3237
 
3146
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3238
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3147
3239
  def regopt_type?; end
3148
3240
 
3149
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3241
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3150
3242
  def resbody_type?; end
3151
3243
 
3152
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3244
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3153
3245
  def rescue_type?; end
3154
3246
 
3155
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3247
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3156
3248
  def restarg_expr_type?; end
3157
3249
 
3158
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3250
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3159
3251
  def restarg_type?; end
3160
3252
 
3161
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3253
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3162
3254
  def retry_type?; end
3163
3255
 
3164
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3256
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3165
3257
  def return_type?; end
3166
3258
 
3167
3259
  # Use is discouraged, this is a potentially slow method and can lead
@@ -3169,7 +3261,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3169
3261
  #
3170
3262
  # @return [Node, nil] the right (aka next) sibling
3171
3263
  #
3172
- # source://rubocop-ast//lib/rubocop/ast/node.rb#178
3264
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#199
3173
3265
  def right_sibling; end
3174
3266
 
3175
3267
  # Use is discouraged, this is a potentially slow method and can lead
@@ -3177,18 +3269,18 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3177
3269
  #
3178
3270
  # @return [Array<Node>] the right (aka next) siblings
3179
3271
  #
3180
- # source://rubocop-ast//lib/rubocop/ast/node.rb#206
3272
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#227
3181
3273
  def right_siblings; end
3182
3274
 
3183
3275
  # @return [Boolean]
3184
3276
  #
3185
- # source://rubocop-ast//lib/rubocop/ast/node.rb#140
3277
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#161
3186
3278
  def root?; end
3187
3279
 
3188
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3280
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3189
3281
  def sclass_type?; end
3190
3282
 
3191
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3283
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3192
3284
  def self_type?; end
3193
3285
 
3194
3286
  # Most nodes are of 'send' type, so this method is defined
@@ -3196,15 +3288,15 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3196
3288
  #
3197
3289
  # @return [Boolean]
3198
3290
  #
3199
- # source://rubocop-ast//lib/rubocop/ast/node.rb#119
3291
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#140
3200
3292
  def send_type?; end
3201
3293
 
3202
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3294
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3203
3295
  def shadowarg_type?; end
3204
3296
 
3205
3297
  # @return [Boolean]
3206
3298
  #
3207
- # source://rubocop-ast//lib/rubocop/ast/node.rb#412
3299
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#422
3208
3300
  def shorthand_asgn?; end
3209
3301
 
3210
3302
  # Returns the index of the receiver node in its siblings. (Sibling index
@@ -3213,70 +3305,70 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3213
3305
  #
3214
3306
  # @return [Integer, nil] the index of the receiver node in its siblings
3215
3307
  #
3216
- # source://rubocop-ast//lib/rubocop/ast/node.rb#171
3308
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#192
3217
3309
  def sibling_index; end
3218
3310
 
3219
3311
  # @return [Boolean]
3220
3312
  #
3221
- # source://rubocop-ast//lib/rubocop/ast/node.rb#345
3313
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#366
3222
3314
  def single_line?; end
3223
3315
 
3224
3316
  # NOTE: Some rare nodes may have no source, like `s(:args)` in `foo {}`
3225
3317
  #
3226
3318
  # @return [String, nil]
3227
3319
  #
3228
- # source://rubocop-ast//lib/rubocop/ast/node.rb#253
3320
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#274
3229
3321
  def source; end
3230
3322
 
3231
- # source://rubocop-ast//lib/rubocop/ast/node.rb#279
3323
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#300
3232
3324
  def source_length; end
3233
3325
 
3234
- # source://rubocop-ast//lib/rubocop/ast/node.rb#257
3326
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#278
3235
3327
  def source_range; end
3236
3328
 
3237
3329
  # @return [Boolean]
3238
3330
  #
3239
- # source://rubocop-ast//lib/rubocop/ast/node.rb#444
3331
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#454
3240
3332
  def special_keyword?; end
3241
3333
 
3242
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3334
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3243
3335
  def splat_type?; end
3244
3336
 
3245
- # source://rubocop-ast//lib/rubocop/ast/node.rb#291
3337
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#312
3246
3338
  def str_content(param0 = T.unsafe(nil)); end
3247
3339
 
3248
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3340
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3249
3341
  def str_type?; end
3250
3342
 
3251
3343
  # @deprecated Use `:class_constructor?`
3252
3344
  #
3253
- # source://rubocop-ast//lib/rubocop/ast/node.rb#525
3345
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#535
3254
3346
  def struct_constructor?(param0 = T.unsafe(nil)); end
3255
3347
 
3256
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3348
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3257
3349
  def super_type?; end
3258
3350
 
3259
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3351
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3260
3352
  def sym_type?; end
3261
3353
 
3262
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3354
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3263
3355
  def true_type?; end
3264
3356
 
3265
3357
  # @return [Boolean]
3266
3358
  #
3267
- # source://rubocop-ast//lib/rubocop/ast/node.rb#367
3359
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#388
3268
3360
  def truthy_literal?; end
3269
3361
 
3270
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3362
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3271
3363
  def undef_type?; end
3272
3364
 
3273
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3365
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3274
3366
  def unless_guard_type?; end
3275
3367
 
3276
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3368
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3277
3369
  def until_post_type?; end
3278
3370
 
3279
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3371
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3280
3372
  def until_type?; end
3281
3373
 
3282
3374
  # Override `AST::Node#updated` so that `AST::Processor` does not try to
@@ -3285,7 +3377,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3285
3377
  # identical subtrees. Rather, the entire AST must be copied any time any
3286
3378
  # part of it is changed.
3287
3379
  #
3288
- # source://rubocop-ast//lib/rubocop/ast/node.rb#160
3380
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#181
3289
3381
  def updated(type = T.unsafe(nil), children = T.unsafe(nil), properties = T.unsafe(nil)); end
3290
3382
 
3291
3383
  # Some expressions are evaluated for their value, some for their side
@@ -3296,76 +3388,82 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3296
3388
  # So, does the return value of this node matter? If we changed it to
3297
3389
  # `(...; nil)`, might that affect anything?
3298
3390
  #
3299
- #
3300
3391
  # @return [Boolean]
3301
3392
  #
3302
- # source://rubocop-ast//lib/rubocop/ast/node.rb#551
3393
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#560
3303
3394
  def value_used?; end
3304
3395
 
3305
3396
  # @return [Boolean]
3306
3397
  #
3307
- # source://rubocop-ast//lib/rubocop/ast/node.rb#400
3398
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#410
3308
3399
  def variable?; end
3309
3400
 
3310
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3401
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3311
3402
  def when_type?; end
3312
3403
 
3313
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3404
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3314
3405
  def while_post_type?; end
3315
3406
 
3316
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3407
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3317
3408
  def while_type?; end
3318
3409
 
3319
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3410
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3320
3411
  def xstr_type?; end
3321
3412
 
3322
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3413
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3323
3414
  def yield_type?; end
3324
3415
 
3325
- # source://rubocop-ast//lib/rubocop/ast/node.rb#111
3416
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#132
3326
3417
  def zsuper_type?; end
3327
3418
 
3328
3419
  protected
3329
3420
 
3330
- # source://rubocop-ast//lib/rubocop/ast/node.rb#130
3421
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#151
3331
3422
  def parent=(node); end
3332
3423
 
3333
3424
  private
3334
3425
 
3335
3426
  # @return [Boolean]
3336
3427
  #
3337
- # source://rubocop-ast//lib/rubocop/ast/node.rb#610
3428
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#618
3338
3429
  def begin_value_used?; end
3339
3430
 
3340
3431
  # @return [Boolean]
3341
3432
  #
3342
- # source://rubocop-ast//lib/rubocop/ast/node.rb#621
3433
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#629
3343
3434
  def case_if_value_used?; end
3344
3435
 
3345
- # source://rubocop-ast//lib/rubocop/ast/node.rb#305
3436
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#326
3346
3437
  def defined_module0(param0 = T.unsafe(nil)); end
3347
3438
 
3348
3439
  # @return [Boolean]
3349
3440
  #
3350
- # source://rubocop-ast//lib/rubocop/ast/node.rb#615
3441
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#623
3351
3442
  def for_value_used?; end
3352
3443
 
3353
- # source://rubocop-ast//lib/rubocop/ast/node.rb#657
3444
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#665
3354
3445
  def parent_module_name_for_block(ancestor); end
3355
3446
 
3356
- # source://rubocop-ast//lib/rubocop/ast/node.rb#645
3447
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#653
3357
3448
  def parent_module_name_for_sclass(sclass_node); end
3358
3449
 
3359
- # source://rubocop-ast//lib/rubocop/ast/node.rb#632
3450
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#640
3360
3451
  def parent_module_name_part(node); end
3361
3452
 
3362
- # source://rubocop-ast//lib/rubocop/ast/node.rb#600
3453
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#608
3363
3454
  def visit_ancestors(types); end
3364
3455
 
3365
3456
  # @return [Boolean]
3366
3457
  #
3367
- # source://rubocop-ast//lib/rubocop/ast/node.rb#627
3458
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#635
3368
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
3369
3467
  end
3370
3468
 
3371
3469
  # @api private
@@ -3509,7 +3607,7 @@ RuboCop::AST::Node::VARIABLES = T.let(T.unsafe(nil), Set)
3509
3607
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/method_definer.rb#5
3510
3608
  class RuboCop::AST::NodePattern
3511
3609
  include ::RuboCop::AST::NodePattern::MethodDefiner
3512
- extend ::Forwardable
3610
+ extend ::RuboCop::SimpleForwardable
3513
3611
 
3514
3612
  # @return [NodePattern] a new instance of NodePattern
3515
3613
  #
@@ -3527,8 +3625,8 @@ class RuboCop::AST::NodePattern
3527
3625
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73
3528
3626
  def ast; end
3529
3627
 
3530
- # source://forwardable/1.3.3/forwardable.rb#231
3531
- 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
3532
3630
 
3533
3631
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#111
3534
3632
  def encode_with(coder); end
@@ -3556,16 +3654,16 @@ class RuboCop::AST::NodePattern
3556
3654
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73
3557
3655
  def match_code; end
3558
3656
 
3559
- # source://forwardable/1.3.3/forwardable.rb#231
3560
- 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
3561
3659
 
3562
3660
  # Returns the value of attribute pattern.
3563
3661
  #
3564
3662
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73
3565
3663
  def pattern; end
3566
3664
 
3567
- # source://forwardable/1.3.3/forwardable.rb#231
3568
- 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
3569
3667
 
3570
3668
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#95
3571
3669
  def to_s; end
@@ -3670,15 +3768,15 @@ end
3670
3768
  #
3671
3769
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#11
3672
3770
  class RuboCop::AST::NodePattern::Compiler
3673
- extend ::Forwardable
3771
+ extend ::RuboCop::SimpleForwardable
3674
3772
 
3675
3773
  # @return [Compiler] a new instance of Compiler
3676
3774
  #
3677
3775
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#15
3678
3776
  def initialize; end
3679
3777
 
3680
- # source://forwardable/1.3.3/forwardable.rb#231
3681
- 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
3682
3780
 
3683
3781
  # Returns the value of attribute binding.
3684
3782
  #
@@ -3803,7 +3901,10 @@ class RuboCop::AST::NodePattern::Compiler::Binding
3803
3901
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/binding.rb#16
3804
3902
  def bind(name); end
3805
3903
 
3806
- # 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
3807
3908
  def union_bind(enum); end
3808
3909
 
3809
3910
  private
@@ -3821,8 +3922,8 @@ class RuboCop::AST::NodePattern::Compiler::Debug < ::RuboCop::AST::NodePattern::
3821
3922
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#123
3822
3923
  def initialize; end
3823
3924
 
3824
- # source://forwardable/1.3.3/forwardable.rb#231
3825
- 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
3826
3927
 
3827
3928
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#128
3828
3929
  def named_parameters; end
@@ -3835,8 +3936,8 @@ class RuboCop::AST::NodePattern::Compiler::Debug < ::RuboCop::AST::NodePattern::
3835
3936
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#132
3836
3937
  def parser; end
3837
3938
 
3838
- # source://forwardable/1.3.3/forwardable.rb#231
3839
- 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
3840
3941
  end
3841
3942
 
3842
3943
  # @api private
@@ -4151,7 +4252,6 @@ end
4151
4252
  # Doc on how this fits in the compiling process:
4152
4253
  # /docs/modules/ROOT/pages/node_pattern.adoc
4153
4254
  #
4154
- #
4155
4255
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#17
4156
4256
  class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler < ::RuboCop::AST::NodePattern::Compiler::Subcompiler
4157
4257
  # Calls `compile_sequence`; the actual `compile` method
@@ -4305,6 +4405,8 @@ class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler < ::RuboCop::AST:
4305
4405
  def within_loop; end
4306
4406
  end
4307
4407
 
4408
+ # Shift of 1 from standard Ruby indices
4409
+ #
4308
4410
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#18
4309
4411
  RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler::DELTA = T.let(T.unsafe(nil), Integer)
4310
4412
 
@@ -4437,7 +4539,7 @@ class RuboCop::AST::NodePattern::LexerRex
4437
4539
 
4438
4540
  # The current location in the parse.
4439
4541
  #
4440
- # 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
4441
4543
  def location; end
4442
4544
 
4443
4545
  # The StringScanner for this lexer.
@@ -4452,22 +4554,22 @@ class RuboCop::AST::NodePattern::LexerRex
4452
4554
 
4453
4555
  # Lex the next token.
4454
4556
  #
4455
- # 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
4456
4558
  def next_token; end
4457
4559
 
4458
4560
  # Parse the given string.
4459
4561
  #
4460
- # 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
4461
4563
  def parse(str); end
4462
4564
 
4463
4565
  # Read in and parse the file at +path+.
4464
4566
  #
4465
- # 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
4466
4568
  def parse_file(path); end
4467
4569
 
4468
4570
  # The current scanner class. Must be overridden in subclasses.
4469
4571
  #
4470
- # 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
4471
4573
  def scanner_class; end
4472
4574
 
4473
4575
  # The StringScanner for this lexer.
@@ -4611,218 +4713,218 @@ end
4611
4713
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#7
4612
4714
  class RuboCop::AST::NodePattern::Node < ::Parser::AST::Node
4613
4715
  include ::RuboCop::AST::Descendence
4614
- extend ::Forwardable
4716
+ extend ::RuboCop::SimpleForwardable
4615
4717
 
4616
4718
  # Note: `arity.end` may be `Float::INFINITY`
4617
4719
  #
4618
4720
  # @return [Integer, Range] An Integer for fixed length terms, otherwise a Range.
4619
4721
  #
4620
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#29
4722
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#28
4621
4723
  def arity; end
4622
4724
 
4623
4725
  # @return [Range] arity as a Range
4624
4726
  #
4625
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#69
4727
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#68
4626
4728
  def arity_range; end
4627
4729
 
4628
4730
  # @return [Boolean]
4629
4731
  #
4630
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#23
4732
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#22
4631
4733
  def capture?; end
4632
4734
 
4633
4735
  # @return [Node] most nodes have only one child
4634
4736
  #
4635
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#48
4737
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#47
4636
4738
  def child; end
4637
4739
 
4638
4740
  # @return [Array<Node>]
4639
4741
  #
4640
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#43
4742
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#42
4641
4743
  def children_nodes; end
4642
4744
 
4643
4745
  # @return [Array<Node>, nil] replace node with result, or `nil` if no change requested.
4644
4746
  #
4645
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#34
4747
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#33
4646
4748
  def in_sequence_head; end
4647
4749
 
4648
4750
  # that matches within a Set (e.g. `42`, `:sym` but not `/regexp/`)
4649
4751
  #
4650
4752
  # @return [Boolean] returns true for nodes having a Ruby literal equivalent
4651
4753
  #
4652
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#64
4754
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#63
4653
4755
  def matches_within_set?; end
4654
4756
 
4655
4757
  # @return [Integer] nb of captures of that node and its descendants
4656
4758
  #
4657
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#53
4759
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#52
4658
4760
  def nb_captures; end
4659
4761
 
4660
4762
  # To be overridden by subclasses
4661
4763
  #
4662
4764
  # @return [Boolean]
4663
4765
  #
4664
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#19
4766
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#18
4665
4767
  def rest?; end
4666
4768
 
4667
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#78
4769
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#77
4668
4770
  def source_range; end
4669
4771
 
4670
4772
  # @return [Boolean] returns whether it matches a variable number of elements
4671
4773
  #
4672
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#58
4774
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#57
4673
4775
  def variadic?; end
4674
4776
 
4675
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#74
4777
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#73
4676
4778
  def with(type: T.unsafe(nil), children: T.unsafe(nil), location: T.unsafe(nil)); end
4677
4779
  end
4678
4780
 
4679
4781
  # Node class for `<int str ...>`
4680
4782
  #
4681
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#180
4783
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#179
4682
4784
  class RuboCop::AST::NodePattern::Node::AnyOrder < ::RuboCop::AST::NodePattern::Node
4683
4785
  include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead
4684
4786
 
4685
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#198
4787
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#197
4686
4788
  def arity; end
4687
4789
 
4688
4790
  # @return [Boolean]
4689
4791
  #
4690
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#190
4792
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#189
4691
4793
  def ends_with_rest?; end
4692
4794
 
4693
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#194
4795
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#193
4694
4796
  def rest_node; end
4695
4797
 
4696
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#186
4798
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#185
4697
4799
  def term_nodes; end
4698
4800
  end
4699
4801
 
4700
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#183
4802
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#182
4701
4803
  RuboCop::AST::NodePattern::Node::AnyOrder::ARITIES = T.let(T.unsafe(nil), Hash)
4702
4804
 
4703
4805
  # Node class for `$something`
4704
4806
  #
4705
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#97
4807
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#96
4706
4808
  class RuboCop::AST::NodePattern::Node::Capture < ::RuboCop::AST::NodePattern::Node
4707
- # source://forwardable/1.3.3/forwardable.rb#231
4708
- 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
4709
4811
 
4710
4812
  # @return [Boolean]
4711
4813
  #
4712
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#101
4814
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#100
4713
4815
  def capture?; end
4714
4816
 
4715
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#109
4817
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#108
4716
4818
  def in_sequence_head; end
4717
4819
 
4718
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#105
4820
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#104
4719
4821
  def nb_captures; end
4720
4822
 
4721
- # source://forwardable/1.3.3/forwardable.rb#231
4722
- 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
4723
4825
  end
4724
4826
 
4725
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#86
4827
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#85
4726
4828
  module RuboCop::AST::NodePattern::Node::ForbidInSeqHead
4727
4829
  # @raise [NodePattern::Invalid]
4728
4830
  #
4729
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#87
4831
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#86
4730
4832
  def in_sequence_head; end
4731
4833
  end
4732
4834
 
4733
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#140
4835
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#139
4734
4836
  RuboCop::AST::NodePattern::Node::FunctionCall = RuboCop::AST::NodePattern::Node::Predicate
4735
4837
 
4736
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#82
4838
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#81
4737
4839
  RuboCop::AST::NodePattern::Node::INT_TO_RANGE = T.let(T.unsafe(nil), Hash)
4738
4840
 
4739
4841
  # Registry
4740
4842
  #
4741
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#250
4843
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#249
4742
4844
  RuboCop::AST::NodePattern::Node::MAP = T.let(T.unsafe(nil), Hash)
4743
4845
 
4744
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#12
4846
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#11
4745
4847
  RuboCop::AST::NodePattern::Node::MATCHES_WITHIN_SET = T.let(T.unsafe(nil), Set)
4746
4848
 
4747
4849
  # Node class for `predicate?(:arg, :list)`
4748
4850
  #
4749
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#131
4851
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#130
4750
4852
  class RuboCop::AST::NodePattern::Node::Predicate < ::RuboCop::AST::NodePattern::Node
4751
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#136
4853
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#135
4752
4854
  def arg_list; end
4753
4855
 
4754
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#132
4856
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#131
4755
4857
  def method_name; end
4756
4858
  end
4757
4859
 
4758
4860
  # Node class for `int+`
4759
4861
  #
4760
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#143
4862
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#142
4761
4863
  class RuboCop::AST::NodePattern::Node::Repetition < ::RuboCop::AST::NodePattern::Node
4762
4864
  include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead
4763
4865
 
4764
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#156
4866
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#155
4765
4867
  def arity; end
4766
4868
 
4767
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#146
4869
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#145
4768
4870
  def operator; end
4769
4871
  end
4770
4872
 
4771
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#150
4873
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#149
4772
4874
  RuboCop::AST::NodePattern::Node::Repetition::ARITIES = T.let(T.unsafe(nil), Hash)
4773
4875
 
4774
4876
  # Node class for `...`
4775
4877
  #
4776
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#162
4878
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#161
4777
4879
  class RuboCop::AST::NodePattern::Node::Rest < ::RuboCop::AST::NodePattern::Node
4778
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#170
4880
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#169
4779
4881
  def arity; end
4780
4882
 
4781
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#174
4883
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#173
4782
4884
  def in_sequence_head; end
4783
4885
 
4784
4886
  # @return [Boolean]
4785
4887
  #
4786
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#166
4888
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#165
4787
4889
  def rest?; end
4788
4890
  end
4789
4891
 
4790
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#163
4892
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#162
4791
4893
  RuboCop::AST::NodePattern::Node::Rest::ARITY = T.let(T.unsafe(nil), Range)
4792
4894
 
4793
4895
  # Node class for `(type first second ...)`
4794
4896
  #
4795
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#118
4897
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#117
4796
4898
  class RuboCop::AST::NodePattern::Node::Sequence < ::RuboCop::AST::NodePattern::Node
4797
4899
  include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead
4798
4900
 
4799
4901
  # @return [Sequence] a new instance of Sequence
4800
4902
  #
4801
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#121
4903
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#120
4802
4904
  def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end
4803
4905
  end
4804
4906
 
4805
4907
  # A list (potentially empty) of nodes; part of a Union
4806
4908
  #
4807
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#206
4909
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#205
4808
4910
  class RuboCop::AST::NodePattern::Node::Subsequence < ::RuboCop::AST::NodePattern::Node
4809
4911
  include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead
4810
4912
 
4811
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#209
4913
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#208
4812
4914
  def arity; end
4813
4915
 
4814
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#214
4916
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#213
4815
4917
  def in_sequence_head; end
4816
4918
  end
4817
4919
 
4818
4920
  # Node class for `{ ... }`
4819
4921
  #
4820
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#224
4922
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#223
4821
4923
  class RuboCop::AST::NodePattern::Node::Union < ::RuboCop::AST::NodePattern::Node
4822
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#225
4924
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#224
4823
4925
  def arity; end
4824
4926
 
4825
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#232
4927
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#231
4826
4928
  def in_sequence_head; end
4827
4929
  end
4828
4930
 
@@ -4834,7 +4936,7 @@ end
4834
4936
  #
4835
4937
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#12
4836
4938
  class RuboCop::AST::NodePattern::Parser < ::Racc::Parser
4837
- extend ::Forwardable
4939
+ extend ::RuboCop::SimpleForwardable
4838
4940
 
4839
4941
  # @return [Parser] a new instance of Parser
4840
4942
  #
@@ -4953,29 +5055,29 @@ class RuboCop::AST::NodePattern::Parser < ::Racc::Parser
4953
5055
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#465
4954
5056
  def _reduce_none(val, _values); end
4955
5057
 
4956
- # source://forwardable/1.3.3/forwardable.rb#231
4957
- 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
4958
5060
 
4959
- # source://forwardable/1.3.3/forwardable.rb#231
4960
- 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
4961
5063
 
4962
- # source://forwardable/1.3.3/forwardable.rb#231
4963
- 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
4964
5066
 
4965
- # source://forwardable/1.3.3/forwardable.rb#231
4966
- 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
4967
5069
 
4968
- # source://forwardable/1.3.3/forwardable.rb#231
4969
- 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
4970
5072
 
4971
- # source://forwardable/1.3.3/forwardable.rb#231
4972
- 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
4973
5075
 
4974
5076
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#40
4975
5077
  def inspect; end
4976
5078
 
4977
- # source://forwardable/1.3.3/forwardable.rb#231
4978
- 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
4979
5081
 
4980
5082
  # (Similar API to `parser` gem)
4981
5083
  # Parses a source and returns the AST.
@@ -5161,9 +5263,6 @@ RuboCop::AST::NodePattern::Sets::SET_CLONE_DUP_FREEZE = T.let(T.unsafe(nil), Set
5161
5263
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5162
5264
  RuboCop::AST::NodePattern::Sets::SET_COUNT_LENGTH_SIZE = T.let(T.unsafe(nil), Set)
5163
5265
 
5164
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5165
- RuboCop::AST::NodePattern::Sets::SET_DEFINE_METHOD = T.let(T.unsafe(nil), Set)
5166
-
5167
5266
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5168
5267
  RuboCop::AST::NodePattern::Sets::SET_DEFINE_METHOD_DEFINE_SINGLETON_METHOD = T.let(T.unsafe(nil), Set)
5169
5268
 
@@ -5173,9 +5272,6 @@ RuboCop::AST::NodePattern::Sets::SET_EACH_WITH_INDEX_WITH_INDEX = T.let(T.unsafe
5173
5272
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5174
5273
  RuboCop::AST::NodePattern::Sets::SET_EACH_WITH_OBJECT_WITH_OBJECT = T.let(T.unsafe(nil), Set)
5175
5274
 
5176
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5177
- RuboCop::AST::NodePattern::Sets::SET_ENV = T.let(T.unsafe(nil), Set)
5178
-
5179
5275
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5180
5276
  RuboCop::AST::NodePattern::Sets::SET_ESCAPE_ENCODE_UNESCAPE_DECODE = T.let(T.unsafe(nil), Set)
5181
5277
 
@@ -5239,6 +5335,9 @@ RuboCop::AST::NodePattern::Sets::SET_LOAD_RESTORE = T.let(T.unsafe(nil), Set)
5239
5335
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5240
5336
  RuboCop::AST::NodePattern::Sets::SET_MAP_COLLECT = T.let(T.unsafe(nil), Set)
5241
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
+
5242
5341
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5243
5342
  RuboCop::AST::NodePattern::Sets::SET_MODULE_FUNCTION_RUBY2_KEYWORDS = T.let(T.unsafe(nil), Set)
5244
5343
 
@@ -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
 
@@ -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