activerecord-ejection_seat 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.tool-versions +1 -1
- data/CHANGELOG.md +6 -0
- data/CODE_OF_CONDUCT.md +1 -1
- data/Gemfile +0 -2
- data/Gemfile.lock +44 -55
- data/README.md +19 -8
- data/lib/activerecord-ejection_seat/version.rb +1 -1
- data/sorbet/rbi/gems/{activerecord@7.0.4.1.rbi → activerecord@7.0.4.3.rbi} +128 -128
- data/sorbet/rbi/gems/{activesupport@7.0.4.1.rbi → activesupport@7.0.4.3.rbi} +79 -103
- data/sorbet/rbi/gems/{concurrent-ruby@1.1.10.rbi → concurrent-ruby@1.2.2.rbi} +1180 -1267
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +19 -0
- data/sorbet/rbi/gems/i18n@1.13.0.rbi +2320 -0
- data/sorbet/rbi/gems/{irb@1.6.2.rbi → irb@1.6.4.rbi} +44 -44
- data/sorbet/rbi/gems/json@2.6.3.rbi +65 -73
- data/sorbet/rbi/gems/{minitest@5.17.0.rbi → minitest@5.18.0.rbi} +79 -48
- data/sorbet/rbi/gems/{parallel@1.22.1.rbi → parallel@1.23.0.rbi} +75 -79
- data/sorbet/rbi/gems/{parser@3.2.0.0.rbi → parser@3.2.2.1.rbi} +760 -471
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +11 -6
- data/sorbet/rbi/gems/rake@13.0.6.rbi +141 -0
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +17 -17
- data/sorbet/rbi/gems/{regexp_parser@2.6.1.rbi → regexp_parser@2.8.0.rbi} +962 -340
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +57 -0
- data/sorbet/rbi/gems/{rubocop-ast@1.24.1.rbi → rubocop-ast@1.28.1.rbi} +165 -146
- data/sorbet/rbi/gems/{rubocop-minitest@0.26.1.rbi → rubocop-minitest@0.31.0.rbi} +456 -248
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +24 -50
- data/sorbet/rbi/gems/{rubocop-sorbet@0.6.11.rbi → rubocop-sorbet@0.7.0.rbi} +153 -124
- data/sorbet/rbi/gems/{rubocop@1.43.0.rbi → rubocop@1.51.0.rbi} +3237 -2084
- data/sorbet/rbi/gems/{ruby-progressbar@1.11.0.rbi → ruby-progressbar@1.13.0.rbi} +382 -277
- data/sorbet/rbi/gems/sorbet-struct-comparable@1.3.0.rbi +18 -0
- data/sorbet/rbi/gems/{spoom@1.1.15.rbi → spoom@1.2.1.rbi} +621 -501
- data/sorbet/rbi/gems/{tapioca@0.10.5.rbi → tapioca@0.11.6.rbi} +293 -207
- data/sorbet/rbi/gems/{thor@1.2.1.rbi → thor@1.2.2.rbi} +76 -61
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5917 -0
- data/sorbet/rbi/gems/{yard-sorbet@0.8.0.rbi → yard-sorbet@0.8.1.rbi} +13 -26
- data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.34.rbi} +1531 -345
- metadata +34 -40
- data/activerecord-ejection_seat.gemspec +0 -40
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +0 -8
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.2.rbi +0 -8
- data/sorbet/rbi/gems/prettier_print@1.2.0.rbi +0 -8
- data/sorbet/rbi/gems/ruby-lsp@0.3.8.rbi +0 -14
- data/sorbet/rbi/gems/syntax_tree@5.2.0.rbi +0 -8
- data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +0 -8
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2498
- /data/sorbet/rbi/gems/{activemodel@7.0.4.1.rbi → activemodel@7.0.4.3.rbi} +0 -0
- /data/sorbet/rbi/gems/{reline@0.3.2.rbi → reline@0.3.3.rbi} +0 -0
- /data/sorbet/rbi/gems/{sqlite3@1.6.0.rbi → sqlite3@1.6.2.rbi} +0 -0
@@ -420,18 +420,18 @@ class RuboCop::AST::Builder < ::Parser::Builders::Default
|
|
420
420
|
#
|
421
421
|
# @return [Node] the generated node
|
422
422
|
#
|
423
|
-
# source://rubocop-ast//lib/rubocop/ast/builder.rb#
|
423
|
+
# source://rubocop-ast//lib/rubocop/ast/builder.rb#98
|
424
424
|
def n(type, children, source_map); end
|
425
425
|
|
426
426
|
# TODO: Figure out what to do about literal encoding handling...
|
427
427
|
# More details here https://github.com/whitequark/parser/issues/283
|
428
428
|
#
|
429
|
-
# source://rubocop-ast//lib/rubocop/ast/builder.rb#
|
429
|
+
# source://rubocop-ast//lib/rubocop/ast/builder.rb#104
|
430
430
|
def string_value(token); end
|
431
431
|
|
432
432
|
private
|
433
433
|
|
434
|
-
# source://rubocop-ast//lib/rubocop/ast/builder.rb#
|
434
|
+
# source://rubocop-ast//lib/rubocop/ast/builder.rb#110
|
435
435
|
def node_klass(type); end
|
436
436
|
end
|
437
437
|
|
@@ -679,6 +679,12 @@ module RuboCop::AST::CollectionNode
|
|
679
679
|
# source://forwardable/1.3.3/forwardable.rb#231
|
680
680
|
def compact!(*args, **_arg1, &block); end
|
681
681
|
|
682
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
683
|
+
def compact_blank(*args, **_arg1, &block); end
|
684
|
+
|
685
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
686
|
+
def compact_blank!(*args, **_arg1, &block); end
|
687
|
+
|
682
688
|
# source://forwardable/1.3.3/forwardable.rb#231
|
683
689
|
def concat(*args, **_arg1, &block); end
|
684
690
|
|
@@ -742,6 +748,15 @@ module RuboCop::AST::CollectionNode
|
|
742
748
|
# source://forwardable/1.3.3/forwardable.rb#231
|
743
749
|
def entries(*args, **_arg1, &block); end
|
744
750
|
|
751
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
752
|
+
def exclude?(*args, **_arg1, &block); end
|
753
|
+
|
754
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
755
|
+
def excluding(*args, **_arg1, &block); end
|
756
|
+
|
757
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
758
|
+
def extract_options!(*args, **_arg1, &block); end
|
759
|
+
|
745
760
|
# source://forwardable/1.3.3/forwardable.rb#231
|
746
761
|
def fetch(*args, **_arg1, &block); end
|
747
762
|
|
@@ -787,12 +802,24 @@ module RuboCop::AST::CollectionNode
|
|
787
802
|
# source://forwardable/1.3.3/forwardable.rb#231
|
788
803
|
def group_by(*args, **_arg1, &block); end
|
789
804
|
|
805
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
806
|
+
def in_order_of(*args, **_arg1, &block); end
|
807
|
+
|
790
808
|
# source://forwardable/1.3.3/forwardable.rb#231
|
791
809
|
def include?(*args, **_arg1, &block); end
|
792
810
|
|
811
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
812
|
+
def including(*args, **_arg1, &block); end
|
813
|
+
|
793
814
|
# source://forwardable/1.3.3/forwardable.rb#231
|
794
815
|
def index(*args, **_arg1, &block); end
|
795
816
|
|
817
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
818
|
+
def index_by(*args, **_arg1, &block); end
|
819
|
+
|
820
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
821
|
+
def index_with(*args, **_arg1, &block); end
|
822
|
+
|
796
823
|
# source://forwardable/1.3.3/forwardable.rb#231
|
797
824
|
def inject(*args, **_arg1, &block); end
|
798
825
|
|
@@ -820,6 +847,9 @@ module RuboCop::AST::CollectionNode
|
|
820
847
|
# source://forwardable/1.3.3/forwardable.rb#231
|
821
848
|
def length(*args, **_arg1, &block); end
|
822
849
|
|
850
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
851
|
+
def many?(*args, **_arg1, &block); end
|
852
|
+
|
823
853
|
# source://forwardable/1.3.3/forwardable.rb#231
|
824
854
|
def map(*args, **_arg1, &block); end
|
825
855
|
|
@@ -832,6 +862,9 @@ module RuboCop::AST::CollectionNode
|
|
832
862
|
# source://forwardable/1.3.3/forwardable.rb#231
|
833
863
|
def max_by(*args, **_arg1, &block); end
|
834
864
|
|
865
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
866
|
+
def maximum(*args, **_arg1, &block); end
|
867
|
+
|
835
868
|
# source://forwardable/1.3.3/forwardable.rb#231
|
836
869
|
def member?(*args, **_arg1, &block); end
|
837
870
|
|
@@ -841,6 +874,9 @@ module RuboCop::AST::CollectionNode
|
|
841
874
|
# source://forwardable/1.3.3/forwardable.rb#231
|
842
875
|
def min_by(*args, **_arg1, &block); end
|
843
876
|
|
877
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
878
|
+
def minimum(*args, **_arg1, &block); end
|
879
|
+
|
844
880
|
# source://forwardable/1.3.3/forwardable.rb#231
|
845
881
|
def minmax(*args, **_arg1, &block); end
|
846
882
|
|
@@ -862,9 +898,15 @@ module RuboCop::AST::CollectionNode
|
|
862
898
|
# source://forwardable/1.3.3/forwardable.rb#231
|
863
899
|
def permutation(*args, **_arg1, &block); end
|
864
900
|
|
901
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
902
|
+
def pick(*args, **_arg1, &block); end
|
903
|
+
|
865
904
|
# source://forwardable/1.3.3/forwardable.rb#231
|
866
905
|
def place(*args, **_arg1, &block); end
|
867
906
|
|
907
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
908
|
+
def pluck(*args, **_arg1, &block); end
|
909
|
+
|
868
910
|
# source://forwardable/1.3.3/forwardable.rb#231
|
869
911
|
def pop(*args, **_arg1, &block); end
|
870
912
|
|
@@ -955,6 +997,9 @@ module RuboCop::AST::CollectionNode
|
|
955
997
|
# source://forwardable/1.3.3/forwardable.rb#231
|
956
998
|
def slice_when(*args, **_arg1, &block); end
|
957
999
|
|
1000
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1001
|
+
def sole(*args, **_arg1, &block); end
|
1002
|
+
|
958
1003
|
# source://forwardable/1.3.3/forwardable.rb#231
|
959
1004
|
def sort(*args, **_arg1, &block); end
|
960
1005
|
|
@@ -982,12 +1027,27 @@ module RuboCop::AST::CollectionNode
|
|
982
1027
|
# source://forwardable/1.3.3/forwardable.rb#231
|
983
1028
|
def to_ary(*args, **_arg1, &block); end
|
984
1029
|
|
1030
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1031
|
+
def to_default_s(*args, **_arg1, &block); end
|
1032
|
+
|
1033
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1034
|
+
def to_formatted_s(*args, **_arg1, &block); end
|
1035
|
+
|
1036
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1037
|
+
def to_fs(*args, **_arg1, &block); end
|
1038
|
+
|
985
1039
|
# source://forwardable/1.3.3/forwardable.rb#231
|
986
1040
|
def to_h(*args, **_arg1, &block); end
|
987
1041
|
|
1042
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1043
|
+
def to_sentence(*args, **_arg1, &block); end
|
1044
|
+
|
988
1045
|
# source://forwardable/1.3.3/forwardable.rb#231
|
989
1046
|
def to_set(*args, **_arg1, &block); end
|
990
1047
|
|
1048
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1049
|
+
def to_xml(*args, **_arg1, &block); end
|
1050
|
+
|
991
1051
|
# source://forwardable/1.3.3/forwardable.rb#231
|
992
1052
|
def transpose(*args, **_arg1, &block); end
|
993
1053
|
|
@@ -1006,6 +1066,9 @@ module RuboCop::AST::CollectionNode
|
|
1006
1066
|
# source://forwardable/1.3.3/forwardable.rb#231
|
1007
1067
|
def values_at(*args, **_arg1, &block); end
|
1008
1068
|
|
1069
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1070
|
+
def without(*args, **_arg1, &block); end
|
1071
|
+
|
1009
1072
|
# source://forwardable/1.3.3/forwardable.rb#231
|
1010
1073
|
def zip(*args, **_arg1, &block); end
|
1011
1074
|
|
@@ -1106,9 +1169,9 @@ class RuboCop::AST::ConstNode < ::RuboCop::AST::Node
|
|
1106
1169
|
def short_name; end
|
1107
1170
|
end
|
1108
1171
|
|
1109
|
-
# A node extension for `
|
1172
|
+
# A node extension for `csend` nodes. This will be used in place of a plain
|
1110
1173
|
# node when the builder constructs the AST, making its methods available
|
1111
|
-
# to all `
|
1174
|
+
# to all `csend` nodes within RuboCop.
|
1112
1175
|
#
|
1113
1176
|
# source://rubocop-ast//lib/rubocop/ast/node/csend_node.rb#8
|
1114
1177
|
class RuboCop::AST::CsendNode < ::RuboCop::AST::SendNode
|
@@ -1310,8 +1373,8 @@ module RuboCop::AST::Ext::Range
|
|
1310
1373
|
# :bar
|
1311
1374
|
# ]
|
1312
1375
|
#
|
1313
|
-
# node.loc.begin.line_span
|
1314
|
-
# node.
|
1376
|
+
# node.loc.begin.line_span # => 1..1
|
1377
|
+
# node.source_range.line_span(exclude_end: true) # => 1...4
|
1315
1378
|
#
|
1316
1379
|
# @return [Range] the range of line numbers for the node
|
1317
1380
|
#
|
@@ -1898,9 +1961,9 @@ class RuboCop::AST::IntNode < ::RuboCop::AST::Node
|
|
1898
1961
|
include ::RuboCop::AST::NumericNode
|
1899
1962
|
end
|
1900
1963
|
|
1901
|
-
# A node extension for `kwsplat` nodes. This will be used in
|
1902
|
-
# plain
|
1903
|
-
#
|
1964
|
+
# A node extension for `kwsplat` and `forwarded_kwrestarg` nodes. This will be used in
|
1965
|
+
# place of a plain node when the builder constructs the AST, making its methods available to
|
1966
|
+
# all `kwsplat` and `forwarded_kwrestarg` nodes within RuboCop.
|
1904
1967
|
#
|
1905
1968
|
# source://rubocop-ast//lib/rubocop/ast/node/keyword_splat_node.rb#8
|
1906
1969
|
class RuboCop::AST::KeywordSplatNode < ::RuboCop::AST::Node
|
@@ -1922,6 +1985,13 @@ class RuboCop::AST::KeywordSplatNode < ::RuboCop::AST::Node
|
|
1922
1985
|
# source://rubocop-ast//lib/rubocop/ast/node/keyword_splat_node.rb#18
|
1923
1986
|
def hash_rocket?; end
|
1924
1987
|
|
1988
|
+
# This provides `forwarded_kwrestarg` node to return true to be compatible with `kwsplat` node.
|
1989
|
+
#
|
1990
|
+
# @return [true]
|
1991
|
+
#
|
1992
|
+
# source://rubocop-ast//lib/rubocop/ast/node/keyword_splat_node.rb#48
|
1993
|
+
def kwsplat_type?; end
|
1994
|
+
|
1925
1995
|
# Custom destructuring method. This is used to normalize the branches
|
1926
1996
|
# for `pair` and `kwsplat` nodes, to add duck typing to `hash` elements.
|
1927
1997
|
#
|
@@ -2636,7 +2706,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
2636
2706
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#512
|
2637
2707
|
def class_constructor?(param0 = T.unsafe(nil)); end
|
2638
2708
|
|
2639
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
2709
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#530
|
2640
2710
|
def class_definition?(param0 = T.unsafe(nil)); end
|
2641
2711
|
|
2642
2712
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#111
|
@@ -2942,7 +3012,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
2942
3012
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#111
|
2943
3013
|
def mlhs_type?; end
|
2944
3014
|
|
2945
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
3015
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#537
|
2946
3016
|
def module_definition?(param0 = T.unsafe(nil)); end
|
2947
3017
|
|
2948
3018
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#111
|
@@ -2960,7 +3030,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
2960
3030
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#375
|
2961
3031
|
def mutable_literal?; end
|
2962
3032
|
|
2963
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
3033
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#671
|
2964
3034
|
def new_class_or_module_block?(param0 = T.unsafe(nil)); end
|
2965
3035
|
|
2966
3036
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#111
|
@@ -3080,7 +3150,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
3080
3150
|
#
|
3081
3151
|
# @return [Boolean]
|
3082
3152
|
#
|
3083
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
3153
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#582
|
3084
3154
|
def pure?; end
|
3085
3155
|
|
3086
3156
|
# @return [Boolean]
|
@@ -3218,7 +3288,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
3218
3288
|
|
3219
3289
|
# @deprecated Use `:class_constructor?`
|
3220
3290
|
#
|
3221
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
3291
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#525
|
3222
3292
|
def struct_constructor?(param0 = T.unsafe(nil)); end
|
3223
3293
|
|
3224
3294
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#111
|
@@ -3267,7 +3337,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
3267
3337
|
#
|
3268
3338
|
# @return [Boolean]
|
3269
3339
|
#
|
3270
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
3340
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#551
|
3271
3341
|
def value_used?; end
|
3272
3342
|
|
3273
3343
|
# @return [Boolean]
|
@@ -3302,12 +3372,12 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
3302
3372
|
|
3303
3373
|
# @return [Boolean]
|
3304
3374
|
#
|
3305
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
3375
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#610
|
3306
3376
|
def begin_value_used?; end
|
3307
3377
|
|
3308
3378
|
# @return [Boolean]
|
3309
3379
|
#
|
3310
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
3380
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#621
|
3311
3381
|
def case_if_value_used?; end
|
3312
3382
|
|
3313
3383
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#305
|
@@ -3315,24 +3385,24 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
3315
3385
|
|
3316
3386
|
# @return [Boolean]
|
3317
3387
|
#
|
3318
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
3388
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#615
|
3319
3389
|
def for_value_used?; end
|
3320
3390
|
|
3321
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
3391
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#657
|
3322
3392
|
def parent_module_name_for_block(ancestor); end
|
3323
3393
|
|
3324
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
3394
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#645
|
3325
3395
|
def parent_module_name_for_sclass(sclass_node); end
|
3326
3396
|
|
3327
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
3397
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#632
|
3328
3398
|
def parent_module_name_part(node); end
|
3329
3399
|
|
3330
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
3400
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#600
|
3331
3401
|
def visit_ancestors(types); end
|
3332
3402
|
|
3333
3403
|
# @return [Boolean]
|
3334
3404
|
#
|
3335
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
3405
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#627
|
3336
3406
|
def while_until_value_used?; end
|
3337
3407
|
end
|
3338
3408
|
|
@@ -4632,6 +4702,9 @@ class RuboCop::AST::NodePattern::Node < ::Parser::AST::Node
|
|
4632
4702
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#19
|
4633
4703
|
def rest?; end
|
4634
4704
|
|
4705
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#78
|
4706
|
+
def source_range; end
|
4707
|
+
|
4635
4708
|
# @return [Boolean] returns whether it matches a variable number of elements
|
4636
4709
|
#
|
4637
4710
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#58
|
@@ -4643,67 +4716,67 @@ end
|
|
4643
4716
|
|
4644
4717
|
# Node class for `<int str ...>`
|
4645
4718
|
#
|
4646
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4719
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#180
|
4647
4720
|
class RuboCop::AST::NodePattern::Node::AnyOrder < ::RuboCop::AST::NodePattern::Node
|
4648
4721
|
include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead
|
4649
4722
|
|
4650
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4723
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#198
|
4651
4724
|
def arity; end
|
4652
4725
|
|
4653
4726
|
# @return [Boolean]
|
4654
4727
|
#
|
4655
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4728
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#190
|
4656
4729
|
def ends_with_rest?; end
|
4657
4730
|
|
4658
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4731
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#194
|
4659
4732
|
def rest_node; end
|
4660
4733
|
|
4661
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4734
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#186
|
4662
4735
|
def term_nodes; end
|
4663
4736
|
end
|
4664
4737
|
|
4665
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4738
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#183
|
4666
4739
|
RuboCop::AST::NodePattern::Node::AnyOrder::ARITIES = T.let(T.unsafe(nil), Hash)
|
4667
4740
|
|
4668
4741
|
# Node class for `$something`
|
4669
4742
|
#
|
4670
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4743
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#97
|
4671
4744
|
class RuboCop::AST::NodePattern::Node::Capture < ::RuboCop::AST::NodePattern::Node
|
4672
4745
|
# source://forwardable/1.3.3/forwardable.rb#231
|
4673
4746
|
def arity(*args, **_arg1, &block); end
|
4674
4747
|
|
4675
4748
|
# @return [Boolean]
|
4676
4749
|
#
|
4677
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4750
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#101
|
4678
4751
|
def capture?; end
|
4679
4752
|
|
4680
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4753
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#109
|
4681
4754
|
def in_sequence_head; end
|
4682
4755
|
|
4683
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4756
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#105
|
4684
4757
|
def nb_captures; end
|
4685
4758
|
|
4686
4759
|
# source://forwardable/1.3.3/forwardable.rb#231
|
4687
4760
|
def rest?(*args, **_arg1, &block); end
|
4688
4761
|
end
|
4689
4762
|
|
4690
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4763
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#86
|
4691
4764
|
module RuboCop::AST::NodePattern::Node::ForbidInSeqHead
|
4692
4765
|
# @raise [NodePattern::Invalid]
|
4693
4766
|
#
|
4694
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4767
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#87
|
4695
4768
|
def in_sequence_head; end
|
4696
4769
|
end
|
4697
4770
|
|
4698
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4771
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#140
|
4699
4772
|
RuboCop::AST::NodePattern::Node::FunctionCall = RuboCop::AST::NodePattern::Node::Predicate
|
4700
4773
|
|
4701
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4774
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#82
|
4702
4775
|
RuboCop::AST::NodePattern::Node::INT_TO_RANGE = T.let(T.unsafe(nil), Hash)
|
4703
4776
|
|
4704
4777
|
# Registry
|
4705
4778
|
#
|
4706
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4779
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#250
|
4707
4780
|
RuboCop::AST::NodePattern::Node::MAP = T.let(T.unsafe(nil), Hash)
|
4708
4781
|
|
4709
4782
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#12
|
@@ -4711,83 +4784,83 @@ RuboCop::AST::NodePattern::Node::MATCHES_WITHIN_SET = T.let(T.unsafe(nil), Set)
|
|
4711
4784
|
|
4712
4785
|
# Node class for `predicate?(:arg, :list)`
|
4713
4786
|
#
|
4714
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4787
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#131
|
4715
4788
|
class RuboCop::AST::NodePattern::Node::Predicate < ::RuboCop::AST::NodePattern::Node
|
4716
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4789
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#136
|
4717
4790
|
def arg_list; end
|
4718
4791
|
|
4719
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4792
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#132
|
4720
4793
|
def method_name; end
|
4721
4794
|
end
|
4722
4795
|
|
4723
4796
|
# Node class for `int+`
|
4724
4797
|
#
|
4725
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4798
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#143
|
4726
4799
|
class RuboCop::AST::NodePattern::Node::Repetition < ::RuboCop::AST::NodePattern::Node
|
4727
4800
|
include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead
|
4728
4801
|
|
4729
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4802
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#156
|
4730
4803
|
def arity; end
|
4731
4804
|
|
4732
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4805
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#146
|
4733
4806
|
def operator; end
|
4734
4807
|
end
|
4735
4808
|
|
4736
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4809
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#150
|
4737
4810
|
RuboCop::AST::NodePattern::Node::Repetition::ARITIES = T.let(T.unsafe(nil), Hash)
|
4738
4811
|
|
4739
4812
|
# Node class for `...`
|
4740
4813
|
#
|
4741
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4814
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#162
|
4742
4815
|
class RuboCop::AST::NodePattern::Node::Rest < ::RuboCop::AST::NodePattern::Node
|
4743
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4816
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#170
|
4744
4817
|
def arity; end
|
4745
4818
|
|
4746
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4819
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#174
|
4747
4820
|
def in_sequence_head; end
|
4748
4821
|
|
4749
4822
|
# @return [Boolean]
|
4750
4823
|
#
|
4751
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4824
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#166
|
4752
4825
|
def rest?; end
|
4753
4826
|
end
|
4754
4827
|
|
4755
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4828
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#163
|
4756
4829
|
RuboCop::AST::NodePattern::Node::Rest::ARITY = T.let(T.unsafe(nil), Range)
|
4757
4830
|
|
4758
4831
|
# Node class for `(type first second ...)`
|
4759
4832
|
#
|
4760
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4833
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#118
|
4761
4834
|
class RuboCop::AST::NodePattern::Node::Sequence < ::RuboCop::AST::NodePattern::Node
|
4762
4835
|
include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead
|
4763
4836
|
|
4764
4837
|
# @return [Sequence] a new instance of Sequence
|
4765
4838
|
#
|
4766
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4839
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#121
|
4767
4840
|
def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end
|
4768
4841
|
end
|
4769
4842
|
|
4770
4843
|
# A list (potentially empty) of nodes; part of a Union
|
4771
4844
|
#
|
4772
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4845
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#206
|
4773
4846
|
class RuboCop::AST::NodePattern::Node::Subsequence < ::RuboCop::AST::NodePattern::Node
|
4774
4847
|
include ::RuboCop::AST::NodePattern::Node::ForbidInSeqHead
|
4775
4848
|
|
4776
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4849
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#209
|
4777
4850
|
def arity; end
|
4778
4851
|
|
4779
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4852
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#214
|
4780
4853
|
def in_sequence_head; end
|
4781
4854
|
end
|
4782
4855
|
|
4783
4856
|
# Node class for `{ ... }`
|
4784
4857
|
#
|
4785
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4858
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#224
|
4786
4859
|
class RuboCop::AST::NodePattern::Node::Union < ::RuboCop::AST::NodePattern::Node
|
4787
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4860
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#225
|
4788
4861
|
def arity; end
|
4789
4862
|
|
4790
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4863
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#232
|
4791
4864
|
def in_sequence_head; end
|
4792
4865
|
end
|
4793
4866
|
|
@@ -4987,15 +5060,15 @@ RuboCop::AST::NodePattern::Parser::Racc_token_to_s_table = T.let(T.unsafe(nil),
|
|
4987
5060
|
class RuboCop::AST::NodePattern::Parser::WithMeta < ::RuboCop::AST::NodePattern::Parser
|
4988
5061
|
# Returns the value of attribute comments.
|
4989
5062
|
#
|
4990
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#
|
5063
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#98
|
4991
5064
|
def comments; end
|
4992
5065
|
|
4993
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#
|
5066
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#100
|
4994
5067
|
def do_parse; end
|
4995
5068
|
|
4996
5069
|
# Returns the value of attribute tokens.
|
4997
5070
|
#
|
4998
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#
|
5071
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#98
|
4999
5072
|
def tokens; end
|
5000
5073
|
end
|
5001
5074
|
|
@@ -5026,7 +5099,7 @@ class RuboCop::AST::NodePattern::Parser::WithMeta::Builder < ::RuboCop::AST::Nod
|
|
5026
5099
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#71
|
5027
5100
|
def n(type, children, source_map); end
|
5028
5101
|
|
5029
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#
|
5102
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#85
|
5030
5103
|
def source_map(token_or_range, begin_t: T.unsafe(nil), end_t: T.unsafe(nil), operator_t: T.unsafe(nil), selector_t: T.unsafe(nil)); end
|
5031
5104
|
end
|
5032
5105
|
|
@@ -5087,21 +5160,12 @@ RuboCop::AST::NodePattern::Sets::SET_10_10 = T.let(T.unsafe(nil), Set)
|
|
5087
5160
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5088
5161
|
RuboCop::AST::NodePattern::Sets::SET_1_1 = T.let(T.unsafe(nil), Set)
|
5089
5162
|
|
5090
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5091
|
-
RuboCop::AST::NodePattern::Sets::SET_1_2 = T.let(T.unsafe(nil), Set)
|
5092
|
-
|
5093
5163
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5094
5164
|
RuboCop::AST::NodePattern::Sets::SET_ABSTRACT_OVERRIDE_OVERRIDABLE_ETC = T.let(T.unsafe(nil), Set)
|
5095
5165
|
|
5096
5166
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5097
5167
|
RuboCop::AST::NodePattern::Sets::SET_ADD_DEPENDENCY_ADD_RUNTIME_DEPENDENCY_ADD_DEVELOPMENT_DEPENDENCY = T.let(T.unsafe(nil), Set)
|
5098
5168
|
|
5099
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5100
|
-
RuboCop::AST::NodePattern::Sets::SET_ALL_CONTEXT = T.let(T.unsafe(nil), Set)
|
5101
|
-
|
5102
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5103
|
-
RuboCop::AST::NodePattern::Sets::SET_AND_RETURN_AND_RAISE_AND_THROW_ETC = T.let(T.unsafe(nil), Set)
|
5104
|
-
|
5105
5169
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5106
5170
|
RuboCop::AST::NodePattern::Sets::SET_ANY_ALL_NORETURN_ETC = T.let(T.unsafe(nil), Set)
|
5107
5171
|
|
@@ -5114,24 +5178,9 @@ RuboCop::AST::NodePattern::Sets::SET_ATTR_READER_ATTR_WRITER_ATTR_ACCESSOR = T.l
|
|
5114
5178
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5115
5179
|
RuboCop::AST::NodePattern::Sets::SET_ATTR_READER_ATTR_WRITER_ATTR_ACCESSOR_ATTR = T.let(T.unsafe(nil), Set)
|
5116
5180
|
|
5117
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5118
|
-
RuboCop::AST::NodePattern::Sets::SET_BACKGROUND_SCENARIO_XSCENARIO_ETC = T.let(T.unsafe(nil), Set)
|
5119
|
-
|
5120
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5121
|
-
RuboCop::AST::NodePattern::Sets::SET_BEFORE_AFTER = T.let(T.unsafe(nil), Set)
|
5122
|
-
|
5123
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5124
|
-
RuboCop::AST::NodePattern::Sets::SET_BE_EQ_EQL_EQUAL = T.let(T.unsafe(nil), Set)
|
5125
|
-
|
5126
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5127
|
-
RuboCop::AST::NodePattern::Sets::SET_BE_TRUTHY_BE_FALSEY_BE_FALSY_ETC = T.let(T.unsafe(nil), Set)
|
5128
|
-
|
5129
5181
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5130
5182
|
RuboCop::AST::NodePattern::Sets::SET_BRANCH_REF_TAG = T.let(T.unsafe(nil), Set)
|
5131
5183
|
|
5132
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5133
|
-
RuboCop::AST::NodePattern::Sets::SET_CALL_RUN = T.let(T.unsafe(nil), Set)
|
5134
|
-
|
5135
5184
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5136
5185
|
RuboCop::AST::NodePattern::Sets::SET_CAPTURE2_CAPTURE2E_CAPTURE3_ETC = T.let(T.unsafe(nil), Set)
|
5137
5186
|
|
@@ -5151,10 +5200,10 @@ RuboCop::AST::NodePattern::Sets::SET_CLASS_MODULE = T.let(T.unsafe(nil), Set)
|
|
5151
5200
|
RuboCop::AST::NodePattern::Sets::SET_CLASS_MODULE_STRUCT = T.let(T.unsafe(nil), Set)
|
5152
5201
|
|
5153
5202
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5154
|
-
RuboCop::AST::NodePattern::Sets::
|
5203
|
+
RuboCop::AST::NodePattern::Sets::SET_CLONE_DUP_FREEZE = T.let(T.unsafe(nil), Set)
|
5155
5204
|
|
5156
5205
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5157
|
-
RuboCop::AST::NodePattern::Sets::
|
5206
|
+
RuboCop::AST::NodePattern::Sets::SET_CONSTANTIZE_CONSTANTS_CONST_GET = T.let(T.unsafe(nil), Set)
|
5158
5207
|
|
5159
5208
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5160
5209
|
RuboCop::AST::NodePattern::Sets::SET_COUNT_LENGTH_SIZE = T.let(T.unsafe(nil), Set)
|
@@ -5165,12 +5214,6 @@ RuboCop::AST::NodePattern::Sets::SET_DEFINE_METHOD = T.let(T.unsafe(nil), Set)
|
|
5165
5214
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5166
5215
|
RuboCop::AST::NodePattern::Sets::SET_DEFINE_METHOD_DEFINE_SINGLETON_METHOD = T.let(T.unsafe(nil), Set)
|
5167
5216
|
|
5168
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5169
|
-
RuboCop::AST::NodePattern::Sets::SET_DOUBLE_SPY = T.let(T.unsafe(nil), Set)
|
5170
|
-
|
5171
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5172
|
-
RuboCop::AST::NodePattern::Sets::SET_EACH_EXAMPLE = T.let(T.unsafe(nil), Set)
|
5173
|
-
|
5174
5217
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5175
5218
|
RuboCop::AST::NodePattern::Sets::SET_EACH_WITH_INDEX_WITH_INDEX = T.let(T.unsafe(nil), Set)
|
5176
5219
|
|
@@ -5178,25 +5221,25 @@ RuboCop::AST::NodePattern::Sets::SET_EACH_WITH_INDEX_WITH_INDEX = T.let(T.unsafe
|
|
5178
5221
|
RuboCop::AST::NodePattern::Sets::SET_EACH_WITH_OBJECT_WITH_OBJECT = T.let(T.unsafe(nil), Set)
|
5179
5222
|
|
5180
5223
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5181
|
-
RuboCop::AST::NodePattern::Sets::
|
5224
|
+
RuboCop::AST::NodePattern::Sets::SET_ENV = T.let(T.unsafe(nil), Set)
|
5182
5225
|
|
5183
5226
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5184
5227
|
RuboCop::AST::NodePattern::Sets::SET_ESCAPE_ENCODE_UNESCAPE_DECODE = T.let(T.unsafe(nil), Set)
|
5185
5228
|
|
5186
5229
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5187
|
-
RuboCop::AST::NodePattern::Sets::
|
5230
|
+
RuboCop::AST::NodePattern::Sets::SET_EXIST_EXISTS = T.let(T.unsafe(nil), Set)
|
5188
5231
|
|
5189
5232
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5190
|
-
RuboCop::AST::NodePattern::Sets::
|
5233
|
+
RuboCop::AST::NodePattern::Sets::SET_FILETEST_FILE_DIR_SHELL = T.let(T.unsafe(nil), Set)
|
5191
5234
|
|
5192
5235
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5193
|
-
RuboCop::AST::NodePattern::Sets::
|
5236
|
+
RuboCop::AST::NodePattern::Sets::SET_FILE_DIR = T.let(T.unsafe(nil), Set)
|
5194
5237
|
|
5195
5238
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5196
|
-
RuboCop::AST::NodePattern::Sets::
|
5239
|
+
RuboCop::AST::NodePattern::Sets::SET_FILE_FILETEST = T.let(T.unsafe(nil), Set)
|
5197
5240
|
|
5198
5241
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5199
|
-
RuboCop::AST::NodePattern::Sets::
|
5242
|
+
RuboCop::AST::NodePattern::Sets::SET_FILE_TEMPFILE_STRINGIO = T.let(T.unsafe(nil), Set)
|
5200
5243
|
|
5201
5244
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5202
5245
|
RuboCop::AST::NodePattern::Sets::SET_FIRST_LAST__ETC = T.let(T.unsafe(nil), Set)
|
@@ -5207,6 +5250,9 @@ RuboCop::AST::NodePattern::Sets::SET_FIXNUM_BIGNUM = T.let(T.unsafe(nil), Set)
|
|
5207
5250
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5208
5251
|
RuboCop::AST::NodePattern::Sets::SET_FORMAT_SPRINTF_PRINTF = T.let(T.unsafe(nil), Set)
|
5209
5252
|
|
5253
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5254
|
+
RuboCop::AST::NodePattern::Sets::SET_GETHOSTBYADDR_GETHOSTBYNAME = T.let(T.unsafe(nil), Set)
|
5255
|
+
|
5210
5256
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5211
5257
|
RuboCop::AST::NodePattern::Sets::SET_GSUB_GSUB = T.let(T.unsafe(nil), Set)
|
5212
5258
|
|
@@ -5219,9 +5265,6 @@ RuboCop::AST::NodePattern::Sets::SET_INSTANCE_EVAL_CLASS_EVAL_MODULE_EVAL = T.le
|
|
5219
5265
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5220
5266
|
RuboCop::AST::NodePattern::Sets::SET_INSTANCE_EXEC_CLASS_EXEC_MODULE_EXEC = T.let(T.unsafe(nil), Set)
|
5221
5267
|
|
5222
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5223
|
-
RuboCop::AST::NodePattern::Sets::SET_IS_EXPECTED_SHOULD_SHOULD_NOT = T.let(T.unsafe(nil), Set)
|
5224
|
-
|
5225
5268
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5226
5269
|
RuboCop::AST::NodePattern::Sets::SET_KEYS_VALUES = T.let(T.unsafe(nil), Set)
|
5227
5270
|
|
@@ -5240,6 +5283,9 @@ RuboCop::AST::NodePattern::Sets::SET_LOAD_RESTORE = T.let(T.unsafe(nil), Set)
|
|
5240
5283
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5241
5284
|
RuboCop::AST::NodePattern::Sets::SET_MAP_COLLECT = T.let(T.unsafe(nil), Set)
|
5242
5285
|
|
5286
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5287
|
+
RuboCop::AST::NodePattern::Sets::SET_MODULE_FUNCTION_RUBY2_KEYWORDS = T.let(T.unsafe(nil), Set)
|
5288
|
+
|
5243
5289
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5244
5290
|
RuboCop::AST::NodePattern::Sets::SET_NEW_ = T.let(T.unsafe(nil), Set)
|
5245
5291
|
|
@@ -5249,9 +5295,6 @@ RuboCop::AST::NodePattern::Sets::SET_NEW_OPEN = T.let(T.unsafe(nil), Set)
|
|
5249
5295
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5250
5296
|
RuboCop::AST::NodePattern::Sets::SET_NIL_ = T.let(T.unsafe(nil), Set)
|
5251
5297
|
|
5252
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5253
|
-
RuboCop::AST::NodePattern::Sets::SET_PENDING_SKIP = T.let(T.unsafe(nil), Set)
|
5254
|
-
|
5255
5298
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5256
5299
|
RuboCop::AST::NodePattern::Sets::SET_PIPELINE_PIPELINE_R_PIPELINE_RW_ETC = T.let(T.unsafe(nil), Set)
|
5257
5300
|
|
@@ -5264,9 +5307,6 @@ RuboCop::AST::NodePattern::Sets::SET_PRIVATE_PROTECTED = T.let(T.unsafe(nil), Se
|
|
5264
5307
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5265
5308
|
RuboCop::AST::NodePattern::Sets::SET_PRIVATE_PROTECTED_PUBLIC = T.let(T.unsafe(nil), Set)
|
5266
5309
|
|
5267
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5268
|
-
RuboCop::AST::NodePattern::Sets::SET_PROC_LAMBDA = T.let(T.unsafe(nil), Set)
|
5269
|
-
|
5270
5310
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5271
5311
|
RuboCop::AST::NodePattern::Sets::SET_PROP_CONST = T.let(T.unsafe(nil), Set)
|
5272
5312
|
|
@@ -5276,9 +5316,6 @@ RuboCop::AST::NodePattern::Sets::SET_PUBLIC_CONSTANT_PRIVATE_CONSTANT = T.let(T.
|
|
5276
5316
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5277
5317
|
RuboCop::AST::NodePattern::Sets::SET_PUBLIC_PROTECTED_PRIVATE_MODULE_FUNCTION = T.let(T.unsafe(nil), Set)
|
5278
5318
|
|
5279
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5280
|
-
RuboCop::AST::NodePattern::Sets::SET_RAISE_ERROR_RAISE_EXCEPTION = T.let(T.unsafe(nil), Set)
|
5281
|
-
|
5282
5319
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5283
5320
|
RuboCop::AST::NodePattern::Sets::SET_RAISE_FAIL = T.let(T.unsafe(nil), Set)
|
5284
5321
|
|
@@ -5286,22 +5323,13 @@ RuboCop::AST::NodePattern::Sets::SET_RAISE_FAIL = T.let(T.unsafe(nil), Set)
|
|
5286
5323
|
RuboCop::AST::NodePattern::Sets::SET_RAISE_FAIL_THROW_ETC = T.let(T.unsafe(nil), Set)
|
5287
5324
|
|
5288
5325
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5289
|
-
RuboCop::AST::NodePattern::Sets::
|
5290
|
-
|
5291
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5292
|
-
RuboCop::AST::NodePattern::Sets::SET_RECEIVE_MESSAGE_CHAIN_STUB_CHAIN = T.let(T.unsafe(nil), Set)
|
5293
|
-
|
5294
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5295
|
-
RuboCop::AST::NodePattern::Sets::SET_RECEIVE_RECEIVE_MESSAGES_RECEIVE_MESSAGE_CHAIN_HAVE_RECEIVED = T.let(T.unsafe(nil), Set)
|
5296
|
-
|
5297
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5298
|
-
RuboCop::AST::NodePattern::Sets::SET_RECEIVE_RECEIVE_MESSAGE_CHAIN = T.let(T.unsafe(nil), Set)
|
5326
|
+
RuboCop::AST::NodePattern::Sets::SET_READ_BINREAD = T.let(T.unsafe(nil), Set)
|
5299
5327
|
|
5300
5328
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5301
5329
|
RuboCop::AST::NodePattern::Sets::SET_REDUCE_INJECT = T.let(T.unsafe(nil), Set)
|
5302
5330
|
|
5303
5331
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5304
|
-
RuboCop::AST::NodePattern::Sets::
|
5332
|
+
RuboCop::AST::NodePattern::Sets::SET_REJECT_DELETE_IF_REJECT = T.let(T.unsafe(nil), Set)
|
5305
5333
|
|
5306
5334
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5307
5335
|
RuboCop::AST::NodePattern::Sets::SET_REQUIRE_REQUIRE_RELATIVE = T.let(T.unsafe(nil), Set)
|
@@ -5312,9 +5340,6 @@ RuboCop::AST::NodePattern::Sets::SET_SELECT_SELECT = T.let(T.unsafe(nil), Set)
|
|
5312
5340
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5313
5341
|
RuboCop::AST::NodePattern::Sets::SET_SEND_PUBLIC_SEND___SEND__ = T.let(T.unsafe(nil), Set)
|
5314
5342
|
|
5315
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5316
|
-
RuboCop::AST::NodePattern::Sets::SET_SHOULD_SHOULD_NOT = T.let(T.unsafe(nil), Set)
|
5317
|
-
|
5318
5343
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5319
5344
|
RuboCop::AST::NodePattern::Sets::SET_SORT_BY_SORT = T.let(T.unsafe(nil), Set)
|
5320
5345
|
|
@@ -5333,9 +5358,6 @@ RuboCop::AST::NodePattern::Sets::SET_SUCC_PRED_NEXT = T.let(T.unsafe(nil), Set)
|
|
5333
5358
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5334
5359
|
RuboCop::AST::NodePattern::Sets::SET_TASK_NAMESPACE = T.let(T.unsafe(nil), Set)
|
5335
5360
|
|
5336
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5337
|
-
RuboCop::AST::NodePattern::Sets::SET_TEMPFILE_STRINGIO = T.let(T.unsafe(nil), Set)
|
5338
|
-
|
5339
5361
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5340
5362
|
RuboCop::AST::NodePattern::Sets::SET_TO_ENUM_ENUM_FOR = T.let(T.unsafe(nil), Set)
|
5341
5363
|
|
@@ -5345,9 +5367,6 @@ RuboCop::AST::NodePattern::Sets::SET_TO_H_TO_HASH = T.let(T.unsafe(nil), Set)
|
|
5345
5367
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5346
5368
|
RuboCop::AST::NodePattern::Sets::SET_TO_I_TO_F_TO_C_TO_R = T.let(T.unsafe(nil), Set)
|
5347
5369
|
|
5348
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5349
|
-
RuboCop::AST::NodePattern::Sets::SET_TO_TO_NOT_NOT_TO = T.let(T.unsafe(nil), Set)
|
5350
|
-
|
5351
5370
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5352
5371
|
RuboCop::AST::NodePattern::Sets::SET_TRUE_FALSE = T.let(T.unsafe(nil), Set)
|
5353
5372
|
|
@@ -5393,6 +5412,12 @@ RuboCop::AST::NodePattern::Sets::SET___6 = T.let(T.unsafe(nil), Set)
|
|
5393
5412
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5394
5413
|
RuboCop::AST::NodePattern::Sets::SET___7 = T.let(T.unsafe(nil), Set)
|
5395
5414
|
|
5415
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5416
|
+
RuboCop::AST::NodePattern::Sets::SET___8 = T.let(T.unsafe(nil), Set)
|
5417
|
+
|
5418
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5419
|
+
RuboCop::AST::NodePattern::Sets::SET___9 = T.let(T.unsafe(nil), Set)
|
5420
|
+
|
5396
5421
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5397
5422
|
RuboCop::AST::NodePattern::Sets::SET___EQL_ETC = T.let(T.unsafe(nil), Set)
|
5398
5423
|
|
@@ -5414,6 +5439,9 @@ RuboCop::AST::NodePattern::Sets::SET____ETC_2 = T.let(T.unsafe(nil), Set)
|
|
5414
5439
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5415
5440
|
RuboCop::AST::NodePattern::Sets::SET____ETC_3 = T.let(T.unsafe(nil), Set)
|
5416
5441
|
|
5442
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5443
|
+
RuboCop::AST::NodePattern::Sets::SET____ETC_4 = T.let(T.unsafe(nil), Set)
|
5444
|
+
|
5417
5445
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5418
5446
|
RuboCop::AST::NodePattern::Sets::SET_____2 = T.let(T.unsafe(nil), Set)
|
5419
5447
|
|
@@ -5934,13 +5962,13 @@ class RuboCop::AST::ProcessedSource
|
|
5934
5962
|
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#190
|
5935
5963
|
def comment_index; end
|
5936
5964
|
|
5937
|
-
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#
|
5965
|
+
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#278
|
5938
5966
|
def create_parser(ruby_version); end
|
5939
5967
|
|
5940
|
-
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#
|
5968
|
+
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#294
|
5941
5969
|
def first_token_index(range_or_node); end
|
5942
5970
|
|
5943
|
-
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#
|
5971
|
+
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#299
|
5944
5972
|
def last_token_index(range_or_node); end
|
5945
5973
|
|
5946
5974
|
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#196
|
@@ -5949,7 +5977,7 @@ class RuboCop::AST::ProcessedSource
|
|
5949
5977
|
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#230
|
5950
5978
|
def parser_class(ruby_version); end
|
5951
5979
|
|
5952
|
-
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#
|
5980
|
+
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#304
|
5953
5981
|
def source_range(range_or_node); end
|
5954
5982
|
|
5955
5983
|
# source://rubocop-ast//lib/rubocop/ast/processed_source.rb#213
|
@@ -7023,12 +7051,3 @@ class RuboCop::AST::YieldNode < ::RuboCop::AST::Node
|
|
7023
7051
|
# source://rubocop-ast//lib/rubocop/ast/node/yield_node.rb#16
|
7024
7052
|
def node_parts; end
|
7025
7053
|
end
|
7026
|
-
|
7027
|
-
# source://rubocop/1.43.0/lib/rubocop/ast_aliases.rb#5
|
7028
|
-
RuboCop::NodePattern = RuboCop::AST::NodePattern
|
7029
|
-
|
7030
|
-
# source://rubocop/1.43.0/lib/rubocop/ast_aliases.rb#6
|
7031
|
-
RuboCop::ProcessedSource = RuboCop::AST::ProcessedSource
|
7032
|
-
|
7033
|
-
# source://rubocop/1.43.0/lib/rubocop/ast_aliases.rb#7
|
7034
|
-
RuboCop::Token = RuboCop::AST::Token
|