active_cached_resource 0.0.1.pre → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -1
- data/Rakefile +22 -14
- data/lib/active_cached_resource/version.rb +3 -3
- data/lib/activeresource/examples/performance.rb +1 -1
- data/lib/activeresource/lib/active_resource/collection.rb +14 -1
- data/lib/activeresource/lib/active_resource/railtie.rb +2 -2
- data/lib/activeresource/lib/active_resource.rb +1 -1
- data/lib/activeresource/test/abstract_unit.rb +2 -1
- data/lib/activeresource/test/cases/active_job_serializer_test.rb +1 -1
- data/lib/activeresource/test/cases/collection_test.rb +24 -0
- data/lib/activeresource/test/cases/log_subscriber_test.rb +2 -1
- data/lib/activeresource/test/fixtures/fixtures.rbi +46 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/{actioncable@8.0.0.rbi → actioncable@8.0.1.rbi} +51 -51
- data/sorbet/rbi/gems/{actionpack@8.0.0.rbi → actionpack@8.0.1.rbi} +548 -346
- data/sorbet/rbi/gems/{actionview@8.0.0.rbi → actionview@8.0.1.rbi} +465 -263
- data/sorbet/rbi/gems/activejob@8.0.1.rbi +90 -0
- data/sorbet/rbi/gems/activemodel-serializers-xml@1.0.3.rbi +4 -4
- data/sorbet/rbi/gems/{activemodel@8.0.0.rbi → activemodel@8.0.1.rbi} +11 -3
- data/sorbet/rbi/gems/{activerecord@8.0.0.rbi → activerecord@8.0.1.rbi} +957 -576
- data/sorbet/rbi/gems/{activesupport@8.0.0.rbi → activesupport@8.0.1.rbi} +287 -112
- data/sorbet/rbi/gems/{json@2.8.2.rbi → json@2.9.0.rbi} +107 -64
- data/sorbet/rbi/gems/{logger@1.6.1.rbi → logger@1.6.3.rbi} +31 -11
- data/sorbet/rbi/gems/mocha@2.7.1.rbi +12 -0
- data/sorbet/rbi/gems/msgpack@1.7.5.rbi +320 -0
- data/sorbet/rbi/gems/{nokogiri@1.16.7.rbi → nokogiri@1.17.2.rbi} +1692 -802
- data/sorbet/rbi/gems/{psych@5.2.0.rbi → psych@5.2.1.rbi} +47 -47
- data/sorbet/rbi/gems/rack@3.1.8.rbi +1 -1
- data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +22 -22
- data/sorbet/rbi/gems/{rails-html-sanitizer@1.6.0.rbi → rails-html-sanitizer@1.6.2.rbi} +100 -100
- data/sorbet/rbi/gems/{railties@8.0.0.rbi → railties@8.0.1.rbi} +186 -126
- data/sorbet/rbi/gems/rake@13.2.1.rbi +0 -63
- data/sorbet/rbi/gems/{rdoc@6.8.1.rbi → rdoc@6.9.1.rbi} +160 -139
- data/sorbet/rbi/gems/{regexp_parser@2.9.2.rbi → regexp_parser@2.9.3.rbi} +35 -35
- data/sorbet/rbi/gems/{reline@0.5.12.rbi → reline@0.6.0.rbi} +473 -435
- data/sorbet/rbi/gems/{rexml@3.3.9.rbi → rexml@3.4.0.rbi} +87 -74
- data/sorbet/rbi/gems/rspec-core@3.13.2.rbi +3 -6
- data/sorbet/rbi/gems/{rubocop-ast@1.36.1.rbi → rubocop-ast@1.37.0.rbi} +514 -104
- data/sorbet/rbi/gems/rubocop-md@1.2.4.rbi +123 -0
- data/sorbet/rbi/gems/rubocop-minitest@0.36.0.rbi +2613 -0
- data/sorbet/rbi/gems/rubocop-packaging@0.5.2.rbi +388 -0
- data/sorbet/rbi/gems/rubocop-rails@2.27.0.rbi +9535 -0
- data/sorbet/rbi/gems/{rubocop@1.65.1.rbi → rubocop@1.69.2.rbi} +4058 -2628
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
- data/sorbet/rbi/gems/securerandom@0.4.1.rbi +78 -0
- data/sorbet/rbi/gems/sqlite3@2.3.1.rbi +1824 -0
- data/sorbet/rbi/gems/{standard@1.40.0.rbi → standard@1.43.0.rbi} +61 -64
- data/sorbet/rbi/gems/unicode-display_width@3.1.2.rbi +130 -0
- data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
- data/sorbet/tapioca/require.rb +2 -1
- metadata +49 -139
- data/sorbet/rbi/gems/activejob@8.0.0.rbi +0 -9
- data/sorbet/rbi/gems/activeresource@6.1.4.rbi +0 -3944
- data/sorbet/rbi/gems/securerandom@0.3.2.rbi +0 -395
- data/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi +0 -66
- /data/sorbet/rbi/gems/{actionmailbox@8.0.0.rbi → actionmailbox@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{actionmailer@8.0.0.rbi → actionmailer@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{actiontext@8.0.0.rbi → actiontext@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{activestorage@8.0.0.rbi → activestorage@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{date@3.4.0.rbi → date@3.4.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{io-console@0.7.2.rbi → io-console@0.8.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{minitest@5.25.2.rbi → minitest@5.25.4.rbi} +0 -0
- /data/sorbet/rbi/gems/{net-imap@0.5.1.rbi → net-imap@0.5.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{rails@8.0.0.rbi → rails@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{rspec-support@3.13.1.rbi → rspec-support@3.13.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{rubocop-performance@1.21.1.rbi → rubocop-performance@1.23.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{standard-performance@1.4.0.rbi → standard-performance@1.6.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{useragent@0.16.10.rbi → useragent@0.16.11.rbi} +0 -0
|
@@ -717,12 +717,6 @@ module RuboCop::AST::CollectionNode
|
|
|
717
717
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
718
718
|
def compact!(*_arg0, **_arg1, &_arg2); end
|
|
719
719
|
|
|
720
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
721
|
-
def compact_blank(*_arg0, **_arg1, &_arg2); end
|
|
722
|
-
|
|
723
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
724
|
-
def compact_blank!(*_arg0, **_arg1, &_arg2); end
|
|
725
|
-
|
|
726
720
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
727
721
|
def concat(*_arg0, **_arg1, &_arg2); end
|
|
728
722
|
|
|
@@ -786,18 +780,6 @@ module RuboCop::AST::CollectionNode
|
|
|
786
780
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
787
781
|
def entries(*_arg0, **_arg1, &_arg2); end
|
|
788
782
|
|
|
789
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
790
|
-
def exclude?(*_arg0, **_arg1, &_arg2); end
|
|
791
|
-
|
|
792
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
793
|
-
def excluding(*_arg0, **_arg1, &_arg2); end
|
|
794
|
-
|
|
795
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
796
|
-
def extract!(*_arg0, **_arg1, &_arg2); end
|
|
797
|
-
|
|
798
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
799
|
-
def extract_options!(*_arg0, **_arg1, &_arg2); end
|
|
800
|
-
|
|
801
783
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
802
784
|
def fetch(*_arg0, **_arg1, &_arg2); end
|
|
803
785
|
|
|
@@ -843,24 +825,12 @@ module RuboCop::AST::CollectionNode
|
|
|
843
825
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
844
826
|
def group_by(*_arg0, **_arg1, &_arg2); end
|
|
845
827
|
|
|
846
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
847
|
-
def in_order_of(*_arg0, **_arg1, &_arg2); end
|
|
848
|
-
|
|
849
828
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
850
829
|
def include?(*_arg0, **_arg1, &_arg2); end
|
|
851
830
|
|
|
852
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
853
|
-
def including(*_arg0, **_arg1, &_arg2); end
|
|
854
|
-
|
|
855
831
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
856
832
|
def index(*_arg0, **_arg1, &_arg2); end
|
|
857
833
|
|
|
858
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
859
|
-
def index_by(*_arg0, **_arg1, &_arg2); end
|
|
860
|
-
|
|
861
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
862
|
-
def index_with(*_arg0, **_arg1, &_arg2); end
|
|
863
|
-
|
|
864
834
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
865
835
|
def inject(*_arg0, **_arg1, &_arg2); end
|
|
866
836
|
|
|
@@ -888,9 +858,6 @@ module RuboCop::AST::CollectionNode
|
|
|
888
858
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
889
859
|
def length(*_arg0, **_arg1, &_arg2); end
|
|
890
860
|
|
|
891
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
892
|
-
def many?(*_arg0, **_arg1, &_arg2); end
|
|
893
|
-
|
|
894
861
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
895
862
|
def map(*_arg0, **_arg1, &_arg2); end
|
|
896
863
|
|
|
@@ -903,9 +870,6 @@ module RuboCop::AST::CollectionNode
|
|
|
903
870
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
904
871
|
def max_by(*_arg0, **_arg1, &_arg2); end
|
|
905
872
|
|
|
906
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
907
|
-
def maximum(*_arg0, **_arg1, &_arg2); end
|
|
908
|
-
|
|
909
873
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
910
874
|
def member?(*_arg0, **_arg1, &_arg2); end
|
|
911
875
|
|
|
@@ -915,9 +879,6 @@ module RuboCop::AST::CollectionNode
|
|
|
915
879
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
916
880
|
def min_by(*_arg0, **_arg1, &_arg2); end
|
|
917
881
|
|
|
918
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
919
|
-
def minimum(*_arg0, **_arg1, &_arg2); end
|
|
920
|
-
|
|
921
882
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
922
883
|
def minmax(*_arg0, **_arg1, &_arg2); end
|
|
923
884
|
|
|
@@ -939,15 +900,9 @@ module RuboCop::AST::CollectionNode
|
|
|
939
900
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
940
901
|
def permutation(*_arg0, **_arg1, &_arg2); end
|
|
941
902
|
|
|
942
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
943
|
-
def pick(*_arg0, **_arg1, &_arg2); end
|
|
944
|
-
|
|
945
903
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
946
904
|
def place(*_arg0, **_arg1, &_arg2); end
|
|
947
905
|
|
|
948
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
949
|
-
def pluck(*_arg0, **_arg1, &_arg2); end
|
|
950
|
-
|
|
951
906
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
952
907
|
def pop(*_arg0, **_arg1, &_arg2); end
|
|
953
908
|
|
|
@@ -1038,9 +993,6 @@ module RuboCop::AST::CollectionNode
|
|
|
1038
993
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
1039
994
|
def slice_when(*_arg0, **_arg1, &_arg2); end
|
|
1040
995
|
|
|
1041
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
1042
|
-
def sole(*_arg0, **_arg1, &_arg2); end
|
|
1043
|
-
|
|
1044
996
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
1045
997
|
def sort(*_arg0, **_arg1, &_arg2); end
|
|
1046
998
|
|
|
@@ -1068,24 +1020,12 @@ module RuboCop::AST::CollectionNode
|
|
|
1068
1020
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
1069
1021
|
def to_ary(*_arg0, **_arg1, &_arg2); end
|
|
1070
1022
|
|
|
1071
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
1072
|
-
def to_formatted_s(*_arg0, **_arg1, &_arg2); end
|
|
1073
|
-
|
|
1074
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
1075
|
-
def to_fs(*_arg0, **_arg1, &_arg2); end
|
|
1076
|
-
|
|
1077
1023
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
1078
1024
|
def to_h(*_arg0, **_arg1, &_arg2); end
|
|
1079
1025
|
|
|
1080
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
1081
|
-
def to_sentence(*_arg0, **_arg1, &_arg2); end
|
|
1082
|
-
|
|
1083
1026
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
1084
1027
|
def to_set(*_arg0, **_arg1, &_arg2); end
|
|
1085
1028
|
|
|
1086
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
1087
|
-
def to_xml(*_arg0, **_arg1, &_arg2); end
|
|
1088
|
-
|
|
1089
1029
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
1090
1030
|
def transpose(*_arg0, **_arg1, &_arg2); end
|
|
1091
1031
|
|
|
@@ -1104,9 +1044,6 @@ module RuboCop::AST::CollectionNode
|
|
|
1104
1044
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
1105
1045
|
def values_at(*_arg0, **_arg1, &_arg2); end
|
|
1106
1046
|
|
|
1107
|
-
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
1108
|
-
def without(*_arg0, **_arg1, &_arg2); end
|
|
1109
|
-
|
|
1110
1047
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
1111
1048
|
def zip(*_arg0, **_arg1, &_arg2); end
|
|
1112
1049
|
|
|
@@ -1756,12 +1693,12 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node
|
|
|
1756
1693
|
#
|
|
1757
1694
|
# @return [Array<Node>] an array of branch nodes
|
|
1758
1695
|
#
|
|
1759
|
-
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#
|
|
1696
|
+
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#154
|
|
1760
1697
|
def branches; end
|
|
1761
1698
|
|
|
1762
1699
|
# @deprecated Use `branches.each`
|
|
1763
1700
|
#
|
|
1764
|
-
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#
|
|
1701
|
+
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#171
|
|
1765
1702
|
def each_branch(&block); end
|
|
1766
1703
|
|
|
1767
1704
|
# Checks whether the `if` node has an `else` clause.
|
|
@@ -1770,7 +1707,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node
|
|
|
1770
1707
|
# This is legacy behavior, and many cops rely on it.
|
|
1771
1708
|
# @return [Boolean] whether the node has an `else` clause
|
|
1772
1709
|
#
|
|
1773
|
-
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#
|
|
1710
|
+
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#49
|
|
1774
1711
|
def else?; end
|
|
1775
1712
|
|
|
1776
1713
|
# Returns the branch of the `if` node that gets evaluated when its
|
|
@@ -1780,7 +1717,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node
|
|
|
1780
1717
|
# @return [Node] the falsey branch node of the `if` node
|
|
1781
1718
|
# @return [nil] when there is no else branch
|
|
1782
1719
|
#
|
|
1783
|
-
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#
|
|
1720
|
+
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#133
|
|
1784
1721
|
def else_branch; end
|
|
1785
1722
|
|
|
1786
1723
|
# Checks whether the `if` is an `elsif`. Parser handles these by nesting
|
|
@@ -1788,7 +1725,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node
|
|
|
1788
1725
|
#
|
|
1789
1726
|
# @return [Boolean] whether the node is an `elsif`
|
|
1790
1727
|
#
|
|
1791
|
-
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#
|
|
1728
|
+
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#39
|
|
1792
1729
|
def elsif?; end
|
|
1793
1730
|
|
|
1794
1731
|
# Checks whether the `if` node has at least one `elsif` branch. Returns
|
|
@@ -1796,7 +1733,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node
|
|
|
1796
1733
|
#
|
|
1797
1734
|
# @return [Boolean] whether the `if` node has at least one `elsif` branch
|
|
1798
1735
|
#
|
|
1799
|
-
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#
|
|
1736
|
+
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#111
|
|
1800
1737
|
def elsif_conditional?; end
|
|
1801
1738
|
|
|
1802
1739
|
# Checks whether this node is an `if` statement. (This is not true of
|
|
@@ -1814,7 +1751,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node
|
|
|
1814
1751
|
# @return [Node] the truthy branch node of the `if` node
|
|
1815
1752
|
# @return [nil] if the truthy branch is empty
|
|
1816
1753
|
#
|
|
1817
|
-
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#
|
|
1754
|
+
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#122
|
|
1818
1755
|
def if_branch; end
|
|
1819
1756
|
|
|
1820
1757
|
# Returns the inverse keyword of the `if` node as a string. Returns `if`
|
|
@@ -1823,7 +1760,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node
|
|
|
1823
1760
|
#
|
|
1824
1761
|
# @return [String] the inverse keyword of the `if` statement
|
|
1825
1762
|
#
|
|
1826
|
-
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#
|
|
1763
|
+
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#73
|
|
1827
1764
|
def inverse_keyword; end
|
|
1828
1765
|
|
|
1829
1766
|
# Returns the keyword of the `if` statement as a string. Returns an empty
|
|
@@ -1831,7 +1768,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node
|
|
|
1831
1768
|
#
|
|
1832
1769
|
# @return [String] the keyword of the `if` statement
|
|
1833
1770
|
#
|
|
1834
|
-
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#
|
|
1771
|
+
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#64
|
|
1835
1772
|
def keyword; end
|
|
1836
1773
|
|
|
1837
1774
|
# Checks whether the `if` node is in a modifier form, i.e. a condition
|
|
@@ -1840,7 +1777,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node
|
|
|
1840
1777
|
#
|
|
1841
1778
|
# @return [Boolean] whether the `if` node is a modifier
|
|
1842
1779
|
#
|
|
1843
|
-
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#
|
|
1780
|
+
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#87
|
|
1844
1781
|
def modifier_form?; end
|
|
1845
1782
|
|
|
1846
1783
|
# Checks whether the `if` node has nested `if` nodes in any of its
|
|
@@ -1849,7 +1786,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node
|
|
|
1849
1786
|
# @note This performs a shallow search.
|
|
1850
1787
|
# @return [Boolean] whether the `if` node contains nested conditionals
|
|
1851
1788
|
#
|
|
1852
|
-
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#
|
|
1789
|
+
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#97
|
|
1853
1790
|
def nested_conditional?; end
|
|
1854
1791
|
|
|
1855
1792
|
# Custom destructuring method. This is used to normalize the branches
|
|
@@ -1857,16 +1794,23 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node
|
|
|
1857
1794
|
#
|
|
1858
1795
|
# @return [Array<Node>] the different parts of the `if` statement
|
|
1859
1796
|
#
|
|
1860
|
-
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#
|
|
1797
|
+
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#141
|
|
1861
1798
|
def node_parts; end
|
|
1862
1799
|
|
|
1863
1800
|
# Checks whether the `if` node is a ternary operator.
|
|
1864
1801
|
#
|
|
1865
1802
|
# @return [Boolean] whether the `if` node is a ternary operator
|
|
1866
1803
|
#
|
|
1867
|
-
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#
|
|
1804
|
+
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#56
|
|
1868
1805
|
def ternary?; end
|
|
1869
1806
|
|
|
1807
|
+
# Checks whether the `if` node has an `then` clause.
|
|
1808
|
+
#
|
|
1809
|
+
# @return [Boolean] whether the node has an `then` clause
|
|
1810
|
+
#
|
|
1811
|
+
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#31
|
|
1812
|
+
def then?; end
|
|
1813
|
+
|
|
1870
1814
|
# Checks whether this node is an `unless` statement. (This is not true
|
|
1871
1815
|
# of ternary operators and `if` statements.)
|
|
1872
1816
|
#
|
|
@@ -2681,11 +2625,12 @@ RuboCop::AST::MethodIdentifierPredicates::OPERATOR_METHODS = T.let(T.unsafe(nil)
|
|
|
2681
2625
|
class RuboCop::AST::MlhsNode < ::RuboCop::AST::Node
|
|
2682
2626
|
# Returns all the assignment nodes on the left hand side (LHS) of a multiple assignment.
|
|
2683
2627
|
# These are generally assignment nodes (`lvasgn`, `ivasgn`, `cvasgn`, `gvasgn`, `casgn`)
|
|
2684
|
-
# but can also be `send` nodes in case of `foo.bar, ... =` or `foo[:bar], ...
|
|
2628
|
+
# but can also be `send` nodes in case of `foo.bar, ... =` or `foo[:bar], ... =`,
|
|
2629
|
+
# or a `splat` node for `*, ... =`.
|
|
2685
2630
|
#
|
|
2686
2631
|
# @return [Array<Node>] the assignment nodes of the multiple assignment LHS
|
|
2687
2632
|
#
|
|
2688
|
-
# source://rubocop-ast//lib/rubocop/ast/node/mlhs_node.rb#
|
|
2633
|
+
# source://rubocop-ast//lib/rubocop/ast/node/mlhs_node.rb#15
|
|
2689
2634
|
def assignments; end
|
|
2690
2635
|
end
|
|
2691
2636
|
|
|
@@ -2884,10 +2829,10 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
|
2884
2829
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#507
|
|
2885
2830
|
def chained?; end
|
|
2886
2831
|
|
|
2887
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
2832
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#570
|
|
2888
2833
|
def class_constructor?(param0 = T.unsafe(nil)); end
|
|
2889
2834
|
|
|
2890
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
2835
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#588
|
|
2891
2836
|
def class_definition?(param0 = T.unsafe(nil)); end
|
|
2892
2837
|
|
|
2893
2838
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#170
|
|
@@ -3018,7 +2963,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
|
3018
2963
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#170
|
|
3019
2964
|
def forwarded_restarg_type?; end
|
|
3020
2965
|
|
|
3021
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
2966
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#567
|
|
3022
2967
|
def global_const?(param0 = T.unsafe(nil), param1); end
|
|
3023
2968
|
|
|
3024
2969
|
# @return [Boolean]
|
|
@@ -3105,10 +3050,10 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
|
3105
3050
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#170
|
|
3106
3051
|
def kwsplat_type?; end
|
|
3107
3052
|
|
|
3108
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
3053
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#561
|
|
3109
3054
|
def lambda?(param0 = T.unsafe(nil)); end
|
|
3110
3055
|
|
|
3111
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
3056
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#564
|
|
3112
3057
|
def lambda_or_proc?(param0 = T.unsafe(nil)); end
|
|
3113
3058
|
|
|
3114
3059
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#170
|
|
@@ -3141,6 +3086,14 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
|
3141
3086
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#417
|
|
3142
3087
|
def literal?; end
|
|
3143
3088
|
|
|
3089
|
+
# Shortcut to safely test a particular location, even if
|
|
3090
|
+
# this location does not exist or is `nil`
|
|
3091
|
+
#
|
|
3092
|
+
# @return [Boolean]
|
|
3093
|
+
#
|
|
3094
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#539
|
|
3095
|
+
def loc_is?(which_loc, str); end
|
|
3096
|
+
|
|
3144
3097
|
# NOTE: `loop { }` is a normal method call and thus not a loop keyword.
|
|
3145
3098
|
#
|
|
3146
3099
|
# @return [Boolean]
|
|
@@ -3166,7 +3119,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
|
3166
3119
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#170
|
|
3167
3120
|
def match_current_line_type?; end
|
|
3168
3121
|
|
|
3169
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
3122
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#549
|
|
3170
3123
|
def match_guard_clause?(param0 = T.unsafe(nil)); end
|
|
3171
3124
|
|
|
3172
3125
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#170
|
|
@@ -3193,7 +3146,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
|
3193
3146
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#170
|
|
3194
3147
|
def mlhs_type?; end
|
|
3195
3148
|
|
|
3196
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
3149
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#595
|
|
3197
3150
|
def module_definition?(param0 = T.unsafe(nil)); end
|
|
3198
3151
|
|
|
3199
3152
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#170
|
|
@@ -3211,7 +3164,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
|
3211
3164
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#433
|
|
3212
3165
|
def mutable_literal?; end
|
|
3213
3166
|
|
|
3214
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
3167
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#727
|
|
3215
3168
|
def new_class_or_module_block?(param0 = T.unsafe(nil)); end
|
|
3216
3169
|
|
|
3217
3170
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#170
|
|
@@ -3315,7 +3268,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
|
3315
3268
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#170
|
|
3316
3269
|
def preexe_type?; end
|
|
3317
3270
|
|
|
3318
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
3271
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#554
|
|
3319
3272
|
def proc?(param0 = T.unsafe(nil)); end
|
|
3320
3273
|
|
|
3321
3274
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#170
|
|
@@ -3331,7 +3284,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
|
3331
3284
|
#
|
|
3332
3285
|
# @return [Boolean]
|
|
3333
3286
|
#
|
|
3334
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
3287
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#638
|
|
3335
3288
|
def pure?; end
|
|
3336
3289
|
|
|
3337
3290
|
# @return [Boolean]
|
|
@@ -3473,7 +3426,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
|
3473
3426
|
|
|
3474
3427
|
# @deprecated Use `:class_constructor?`
|
|
3475
3428
|
#
|
|
3476
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
3429
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#583
|
|
3477
3430
|
def struct_constructor?(param0 = T.unsafe(nil)); end
|
|
3478
3431
|
|
|
3479
3432
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#170
|
|
@@ -3530,7 +3483,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
|
3530
3483
|
#
|
|
3531
3484
|
# @return [Boolean]
|
|
3532
3485
|
#
|
|
3533
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
3486
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#608
|
|
3534
3487
|
def value_used?; end
|
|
3535
3488
|
|
|
3536
3489
|
# @return [Boolean]
|
|
@@ -3565,12 +3518,12 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
|
3565
3518
|
|
|
3566
3519
|
# @return [Boolean]
|
|
3567
3520
|
#
|
|
3568
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
3521
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#666
|
|
3569
3522
|
def begin_value_used?; end
|
|
3570
3523
|
|
|
3571
3524
|
# @return [Boolean]
|
|
3572
3525
|
#
|
|
3573
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
3526
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#677
|
|
3574
3527
|
def case_if_value_used?; end
|
|
3575
3528
|
|
|
3576
3529
|
# source://rubocop-ast//lib/rubocop/ast/node.rb#363
|
|
@@ -3578,24 +3531,24 @@ class RuboCop::AST::Node < ::Parser::AST::Node
|
|
|
3578
3531
|
|
|
3579
3532
|
# @return [Boolean]
|
|
3580
3533
|
#
|
|
3581
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
3534
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#671
|
|
3582
3535
|
def for_value_used?; end
|
|
3583
3536
|
|
|
3584
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
3537
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#713
|
|
3585
3538
|
def parent_module_name_for_block(ancestor); end
|
|
3586
3539
|
|
|
3587
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
3540
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#701
|
|
3588
3541
|
def parent_module_name_for_sclass(sclass_node); end
|
|
3589
3542
|
|
|
3590
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
3543
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#688
|
|
3591
3544
|
def parent_module_name_part(node); end
|
|
3592
3545
|
|
|
3593
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
3546
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#656
|
|
3594
3547
|
def visit_ancestors(types); end
|
|
3595
3548
|
|
|
3596
3549
|
# @return [Boolean]
|
|
3597
3550
|
#
|
|
3598
|
-
# source://rubocop-ast//lib/rubocop/ast/node.rb#
|
|
3551
|
+
# source://rubocop-ast//lib/rubocop/ast/node.rb#683
|
|
3599
3552
|
def while_until_value_used?; end
|
|
3600
3553
|
|
|
3601
3554
|
class << self
|
|
@@ -5373,20 +5326,35 @@ RuboCop::AST::NodePattern::Sets::SET_1_1 = T.let(T.unsafe(nil), Set)
|
|
|
5373
5326
|
RuboCop::AST::NodePattern::Sets::SET_ADD_DEPENDENCY_ADD_RUNTIME_DEPENDENCY_ADD_DEVELOPMENT_DEPENDENCY = T.let(T.unsafe(nil), Set)
|
|
5374
5327
|
|
|
5375
5328
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5376
|
-
RuboCop::AST::NodePattern::Sets::
|
|
5329
|
+
RuboCop::AST::NodePattern::Sets::SET_AFTER_ACTION_APPEND_AFTER_ACTION_APPEND_AROUND_ACTION_ETC = T.let(T.unsafe(nil), Set)
|
|
5330
|
+
|
|
5331
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5332
|
+
RuboCop::AST::NodePattern::Sets::SET_ANY_EMPTY_NONE = T.let(T.unsafe(nil), Set)
|
|
5377
5333
|
|
|
5378
5334
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5379
5335
|
RuboCop::AST::NodePattern::Sets::SET_ANY_EMPTY_NONE_ETC = T.let(T.unsafe(nil), Set)
|
|
5380
5336
|
|
|
5337
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5338
|
+
RuboCop::AST::NodePattern::Sets::SET_AP_P_PP_ETC = T.let(T.unsafe(nil), Set)
|
|
5339
|
+
|
|
5381
5340
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5382
5341
|
RuboCop::AST::NodePattern::Sets::SET_ATTR_READER_ATTR_WRITER_ATTR_ACCESSOR_ATTR = T.let(T.unsafe(nil), Set)
|
|
5383
5342
|
|
|
5343
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5344
|
+
RuboCop::AST::NodePattern::Sets::SET_BELONGS_TO_HAS_ONE_HAS_MANY_HAS_AND_BELONGS_TO_MANY = T.let(T.unsafe(nil), Set)
|
|
5345
|
+
|
|
5346
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5347
|
+
RuboCop::AST::NodePattern::Sets::SET_BINWRITE_SYSWRITE_WRITE_WRITE_NONBLOCK = T.let(T.unsafe(nil), Set)
|
|
5348
|
+
|
|
5384
5349
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5385
5350
|
RuboCop::AST::NodePattern::Sets::SET_BRANCH_REF_TAG = T.let(T.unsafe(nil), Set)
|
|
5386
5351
|
|
|
5387
5352
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5388
5353
|
RuboCop::AST::NodePattern::Sets::SET_CAPTURE2_CAPTURE2E_CAPTURE3_ETC = T.let(T.unsafe(nil), Set)
|
|
5389
5354
|
|
|
5355
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5356
|
+
RuboCop::AST::NodePattern::Sets::SET_CHANGE_COLUMN_EXECUTE = T.let(T.unsafe(nil), Set)
|
|
5357
|
+
|
|
5390
5358
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5391
5359
|
RuboCop::AST::NodePattern::Sets::SET_CIPHER_DIGEST = T.let(T.unsafe(nil), Set)
|
|
5392
5360
|
|
|
@@ -5408,6 +5376,12 @@ RuboCop::AST::NodePattern::Sets::SET_CLONE_DUP_FREEZE = T.let(T.unsafe(nil), Set
|
|
|
5408
5376
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5409
5377
|
RuboCop::AST::NodePattern::Sets::SET_COUNT_LENGTH_SIZE = T.let(T.unsafe(nil), Set)
|
|
5410
5378
|
|
|
5379
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5380
|
+
RuboCop::AST::NodePattern::Sets::SET_CREATED_AT_UPDATED_AT = T.let(T.unsafe(nil), Set)
|
|
5381
|
+
|
|
5382
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5383
|
+
RuboCop::AST::NodePattern::Sets::SET_CREATED_AT_UPDATED_AT_2 = T.let(T.unsafe(nil), Set)
|
|
5384
|
+
|
|
5411
5385
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5412
5386
|
RuboCop::AST::NodePattern::Sets::SET_DEFINE_METHOD_DEFINE_SINGLETON_METHOD = T.let(T.unsafe(nil), Set)
|
|
5413
5387
|
|
|
@@ -5450,21 +5424,48 @@ RuboCop::AST::NodePattern::Sets::SET_FORMAT_SPRINTF_PRINTF = T.let(T.unsafe(nil)
|
|
|
5450
5424
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5451
5425
|
RuboCop::AST::NodePattern::Sets::SET_GETHOSTBYADDR_GETHOSTBYNAME = T.let(T.unsafe(nil), Set)
|
|
5452
5426
|
|
|
5427
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5428
|
+
RuboCop::AST::NodePattern::Sets::SET_GET_POST_PUT_ETC = T.let(T.unsafe(nil), Set)
|
|
5429
|
+
|
|
5453
5430
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5454
5431
|
RuboCop::AST::NodePattern::Sets::SET_GSUB_GSUB = T.let(T.unsafe(nil), Set)
|
|
5455
5432
|
|
|
5433
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5434
|
+
RuboCop::AST::NodePattern::Sets::SET_HAS_MANY_HAS_ONE = T.let(T.unsafe(nil), Set)
|
|
5435
|
+
|
|
5436
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5437
|
+
RuboCop::AST::NodePattern::Sets::SET_HAS_MANY_HAS_ONE_BELONGS_TO = T.let(T.unsafe(nil), Set)
|
|
5438
|
+
|
|
5439
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5440
|
+
RuboCop::AST::NodePattern::Sets::SET_HEAD_ASSERT_RESPONSE = T.let(T.unsafe(nil), Set)
|
|
5441
|
+
|
|
5442
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5443
|
+
RuboCop::AST::NodePattern::Sets::SET_HTML_HTML5 = T.let(T.unsafe(nil), Set)
|
|
5444
|
+
|
|
5445
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5446
|
+
RuboCop::AST::NodePattern::Sets::SET_IF_UNLESS = T.let(T.unsafe(nil), Set)
|
|
5447
|
+
|
|
5456
5448
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5457
5449
|
RuboCop::AST::NodePattern::Sets::SET_INCLUDE_EXTEND_PREPEND = T.let(T.unsafe(nil), Set)
|
|
5458
5450
|
|
|
5451
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5452
|
+
RuboCop::AST::NodePattern::Sets::SET_INSERT_INSERT = T.let(T.unsafe(nil), Set)
|
|
5453
|
+
|
|
5459
5454
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5460
5455
|
RuboCop::AST::NodePattern::Sets::SET_INSTANCE_EVAL_CLASS_EVAL_MODULE_EVAL = T.let(T.unsafe(nil), Set)
|
|
5461
5456
|
|
|
5462
5457
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5463
5458
|
RuboCop::AST::NodePattern::Sets::SET_INSTANCE_EXEC_CLASS_EXEC_MODULE_EXEC = T.let(T.unsafe(nil), Set)
|
|
5464
5459
|
|
|
5460
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5461
|
+
RuboCop::AST::NodePattern::Sets::SET_IO_FILE = T.let(T.unsafe(nil), Set)
|
|
5462
|
+
|
|
5465
5463
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5466
5464
|
RuboCop::AST::NodePattern::Sets::SET_KEYS_VALUES = T.let(T.unsafe(nil), Set)
|
|
5467
5465
|
|
|
5466
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5467
|
+
RuboCop::AST::NodePattern::Sets::SET_KEYS_VALUES_TO_H_TO_XML = T.let(T.unsafe(nil), Set)
|
|
5468
|
+
|
|
5468
5469
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5469
5470
|
RuboCop::AST::NodePattern::Sets::SET_KEY_HAS_KEY_FETCH_ETC = T.let(T.unsafe(nil), Set)
|
|
5470
5471
|
|
|
@@ -5483,6 +5484,12 @@ RuboCop::AST::NodePattern::Sets::SET_MAP_COLLECT = T.let(T.unsafe(nil), Set)
|
|
|
5483
5484
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5484
5485
|
RuboCop::AST::NodePattern::Sets::SET_MAP_FILTER_MAP = T.let(T.unsafe(nil), Set)
|
|
5485
5486
|
|
|
5487
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5488
|
+
RuboCop::AST::NodePattern::Sets::SET_MATCH_MATCH_ = T.let(T.unsafe(nil), Set)
|
|
5489
|
+
|
|
5490
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5491
|
+
RuboCop::AST::NodePattern::Sets::SET_MESSAGES_DETAILS = T.let(T.unsafe(nil), Set)
|
|
5492
|
+
|
|
5486
5493
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5487
5494
|
RuboCop::AST::NodePattern::Sets::SET_MODULE_FUNCTION_RUBY2_KEYWORDS = T.let(T.unsafe(nil), Set)
|
|
5488
5495
|
|
|
@@ -5498,11 +5505,17 @@ RuboCop::AST::NodePattern::Sets::SET_NEW_OPEN = T.let(T.unsafe(nil), Set)
|
|
|
5498
5505
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5499
5506
|
RuboCop::AST::NodePattern::Sets::SET_NIL_ = T.let(T.unsafe(nil), Set)
|
|
5500
5507
|
|
|
5508
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5509
|
+
RuboCop::AST::NodePattern::Sets::SET_NOTICE_ALERT = T.let(T.unsafe(nil), Set)
|
|
5510
|
+
|
|
5511
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5512
|
+
RuboCop::AST::NodePattern::Sets::SET_ONLY_EXCEPT = T.let(T.unsafe(nil), Set)
|
|
5513
|
+
|
|
5501
5514
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5502
5515
|
RuboCop::AST::NodePattern::Sets::SET_PIPELINE_PIPELINE_R_PIPELINE_RW_ETC = T.let(T.unsafe(nil), Set)
|
|
5503
5516
|
|
|
5504
5517
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5505
|
-
RuboCop::AST::NodePattern::Sets::
|
|
5518
|
+
RuboCop::AST::NodePattern::Sets::SET_PRESENT_ANY_BLANK_ETC = T.let(T.unsafe(nil), Set)
|
|
5506
5519
|
|
|
5507
5520
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5508
5521
|
RuboCop::AST::NodePattern::Sets::SET_PRIVATE_PROTECTED_PRIVATE_CLASS_METHOD = T.let(T.unsafe(nil), Set)
|
|
@@ -5529,20 +5542,41 @@ RuboCop::AST::NodePattern::Sets::SET_READ_BINREAD = T.let(T.unsafe(nil), Set)
|
|
|
5529
5542
|
RuboCop::AST::NodePattern::Sets::SET_REDUCE_INJECT = T.let(T.unsafe(nil), Set)
|
|
5530
5543
|
|
|
5531
5544
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5532
|
-
RuboCop::AST::NodePattern::Sets::
|
|
5545
|
+
RuboCop::AST::NodePattern::Sets::SET_REFERER_REFERRER = T.let(T.unsafe(nil), Set)
|
|
5546
|
+
|
|
5547
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5548
|
+
RuboCop::AST::NodePattern::Sets::SET_REJECT_DELETE_IF = T.let(T.unsafe(nil), Set)
|
|
5549
|
+
|
|
5550
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5551
|
+
RuboCop::AST::NodePattern::Sets::SET_REJECT_REJECT = T.let(T.unsafe(nil), Set)
|
|
5552
|
+
|
|
5553
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5554
|
+
RuboCop::AST::NodePattern::Sets::SET_RENDER_REDIRECT_TO = T.let(T.unsafe(nil), Set)
|
|
5533
5555
|
|
|
5534
5556
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5535
5557
|
RuboCop::AST::NodePattern::Sets::SET_REQUIRE_REQUIRE_RELATIVE = T.let(T.unsafe(nil), Set)
|
|
5536
5558
|
|
|
5559
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5560
|
+
RuboCop::AST::NodePattern::Sets::SET_RETURNING_UNIQUE_BY = T.let(T.unsafe(nil), Set)
|
|
5561
|
+
|
|
5562
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5563
|
+
RuboCop::AST::NodePattern::Sets::SET_ROOT_PUBLIC_PATH = T.let(T.unsafe(nil), Set)
|
|
5564
|
+
|
|
5537
5565
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5538
5566
|
RuboCop::AST::NodePattern::Sets::SET_SELECT_FILTER_FIND_ALL = T.let(T.unsafe(nil), Set)
|
|
5539
5567
|
|
|
5540
5568
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5541
|
-
RuboCop::AST::NodePattern::Sets::
|
|
5569
|
+
RuboCop::AST::NodePattern::Sets::SET_SELECT_FILTER_KEEP_IF = T.let(T.unsafe(nil), Set)
|
|
5570
|
+
|
|
5571
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5572
|
+
RuboCop::AST::NodePattern::Sets::SET_SELECT_SELECT_FILTER_FILTER = T.let(T.unsafe(nil), Set)
|
|
5542
5573
|
|
|
5543
5574
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5544
5575
|
RuboCop::AST::NodePattern::Sets::SET_SEND_PUBLIC_SEND___SEND__ = T.let(T.unsafe(nil), Set)
|
|
5545
5576
|
|
|
5577
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5578
|
+
RuboCop::AST::NodePattern::Sets::SET_SKIP_AFTER_ACTION_SKIP_AROUND_ACTION_SKIP_BEFORE_ACTION_SKIP_ACTION_CALLBACK = T.let(T.unsafe(nil), Set)
|
|
5579
|
+
|
|
5546
5580
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5547
5581
|
RuboCop::AST::NodePattern::Sets::SET_SORT_BY_SORT = T.let(T.unsafe(nil), Set)
|
|
5548
5582
|
|
|
@@ -5552,12 +5586,18 @@ RuboCop::AST::NodePattern::Sets::SET_SPAWN_SYSTEM = T.let(T.unsafe(nil), Set)
|
|
|
5552
5586
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5553
5587
|
RuboCop::AST::NodePattern::Sets::SET_SPRINTF_FORMAT = T.let(T.unsafe(nil), Set)
|
|
5554
5588
|
|
|
5589
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5590
|
+
RuboCop::AST::NodePattern::Sets::SET_STDOUT_STDERR = T.let(T.unsafe(nil), Set)
|
|
5591
|
+
|
|
5555
5592
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5556
5593
|
RuboCop::AST::NodePattern::Sets::SET_STRUCT_CLASS = T.let(T.unsafe(nil), Set)
|
|
5557
5594
|
|
|
5558
5595
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5559
5596
|
RuboCop::AST::NodePattern::Sets::SET_SUCC_PRED_NEXT = T.let(T.unsafe(nil), Set)
|
|
5560
5597
|
|
|
5598
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5599
|
+
RuboCop::AST::NodePattern::Sets::SET_TIME_DATETIME = T.let(T.unsafe(nil), Set)
|
|
5600
|
+
|
|
5561
5601
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5562
5602
|
RuboCop::AST::NodePattern::Sets::SET_TO_ENUM_ENUM_FOR = T.let(T.unsafe(nil), Set)
|
|
5563
5603
|
|
|
@@ -5567,9 +5607,24 @@ RuboCop::AST::NodePattern::Sets::SET_TO_H_TO_HASH = T.let(T.unsafe(nil), Set)
|
|
|
5567
5607
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5568
5608
|
RuboCop::AST::NodePattern::Sets::SET_TO_I_TO_F_TO_C_TO_R = T.let(T.unsafe(nil), Set)
|
|
5569
5609
|
|
|
5610
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5611
|
+
RuboCop::AST::NodePattern::Sets::SET_TRANSLATE_LOCALIZE = T.let(T.unsafe(nil), Set)
|
|
5612
|
+
|
|
5613
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5614
|
+
RuboCop::AST::NodePattern::Sets::SET_TRANSLATE_T = T.let(T.unsafe(nil), Set)
|
|
5615
|
+
|
|
5570
5616
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5571
5617
|
RuboCop::AST::NodePattern::Sets::SET_TRUE_FALSE = T.let(T.unsafe(nil), Set)
|
|
5572
5618
|
|
|
5619
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5620
|
+
RuboCop::AST::NodePattern::Sets::SET_TRY_TRY = T.let(T.unsafe(nil), Set)
|
|
5621
|
+
|
|
5622
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5623
|
+
RuboCop::AST::NodePattern::Sets::SET_T_TRANSLATE_L_LOCALIZE = T.let(T.unsafe(nil), Set)
|
|
5624
|
+
|
|
5625
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5626
|
+
RuboCop::AST::NodePattern::Sets::SET_WHERE_NOT = T.let(T.unsafe(nil), Set)
|
|
5627
|
+
|
|
5573
5628
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
|
5574
5629
|
RuboCop::AST::NodePattern::Sets::SET_ZERO_POSITIVE_NEGATIVE = T.let(T.unsafe(nil), Set)
|
|
5575
5630
|
|
|
@@ -6510,15 +6565,38 @@ class RuboCop::AST::StrNode < ::RuboCop::AST::Node
|
|
|
6510
6565
|
|
|
6511
6566
|
# @return [Boolean]
|
|
6512
6567
|
#
|
|
6513
|
-
# source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#
|
|
6568
|
+
# source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#25
|
|
6514
6569
|
def character_literal?; end
|
|
6515
6570
|
|
|
6516
6571
|
# @return [Boolean]
|
|
6517
6572
|
#
|
|
6518
|
-
# source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#
|
|
6573
|
+
# source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#21
|
|
6574
|
+
def double_quoted?; end
|
|
6575
|
+
|
|
6576
|
+
# @return [Boolean]
|
|
6577
|
+
#
|
|
6578
|
+
# source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#29
|
|
6519
6579
|
def heredoc?; end
|
|
6580
|
+
|
|
6581
|
+
# Checks whether the string literal is delimited by percent brackets.
|
|
6582
|
+
#
|
|
6583
|
+
# @overload percent_literal?
|
|
6584
|
+
# @overload percent_literal?
|
|
6585
|
+
# @param type [Symbol] an optional percent literal type
|
|
6586
|
+
# @return [Boolean] whether the string is enclosed in percent brackets
|
|
6587
|
+
#
|
|
6588
|
+
# source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#44
|
|
6589
|
+
def percent_literal?(type = T.unsafe(nil)); end
|
|
6590
|
+
|
|
6591
|
+
# @return [Boolean]
|
|
6592
|
+
#
|
|
6593
|
+
# source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#17
|
|
6594
|
+
def single_quoted?; end
|
|
6520
6595
|
end
|
|
6521
6596
|
|
|
6597
|
+
# source://rubocop-ast//lib/rubocop/ast/node/str_node.rb#11
|
|
6598
|
+
RuboCop::AST::StrNode::PERCENT_LITERAL_TYPES = T.let(T.unsafe(nil), Hash)
|
|
6599
|
+
|
|
6522
6600
|
# A node extension for `super`- and `zsuper` nodes. This will be used in
|
|
6523
6601
|
# place of a plain node when the builder constructs the AST, making its
|
|
6524
6602
|
# methods available to all `super`- and `zsuper` nodes within RuboCop.
|
|
@@ -7294,6 +7372,338 @@ class RuboCop::AST::YieldNode < ::RuboCop::AST::Node
|
|
|
7294
7372
|
def node_parts; end
|
|
7295
7373
|
end
|
|
7296
7374
|
|
|
7375
|
+
class RuboCop::CommentConfig
|
|
7376
|
+
# source://standard/1.43.0/lib/standard/rubocop/ext.rb#20
|
|
7377
|
+
def initialize(processed_source); end
|
|
7378
|
+
|
|
7379
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#63
|
|
7380
|
+
def comment_only_line?(line_number); end
|
|
7381
|
+
|
|
7382
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7383
|
+
def config(*_arg0, **_arg1, &_arg2); end
|
|
7384
|
+
|
|
7385
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#51
|
|
7386
|
+
def cop_disabled_line_ranges; end
|
|
7387
|
+
|
|
7388
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#39
|
|
7389
|
+
def cop_enabled_at_line?(cop, line_number); end
|
|
7390
|
+
|
|
7391
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#47
|
|
7392
|
+
def cop_opted_in?(cop); end
|
|
7393
|
+
|
|
7394
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#55
|
|
7395
|
+
def extra_enabled_comments; end
|
|
7396
|
+
|
|
7397
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#30
|
|
7398
|
+
def processed_source; end
|
|
7399
|
+
|
|
7400
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7401
|
+
def registry(*_arg0, **_arg1, &_arg2); end
|
|
7402
|
+
|
|
7403
|
+
private
|
|
7404
|
+
|
|
7405
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#96
|
|
7406
|
+
def analyze; end
|
|
7407
|
+
|
|
7408
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#124
|
|
7409
|
+
def analyze_cop(analysis, directive); end
|
|
7410
|
+
|
|
7411
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#144
|
|
7412
|
+
def analyze_disabled(analysis, directive); end
|
|
7413
|
+
|
|
7414
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#155
|
|
7415
|
+
def analyze_rest(analysis, directive); end
|
|
7416
|
+
|
|
7417
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#135
|
|
7418
|
+
def analyze_single_line(analysis, directive); end
|
|
7419
|
+
|
|
7420
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#164
|
|
7421
|
+
def cop_line_ranges(analysis); end
|
|
7422
|
+
|
|
7423
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#170
|
|
7424
|
+
def each_directive; end
|
|
7425
|
+
|
|
7426
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#69
|
|
7427
|
+
def extra_enabled_comments_with_names(extras:, names:); end
|
|
7428
|
+
|
|
7429
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#190
|
|
7430
|
+
def handle_enable_all(directive, names, extras); end
|
|
7431
|
+
|
|
7432
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#204
|
|
7433
|
+
def handle_switch(directive, names, extras); end
|
|
7434
|
+
|
|
7435
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#115
|
|
7436
|
+
def inject_disabled_cops_directives(analyses); end
|
|
7437
|
+
|
|
7438
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#183
|
|
7439
|
+
def non_comment_token_line_numbers; end
|
|
7440
|
+
|
|
7441
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#34
|
|
7442
|
+
def old_initialize(processed_source); end
|
|
7443
|
+
|
|
7444
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#83
|
|
7445
|
+
def opt_in_cops; end
|
|
7446
|
+
|
|
7447
|
+
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#179
|
|
7448
|
+
def qualified_cop_name(cop_name); end
|
|
7449
|
+
end
|
|
7450
|
+
|
|
7451
|
+
class RuboCop::Config
|
|
7452
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#30
|
|
7453
|
+
def initialize(hash = T.unsafe(nil), loaded_path = T.unsafe(nil)); end
|
|
7454
|
+
|
|
7455
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7456
|
+
def [](*_arg0, **_arg1, &_arg2); end
|
|
7457
|
+
|
|
7458
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7459
|
+
def []=(*_arg0, **_arg1, &_arg2); end
|
|
7460
|
+
|
|
7461
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#170
|
|
7462
|
+
def active_support_extensions_enabled?; end
|
|
7463
|
+
|
|
7464
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#96
|
|
7465
|
+
def add_excludes_from_higher_level(highest_config); end
|
|
7466
|
+
|
|
7467
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#197
|
|
7468
|
+
def allowed_camel_case_file?(file); end
|
|
7469
|
+
|
|
7470
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#241
|
|
7471
|
+
def base_dir_for_path_parameters; end
|
|
7472
|
+
|
|
7473
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#271
|
|
7474
|
+
def bundler_lock_file_path; end
|
|
7475
|
+
|
|
7476
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#51
|
|
7477
|
+
def check; end
|
|
7478
|
+
|
|
7479
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#142
|
|
7480
|
+
def clusivity_config_for_badge?(badge); end
|
|
7481
|
+
|
|
7482
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7483
|
+
def delete(*_arg0, **_arg1, &_arg2); end
|
|
7484
|
+
|
|
7485
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#108
|
|
7486
|
+
def deprecation_check; end
|
|
7487
|
+
|
|
7488
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7489
|
+
def dig(*_arg0, **_arg1, &_arg2); end
|
|
7490
|
+
|
|
7491
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#162
|
|
7492
|
+
def disabled_new_cops?; end
|
|
7493
|
+
|
|
7494
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7495
|
+
def each(*_arg0, **_arg1, &_arg2); end
|
|
7496
|
+
|
|
7497
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7498
|
+
def each_key(*_arg0, **_arg1, &_arg2); end
|
|
7499
|
+
|
|
7500
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#166
|
|
7501
|
+
def enabled_new_cops?; end
|
|
7502
|
+
|
|
7503
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7504
|
+
def fetch(*_arg0, **_arg1, &_arg2); end
|
|
7505
|
+
|
|
7506
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#219
|
|
7507
|
+
def file_to_exclude?(file); end
|
|
7508
|
+
|
|
7509
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#178
|
|
7510
|
+
def file_to_include?(file); end
|
|
7511
|
+
|
|
7512
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#158
|
|
7513
|
+
def for_all_cops; end
|
|
7514
|
+
|
|
7515
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#128
|
|
7516
|
+
def for_badge(badge); end
|
|
7517
|
+
|
|
7518
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#122
|
|
7519
|
+
def for_cop(cop); end
|
|
7520
|
+
|
|
7521
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#153
|
|
7522
|
+
def for_department(department_name); end
|
|
7523
|
+
|
|
7524
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#296
|
|
7525
|
+
def gem_versions_in_target; end
|
|
7526
|
+
|
|
7527
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#300
|
|
7528
|
+
def inspect; end
|
|
7529
|
+
|
|
7530
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#76
|
|
7531
|
+
def internal?; end
|
|
7532
|
+
|
|
7533
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7534
|
+
def key?(*_arg0, **_arg1, &_arg2); end
|
|
7535
|
+
|
|
7536
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7537
|
+
def keys(*_arg0, **_arg1, &_arg2); end
|
|
7538
|
+
|
|
7539
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#47
|
|
7540
|
+
def loaded_features; end
|
|
7541
|
+
|
|
7542
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#20
|
|
7543
|
+
def loaded_path; end
|
|
7544
|
+
|
|
7545
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#81
|
|
7546
|
+
def make_excludes_absolute; end
|
|
7547
|
+
|
|
7548
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7549
|
+
def map(*_arg0, **_arg1, &_arg2); end
|
|
7550
|
+
|
|
7551
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7552
|
+
def merge(*_arg0, **_arg1, &_arg2); end
|
|
7553
|
+
|
|
7554
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#251
|
|
7555
|
+
def parser_engine; end
|
|
7556
|
+
|
|
7557
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#232
|
|
7558
|
+
def path_relative_to_config(path); end
|
|
7559
|
+
|
|
7560
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#228
|
|
7561
|
+
def patterns_to_exclude; end
|
|
7562
|
+
|
|
7563
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#224
|
|
7564
|
+
def patterns_to_include; end
|
|
7565
|
+
|
|
7566
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#282
|
|
7567
|
+
def pending_cops; end
|
|
7568
|
+
|
|
7569
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#211
|
|
7570
|
+
def possibly_include_hidden?; end
|
|
7571
|
+
|
|
7572
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7573
|
+
def replace(*_arg0, **_arg1, &_arg2); end
|
|
7574
|
+
|
|
7575
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#71
|
|
7576
|
+
def signature; end
|
|
7577
|
+
|
|
7578
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#266
|
|
7579
|
+
def smart_loaded_path; end
|
|
7580
|
+
|
|
7581
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#174
|
|
7582
|
+
def string_literals_frozen_by_default?; end
|
|
7583
|
+
|
|
7584
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#255
|
|
7585
|
+
def target_rails_version; end
|
|
7586
|
+
|
|
7587
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7588
|
+
def target_ruby_version(*_arg0, **_arg1, &_arg2); end
|
|
7589
|
+
|
|
7590
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7591
|
+
def to_h(*_arg0, **_arg1, &_arg2); end
|
|
7592
|
+
|
|
7593
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7594
|
+
def to_hash(*_arg0, **_arg1, &_arg2); end
|
|
7595
|
+
|
|
7596
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#67
|
|
7597
|
+
def to_s; end
|
|
7598
|
+
|
|
7599
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7600
|
+
def transform_values(*_arg0, **_arg1, &_arg2); end
|
|
7601
|
+
|
|
7602
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7603
|
+
def validate(*_arg0, **_arg1, &_arg2); end
|
|
7604
|
+
|
|
7605
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#58
|
|
7606
|
+
def validate_after_resolution; end
|
|
7607
|
+
|
|
7608
|
+
private
|
|
7609
|
+
|
|
7610
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#350
|
|
7611
|
+
def department_of(qualified_cop_name); end
|
|
7612
|
+
|
|
7613
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#338
|
|
7614
|
+
def enable_cop?(qualified_cop_name, cop_options); end
|
|
7615
|
+
|
|
7616
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#325
|
|
7617
|
+
def gem_version_to_major_minor_float(gem_version); end
|
|
7618
|
+
|
|
7619
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#331
|
|
7620
|
+
def read_gem_versions_from_target_lockfile; end
|
|
7621
|
+
|
|
7622
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#312
|
|
7623
|
+
def read_rails_version_from_bundler_lock_file; end
|
|
7624
|
+
|
|
7625
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#307
|
|
7626
|
+
def target_rails_version_from_bundler_lock_file; end
|
|
7627
|
+
|
|
7628
|
+
class << self
|
|
7629
|
+
# source://rubocop/1.69.2/lib/rubocop/config.rb#22
|
|
7630
|
+
def create(hash, path, check: T.unsafe(nil)); end
|
|
7631
|
+
end
|
|
7632
|
+
end
|
|
7633
|
+
|
|
7634
|
+
class RuboCop::ConfigValidator
|
|
7635
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#27
|
|
7636
|
+
def initialize(config); end
|
|
7637
|
+
|
|
7638
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7639
|
+
def for_all_cops(*_arg0, **_arg1, &_arg2); end
|
|
7640
|
+
|
|
7641
|
+
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
|
|
7642
|
+
def smart_loaded_path(*_arg0, **_arg1, &_arg2); end
|
|
7643
|
+
|
|
7644
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#63
|
|
7645
|
+
def target_ruby_version; end
|
|
7646
|
+
|
|
7647
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#33
|
|
7648
|
+
def validate; end
|
|
7649
|
+
|
|
7650
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#59
|
|
7651
|
+
def validate_after_resolution; end
|
|
7652
|
+
|
|
7653
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#67
|
|
7654
|
+
def validate_section_presence(name); end
|
|
7655
|
+
|
|
7656
|
+
private
|
|
7657
|
+
|
|
7658
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#104
|
|
7659
|
+
def alert_about_unrecognized_cops(invalid_cop_names); end
|
|
7660
|
+
|
|
7661
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#254
|
|
7662
|
+
def check_cop_config_value(hash, parent = T.unsafe(nil)); end
|
|
7663
|
+
|
|
7664
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#77
|
|
7665
|
+
def check_obsoletions; end
|
|
7666
|
+
|
|
7667
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#84
|
|
7668
|
+
def check_target_ruby; end
|
|
7669
|
+
|
|
7670
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#195
|
|
7671
|
+
def each_invalid_parameter(cop_name); end
|
|
7672
|
+
|
|
7673
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#120
|
|
7674
|
+
def list_unknown_cops(invalid_cop_names); end
|
|
7675
|
+
|
|
7676
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#274
|
|
7677
|
+
def param_error_message(parent, key, value, supposed_values); end
|
|
7678
|
+
|
|
7679
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#242
|
|
7680
|
+
def reject_conflicting_safe_settings; end
|
|
7681
|
+
|
|
7682
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#233
|
|
7683
|
+
def reject_mutually_exclusive_defaults; end
|
|
7684
|
+
|
|
7685
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#142
|
|
7686
|
+
def suggestion(name); end
|
|
7687
|
+
|
|
7688
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#75
|
|
7689
|
+
def target_ruby; end
|
|
7690
|
+
|
|
7691
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#207
|
|
7692
|
+
def validate_enforced_styles(valid_cop_names); end
|
|
7693
|
+
|
|
7694
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#169
|
|
7695
|
+
def validate_new_cops_parameter; end
|
|
7696
|
+
|
|
7697
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#180
|
|
7698
|
+
def validate_parameter_names(valid_cop_names); end
|
|
7699
|
+
|
|
7700
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#227
|
|
7701
|
+
def validate_support_and_has_list(name, formats, valid); end
|
|
7702
|
+
|
|
7703
|
+
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#158
|
|
7704
|
+
def validate_syntax_cop; end
|
|
7705
|
+
end
|
|
7706
|
+
|
|
7297
7707
|
# Similar to `Forwardable#def_delegators`, but simpler & faster
|
|
7298
7708
|
#
|
|
7299
7709
|
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#5
|