vigiles 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -0
- data/lib/vigiles/archive/extras.rb +1 -1
- data/lib/vigiles/archive/metadata.rb +1 -1
- data/lib/vigiles/archive/response.rb +31 -5
- data/lib/vigiles/archive.rb +1 -1
- data/lib/vigiles/constants.rb +1 -1
- data/lib/vigiles/conversation_recorder.rb +3 -0
- data/lib/vigiles/conversation_recorders/application_json.rb +11 -6
- data/lib/vigiles/conversation_recorders/unknown.rb +3 -0
- data/lib/vigiles/middleware/record_conversation.rb +2 -2
- data/lib/vigiles/utilities/json.rb +2 -4
- data/lib/vigiles/version.rb +1 -1
- data/sorbet/rbi/gems/concurrent-ruby@1.3.1.rbi +11627 -0
- data/sorbet/rbi/gems/{json@2.7.1.rbi → json@2.7.2.rbi} +73 -72
- data/sorbet/rbi/gems/{minitest@5.22.2.rbi → minitest@5.23.1.rbi} +841 -159
- data/sorbet/rbi/gems/{parser@3.3.0.5.rbi → parser@3.3.1.0.rbi} +233 -186
- data/sorbet/rbi/gems/{prism@0.24.0.rbi → prism@0.29.0.rbi} +19135 -12188
- data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.0.rbi} +34 -33
- data/sorbet/rbi/gems/{rake@13.1.0.rbi → rake@13.2.1.rbi} +77 -55
- data/sorbet/rbi/gems/{rbi@0.1.9.rbi → rbi@0.1.13.rbi} +226 -154
- data/sorbet/rbi/gems/{rdoc@6.6.3.1.rbi → rdoc@6.7.0.rbi} +333 -327
- data/sorbet/rbi/gems/{regexp_parser@2.9.0.rbi → regexp_parser@2.9.2.rbi} +3 -2
- data/sorbet/rbi/gems/{reline@0.5.7.rbi → reline@0.5.8.rbi} +1 -0
- data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.2.8.rbi} +121 -108
- data/sorbet/rbi/gems/{rubocop-ast@1.30.0.rbi → rubocop-ast@1.31.3.rbi} +92 -62
- data/sorbet/rbi/gems/{rubocop-minitest@0.34.5.rbi → rubocop-minitest@0.35.0.rbi} +35 -0
- data/sorbet/rbi/gems/{rubocop-sorbet@0.7.4.rbi → rubocop-sorbet@0.8.3.rbi} +327 -162
- data/sorbet/rbi/gems/{rubocop@1.60.2.rbi → rubocop@1.64.0.rbi} +1719 -1065
- data/sorbet/rbi/gems/{spoom@1.2.4.rbi → spoom@1.3.2.rbi} +1057 -413
- data/sorbet/rbi/gems/strscan@3.1.0.rbi +9 -0
- data/sorbet/rbi/gems/{tapioca@0.12.0.rbi → tapioca@0.14.2.rbi} +123 -448
- data/sorbet/rbi/gems/{thor@1.3.0.rbi → thor@1.3.1.rbi} +57 -50
- data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.36.rbi} +230 -37
- data/sorbet/rbi/gems/{zeitwerk@2.6.13.rbi → zeitwerk@2.6.15.rbi} +47 -36
- data/vigiles.gemspec +1 -1
- metadata +27 -27
- data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +0 -8
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
- data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23136
@@ -4,16 +4,17 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `rbi` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem rbi`.
|
6
6
|
|
7
|
+
|
7
8
|
# source://rbi//lib/rbi/loc.rb#4
|
8
9
|
module RBI; end
|
9
10
|
|
10
|
-
# source://rbi//lib/rbi/model.rb#
|
11
|
+
# source://rbi//lib/rbi/model.rb#1041
|
11
12
|
class RBI::Arg < ::RBI::Node
|
12
|
-
# source://rbi//lib/rbi/model.rb#
|
13
|
+
# source://rbi//lib/rbi/model.rb#1053
|
13
14
|
sig { params(value: ::String, loc: T.nilable(::RBI::Loc)).void }
|
14
15
|
def initialize(value, loc: T.unsafe(nil)); end
|
15
16
|
|
16
|
-
# source://rbi//lib/rbi/model.rb#
|
17
|
+
# source://rbi//lib/rbi/model.rb#1059
|
17
18
|
sig { params(other: T.nilable(::Object)).returns(T::Boolean) }
|
18
19
|
def ==(other); end
|
19
20
|
|
@@ -21,11 +22,11 @@ class RBI::Arg < ::RBI::Node
|
|
21
22
|
sig { override.params(v: ::RBI::Printer).void }
|
22
23
|
def accept_printer(v); end
|
23
24
|
|
24
|
-
# source://rbi//lib/rbi/model.rb#
|
25
|
+
# source://rbi//lib/rbi/model.rb#1064
|
25
26
|
sig { returns(::String) }
|
26
27
|
def to_s; end
|
27
28
|
|
28
|
-
# source://rbi//lib/rbi/model.rb#
|
29
|
+
# source://rbi//lib/rbi/model.rb#1045
|
29
30
|
sig { returns(::String) }
|
30
31
|
def value; end
|
31
32
|
end
|
@@ -197,9 +198,9 @@ class RBI::BlankLine < ::RBI::Comment
|
|
197
198
|
def accept_printer(v); end
|
198
199
|
end
|
199
200
|
|
200
|
-
# source://rbi//lib/rbi/model.rb#
|
201
|
+
# source://rbi//lib/rbi/model.rb#814
|
201
202
|
class RBI::BlockParam < ::RBI::Param
|
202
|
-
# source://rbi//lib/rbi/model.rb#
|
203
|
+
# source://rbi//lib/rbi/model.rb#825
|
203
204
|
sig do
|
204
205
|
params(
|
205
206
|
name: ::String,
|
@@ -210,7 +211,7 @@ class RBI::BlockParam < ::RBI::Param
|
|
210
211
|
end
|
211
212
|
def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
212
213
|
|
213
|
-
# source://rbi//lib/rbi/model.rb#
|
214
|
+
# source://rbi//lib/rbi/model.rb#836
|
214
215
|
sig { params(other: T.nilable(::Object)).returns(T::Boolean) }
|
215
216
|
def ==(other); end
|
216
217
|
|
@@ -222,7 +223,7 @@ class RBI::BlockParam < ::RBI::Param
|
|
222
223
|
sig { override.params(v: ::RBI::Printer, last: T::Boolean).void }
|
223
224
|
def print_comment_leading_space(v, last:); end
|
224
225
|
|
225
|
-
# source://rbi//lib/rbi/model.rb#
|
226
|
+
# source://rbi//lib/rbi/model.rb#831
|
226
227
|
sig { override.returns(::String) }
|
227
228
|
def to_s; end
|
228
229
|
end
|
@@ -379,11 +380,11 @@ class RBI::Const < ::RBI::NodeWithComments
|
|
379
380
|
def value; end
|
380
381
|
end
|
381
382
|
|
382
|
-
# source://rbi//lib/rbi/model.rb#
|
383
|
+
# source://rbi//lib/rbi/model.rb#889
|
383
384
|
class RBI::Extend < ::RBI::Mixin
|
384
385
|
include ::RBI::Indexable
|
385
386
|
|
386
|
-
# source://rbi//lib/rbi/model.rb#
|
387
|
+
# source://rbi//lib/rbi/model.rb#901
|
387
388
|
sig do
|
388
389
|
params(
|
389
390
|
name: ::String,
|
@@ -403,7 +404,7 @@ class RBI::Extend < ::RBI::Mixin
|
|
403
404
|
sig { override.returns(T::Array[::String]) }
|
404
405
|
def index_ids; end
|
405
406
|
|
406
|
-
# source://rbi//lib/rbi/model.rb#
|
407
|
+
# source://rbi//lib/rbi/model.rb#907
|
407
408
|
sig { override.returns(::String) }
|
408
409
|
def to_s; end
|
409
410
|
end
|
@@ -568,11 +569,11 @@ end
|
|
568
569
|
|
569
570
|
# Sorbet's misc.
|
570
571
|
#
|
571
|
-
# source://rbi//lib/rbi/model.rb#
|
572
|
+
# source://rbi//lib/rbi/model.rb#1372
|
572
573
|
class RBI::Helper < ::RBI::NodeWithComments
|
573
574
|
include ::RBI::Indexable
|
574
575
|
|
575
|
-
# source://rbi//lib/rbi/model.rb#
|
576
|
+
# source://rbi//lib/rbi/model.rb#1386
|
576
577
|
sig do
|
577
578
|
params(
|
578
579
|
name: ::String,
|
@@ -595,20 +596,20 @@ class RBI::Helper < ::RBI::NodeWithComments
|
|
595
596
|
sig { override.returns(T::Array[::String]) }
|
596
597
|
def index_ids; end
|
597
598
|
|
598
|
-
# source://rbi//lib/rbi/model.rb#
|
599
|
+
# source://rbi//lib/rbi/model.rb#1376
|
599
600
|
sig { returns(::String) }
|
600
601
|
def name; end
|
601
602
|
|
602
|
-
# source://rbi//lib/rbi/model.rb#
|
603
|
+
# source://rbi//lib/rbi/model.rb#1393
|
603
604
|
sig { override.returns(::String) }
|
604
605
|
def to_s; end
|
605
606
|
end
|
606
607
|
|
607
|
-
# source://rbi//lib/rbi/model.rb#
|
608
|
+
# source://rbi//lib/rbi/model.rb#866
|
608
609
|
class RBI::Include < ::RBI::Mixin
|
609
610
|
include ::RBI::Indexable
|
610
611
|
|
611
|
-
# source://rbi//lib/rbi/model.rb#
|
612
|
+
# source://rbi//lib/rbi/model.rb#878
|
612
613
|
sig do
|
613
614
|
params(
|
614
615
|
name: ::String,
|
@@ -628,7 +629,7 @@ class RBI::Include < ::RBI::Mixin
|
|
628
629
|
sig { override.returns(T::Array[::String]) }
|
629
630
|
def index_ids; end
|
630
631
|
|
631
|
-
# source://rbi//lib/rbi/model.rb#
|
632
|
+
# source://rbi//lib/rbi/model.rb#884
|
632
633
|
sig { override.returns(::String) }
|
633
634
|
def to_s; end
|
634
635
|
end
|
@@ -668,7 +669,7 @@ class RBI::Index < ::RBI::Visitor
|
|
668
669
|
end
|
669
670
|
end
|
670
671
|
|
671
|
-
# A Node that can be
|
672
|
+
# A Node that can be referred to by a unique ID inside an index
|
672
673
|
#
|
673
674
|
# @abstract Subclasses must implement the `abstract` methods below.
|
674
675
|
#
|
@@ -688,13 +689,13 @@ module RBI::Indexable
|
|
688
689
|
def index_ids; end
|
689
690
|
end
|
690
691
|
|
691
|
-
# source://rbi//lib/rbi/model.rb#
|
692
|
+
# source://rbi//lib/rbi/model.rb#1069
|
692
693
|
class RBI::KwArg < ::RBI::Arg
|
693
|
-
# source://rbi//lib/rbi/model.rb#
|
694
|
+
# source://rbi//lib/rbi/model.rb#1082
|
694
695
|
sig { params(keyword: ::String, value: ::String, loc: T.nilable(::RBI::Loc)).void }
|
695
696
|
def initialize(keyword, value, loc: T.unsafe(nil)); end
|
696
697
|
|
697
|
-
# source://rbi//lib/rbi/model.rb#
|
698
|
+
# source://rbi//lib/rbi/model.rb#1088
|
698
699
|
sig { params(other: T.nilable(::Object)).returns(T::Boolean) }
|
699
700
|
def ==(other); end
|
700
701
|
|
@@ -702,18 +703,18 @@ class RBI::KwArg < ::RBI::Arg
|
|
702
703
|
sig { override.params(v: ::RBI::Printer).void }
|
703
704
|
def accept_printer(v); end
|
704
705
|
|
705
|
-
# source://rbi//lib/rbi/model.rb#
|
706
|
+
# source://rbi//lib/rbi/model.rb#1073
|
706
707
|
sig { returns(::String) }
|
707
708
|
def keyword; end
|
708
709
|
|
709
|
-
# source://rbi//lib/rbi/model.rb#
|
710
|
+
# source://rbi//lib/rbi/model.rb#1093
|
710
711
|
sig { returns(::String) }
|
711
712
|
def to_s; end
|
712
713
|
end
|
713
714
|
|
714
|
-
# source://rbi//lib/rbi/model.rb#
|
715
|
+
# source://rbi//lib/rbi/model.rb#755
|
715
716
|
class RBI::KwOptParam < ::RBI::Param
|
716
|
-
# source://rbi//lib/rbi/model.rb#
|
717
|
+
# source://rbi//lib/rbi/model.rb#770
|
717
718
|
sig do
|
718
719
|
params(
|
719
720
|
name: ::String,
|
@@ -725,7 +726,7 @@ class RBI::KwOptParam < ::RBI::Param
|
|
725
726
|
end
|
726
727
|
def initialize(name, value, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
727
728
|
|
728
|
-
# source://rbi//lib/rbi/model.rb#
|
729
|
+
# source://rbi//lib/rbi/model.rb#782
|
729
730
|
sig { params(other: T.nilable(::Object)).returns(T::Boolean) }
|
730
731
|
def ==(other); end
|
731
732
|
|
@@ -737,18 +738,18 @@ class RBI::KwOptParam < ::RBI::Param
|
|
737
738
|
sig { override.params(v: ::RBI::Printer, last: T::Boolean).void }
|
738
739
|
def print_comment_leading_space(v, last:); end
|
739
740
|
|
740
|
-
# source://rbi//lib/rbi/model.rb#
|
741
|
+
# source://rbi//lib/rbi/model.rb#777
|
741
742
|
sig { override.returns(::String) }
|
742
743
|
def to_s; end
|
743
744
|
|
744
|
-
# source://rbi//lib/rbi/model.rb#
|
745
|
+
# source://rbi//lib/rbi/model.rb#759
|
745
746
|
sig { returns(::String) }
|
746
747
|
def value; end
|
747
748
|
end
|
748
749
|
|
749
|
-
# source://rbi//lib/rbi/model.rb#
|
750
|
+
# source://rbi//lib/rbi/model.rb#728
|
750
751
|
class RBI::KwParam < ::RBI::Param
|
751
|
-
# source://rbi//lib/rbi/model.rb#
|
752
|
+
# source://rbi//lib/rbi/model.rb#739
|
752
753
|
sig do
|
753
754
|
params(
|
754
755
|
name: ::String,
|
@@ -759,7 +760,7 @@ class RBI::KwParam < ::RBI::Param
|
|
759
760
|
end
|
760
761
|
def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
761
762
|
|
762
|
-
# source://rbi//lib/rbi/model.rb#
|
763
|
+
# source://rbi//lib/rbi/model.rb#750
|
763
764
|
sig { params(other: T.nilable(::Object)).returns(T::Boolean) }
|
764
765
|
def ==(other); end
|
765
766
|
|
@@ -771,14 +772,14 @@ class RBI::KwParam < ::RBI::Param
|
|
771
772
|
sig { override.params(v: ::RBI::Printer, last: T::Boolean).void }
|
772
773
|
def print_comment_leading_space(v, last:); end
|
773
774
|
|
774
|
-
# source://rbi//lib/rbi/model.rb#
|
775
|
+
# source://rbi//lib/rbi/model.rb#745
|
775
776
|
sig { override.returns(::String) }
|
776
777
|
def to_s; end
|
777
778
|
end
|
778
779
|
|
779
|
-
# source://rbi//lib/rbi/model.rb#
|
780
|
+
# source://rbi//lib/rbi/model.rb#787
|
780
781
|
class RBI::KwRestParam < ::RBI::Param
|
781
|
-
# source://rbi//lib/rbi/model.rb#
|
782
|
+
# source://rbi//lib/rbi/model.rb#798
|
782
783
|
sig do
|
783
784
|
params(
|
784
785
|
name: ::String,
|
@@ -789,7 +790,7 @@ class RBI::KwRestParam < ::RBI::Param
|
|
789
790
|
end
|
790
791
|
def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
791
792
|
|
792
|
-
# source://rbi//lib/rbi/model.rb#
|
793
|
+
# source://rbi//lib/rbi/model.rb#809
|
793
794
|
sig { params(other: T.nilable(::Object)).returns(T::Boolean) }
|
794
795
|
def ==(other); end
|
795
796
|
|
@@ -801,7 +802,7 @@ class RBI::KwRestParam < ::RBI::Param
|
|
801
802
|
sig { override.params(v: ::RBI::Printer, last: T::Boolean).void }
|
802
803
|
def print_comment_leading_space(v, last:); end
|
803
804
|
|
804
|
-
# source://rbi//lib/rbi/model.rb#
|
805
|
+
# source://rbi//lib/rbi/model.rb#804
|
805
806
|
sig { override.returns(::String) }
|
806
807
|
def to_s; end
|
807
808
|
end
|
@@ -907,11 +908,55 @@ class RBI::Method < ::RBI::NodeWithComments
|
|
907
908
|
sig { override.params(v: ::RBI::Printer).void }
|
908
909
|
def accept_printer(v); end
|
909
910
|
|
911
|
+
# source://rbi//lib/rbi/model.rb#568
|
912
|
+
sig { params(name: ::String).void }
|
913
|
+
def add_block_param(name); end
|
914
|
+
|
915
|
+
# source://rbi//lib/rbi/model.rb#558
|
916
|
+
sig { params(name: ::String, default_value: ::String).void }
|
917
|
+
def add_kw_opt_param(name, default_value); end
|
918
|
+
|
919
|
+
# source://rbi//lib/rbi/model.rb#553
|
920
|
+
sig { params(name: ::String).void }
|
921
|
+
def add_kw_param(name); end
|
922
|
+
|
923
|
+
# source://rbi//lib/rbi/model.rb#563
|
924
|
+
sig { params(name: ::String).void }
|
925
|
+
def add_kw_rest_param(name); end
|
926
|
+
|
927
|
+
# source://rbi//lib/rbi/model.rb#543
|
928
|
+
sig { params(name: ::String, default_value: ::String).void }
|
929
|
+
def add_opt_param(name, default_value); end
|
930
|
+
|
931
|
+
# source://rbi//lib/rbi/model.rb#538
|
932
|
+
sig { params(name: ::String).void }
|
933
|
+
def add_param(name); end
|
934
|
+
|
935
|
+
# source://rbi//lib/rbi/model.rb#548
|
936
|
+
sig { params(name: ::String).void }
|
937
|
+
def add_rest_param(name); end
|
938
|
+
|
939
|
+
# source://rbi//lib/rbi/model.rb#585
|
940
|
+
sig do
|
941
|
+
params(
|
942
|
+
params: T::Array[::RBI::SigParam],
|
943
|
+
return_type: T.nilable(::String),
|
944
|
+
is_abstract: T::Boolean,
|
945
|
+
is_override: T::Boolean,
|
946
|
+
is_overridable: T::Boolean,
|
947
|
+
is_final: T::Boolean,
|
948
|
+
type_params: T::Array[::String],
|
949
|
+
checked: T.nilable(::Symbol),
|
950
|
+
block: T.proc.params(node: ::RBI::Sig).void
|
951
|
+
).void
|
952
|
+
end
|
953
|
+
def add_sig(params: T.unsafe(nil), return_type: T.unsafe(nil), is_abstract: T.unsafe(nil), is_override: T.unsafe(nil), is_overridable: T.unsafe(nil), is_final: T.unsafe(nil), type_params: T.unsafe(nil), checked: T.unsafe(nil), &block); end
|
954
|
+
|
910
955
|
# source://rbi//lib/rbi/rewriters/merge_trees.rb#461
|
911
956
|
sig { override.params(other: ::RBI::Node).returns(T::Boolean) }
|
912
957
|
def compatible_with?(other); end
|
913
958
|
|
914
|
-
# source://rbi//lib/rbi/model.rb#
|
959
|
+
# source://rbi//lib/rbi/model.rb#611
|
915
960
|
sig { returns(::String) }
|
916
961
|
def fully_qualified_name; end
|
917
962
|
|
@@ -962,7 +1007,7 @@ class RBI::Method < ::RBI::NodeWithComments
|
|
962
1007
|
# source://rbi//lib/rbi/model.rb#499
|
963
1008
|
def sigs=(_arg0); end
|
964
1009
|
|
965
|
-
# source://rbi//lib/rbi/model.rb#
|
1010
|
+
# source://rbi//lib/rbi/model.rb#620
|
966
1011
|
sig { override.returns(::String) }
|
967
1012
|
def to_s; end
|
968
1013
|
|
@@ -976,11 +1021,11 @@ class RBI::Method < ::RBI::NodeWithComments
|
|
976
1021
|
def visibility=(_arg0); end
|
977
1022
|
end
|
978
1023
|
|
979
|
-
# source://rbi//lib/rbi/model.rb#
|
1024
|
+
# source://rbi//lib/rbi/model.rb#1433
|
980
1025
|
class RBI::MixesInClassMethods < ::RBI::Mixin
|
981
1026
|
include ::RBI::Indexable
|
982
1027
|
|
983
|
-
# source://rbi//lib/rbi/model.rb#
|
1028
|
+
# source://rbi//lib/rbi/model.rb#1445
|
984
1029
|
sig do
|
985
1030
|
params(
|
986
1031
|
name: ::String,
|
@@ -1000,7 +1045,7 @@ class RBI::MixesInClassMethods < ::RBI::Mixin
|
|
1000
1045
|
sig { override.returns(T::Array[::String]) }
|
1001
1046
|
def index_ids; end
|
1002
1047
|
|
1003
|
-
# source://rbi//lib/rbi/model.rb#
|
1048
|
+
# source://rbi//lib/rbi/model.rb#1451
|
1004
1049
|
sig { override.returns(::String) }
|
1005
1050
|
def to_s; end
|
1006
1051
|
end
|
@@ -1009,11 +1054,11 @@ end
|
|
1009
1054
|
#
|
1010
1055
|
# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
|
1011
1056
|
#
|
1012
|
-
# source://rbi//lib/rbi/model.rb#
|
1057
|
+
# source://rbi//lib/rbi/model.rb#843
|
1013
1058
|
class RBI::Mixin < ::RBI::NodeWithComments
|
1014
1059
|
abstract!
|
1015
1060
|
|
1016
|
-
# source://rbi//lib/rbi/model.rb#
|
1061
|
+
# source://rbi//lib/rbi/model.rb#860
|
1017
1062
|
sig do
|
1018
1063
|
params(
|
1019
1064
|
name: ::String,
|
@@ -1032,7 +1077,7 @@ class RBI::Mixin < ::RBI::NodeWithComments
|
|
1032
1077
|
sig { override.params(other: ::RBI::Node).returns(T::Boolean) }
|
1033
1078
|
def compatible_with?(other); end
|
1034
1079
|
|
1035
|
-
# source://rbi//lib/rbi/model.rb#
|
1080
|
+
# source://rbi//lib/rbi/model.rb#850
|
1036
1081
|
sig { returns(T::Array[::String]) }
|
1037
1082
|
def names; end
|
1038
1083
|
end
|
@@ -1202,9 +1247,9 @@ class RBI::NodeWithComments < ::RBI::Node
|
|
1202
1247
|
def version_requirements; end
|
1203
1248
|
end
|
1204
1249
|
|
1205
|
-
# source://rbi//lib/rbi/model.rb#
|
1250
|
+
# source://rbi//lib/rbi/model.rb#674
|
1206
1251
|
class RBI::OptParam < ::RBI::Param
|
1207
|
-
# source://rbi//lib/rbi/model.rb#
|
1252
|
+
# source://rbi//lib/rbi/model.rb#689
|
1208
1253
|
sig do
|
1209
1254
|
params(
|
1210
1255
|
name: ::String,
|
@@ -1216,7 +1261,7 @@ class RBI::OptParam < ::RBI::Param
|
|
1216
1261
|
end
|
1217
1262
|
def initialize(name, value, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
1218
1263
|
|
1219
|
-
# source://rbi//lib/rbi/model.rb#
|
1264
|
+
# source://rbi//lib/rbi/model.rb#696
|
1220
1265
|
sig { params(other: T.nilable(::Object)).returns(T::Boolean) }
|
1221
1266
|
def ==(other); end
|
1222
1267
|
|
@@ -1228,18 +1273,18 @@ class RBI::OptParam < ::RBI::Param
|
|
1228
1273
|
sig { override.params(v: ::RBI::Printer, last: T::Boolean).void }
|
1229
1274
|
def print_comment_leading_space(v, last:); end
|
1230
1275
|
|
1231
|
-
# source://rbi//lib/rbi/model.rb#
|
1276
|
+
# source://rbi//lib/rbi/model.rb#678
|
1232
1277
|
sig { returns(::String) }
|
1233
1278
|
def value; end
|
1234
1279
|
end
|
1235
1280
|
|
1236
1281
|
# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
|
1237
1282
|
#
|
1238
|
-
# source://rbi//lib/rbi/model.rb#
|
1283
|
+
# source://rbi//lib/rbi/model.rb#625
|
1239
1284
|
class RBI::Param < ::RBI::NodeWithComments
|
1240
1285
|
abstract!
|
1241
1286
|
|
1242
|
-
# source://rbi//lib/rbi/model.rb#
|
1287
|
+
# source://rbi//lib/rbi/model.rb#641
|
1243
1288
|
sig { params(name: ::String, loc: T.nilable(::RBI::Loc), comments: T::Array[::RBI::Comment]).void }
|
1244
1289
|
def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil)); end
|
1245
1290
|
|
@@ -1251,7 +1296,7 @@ class RBI::Param < ::RBI::NodeWithComments
|
|
1251
1296
|
sig { returns(T::Array[::String]) }
|
1252
1297
|
def comments_lines; end
|
1253
1298
|
|
1254
|
-
# source://rbi//lib/rbi/model.rb#
|
1299
|
+
# source://rbi//lib/rbi/model.rb#632
|
1255
1300
|
sig { returns(::String) }
|
1256
1301
|
def name; end
|
1257
1302
|
|
@@ -1259,7 +1304,7 @@ class RBI::Param < ::RBI::NodeWithComments
|
|
1259
1304
|
sig { params(v: ::RBI::Printer, last: T::Boolean).void }
|
1260
1305
|
def print_comment_leading_space(v, last:); end
|
1261
1306
|
|
1262
|
-
# source://rbi//lib/rbi/model.rb#
|
1307
|
+
# source://rbi//lib/rbi/model.rb#647
|
1263
1308
|
sig { override.returns(::String) }
|
1264
1309
|
def to_s; end
|
1265
1310
|
end
|
@@ -1566,9 +1611,9 @@ class RBI::Printer < ::RBI::Visitor
|
|
1566
1611
|
def visit_file(file); end
|
1567
1612
|
end
|
1568
1613
|
|
1569
|
-
# source://rbi//lib/rbi/model.rb#
|
1614
|
+
# source://rbi//lib/rbi/model.rb#982
|
1570
1615
|
class RBI::Private < ::RBI::Visibility
|
1571
|
-
# source://rbi//lib/rbi/model.rb#
|
1616
|
+
# source://rbi//lib/rbi/model.rb#992
|
1572
1617
|
sig do
|
1573
1618
|
params(
|
1574
1619
|
loc: T.nilable(::RBI::Loc),
|
@@ -1579,9 +1624,9 @@ class RBI::Private < ::RBI::Visibility
|
|
1579
1624
|
def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
1580
1625
|
end
|
1581
1626
|
|
1582
|
-
# source://rbi//lib/rbi/model.rb#
|
1627
|
+
# source://rbi//lib/rbi/model.rb#966
|
1583
1628
|
class RBI::Protected < ::RBI::Visibility
|
1584
|
-
# source://rbi//lib/rbi/model.rb#
|
1629
|
+
# source://rbi//lib/rbi/model.rb#976
|
1585
1630
|
sig do
|
1586
1631
|
params(
|
1587
1632
|
loc: T.nilable(::RBI::Loc),
|
@@ -1592,9 +1637,9 @@ class RBI::Protected < ::RBI::Visibility
|
|
1592
1637
|
def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
1593
1638
|
end
|
1594
1639
|
|
1595
|
-
# source://rbi//lib/rbi/model.rb#
|
1640
|
+
# source://rbi//lib/rbi/model.rb#950
|
1596
1641
|
class RBI::Public < ::RBI::Visibility
|
1597
|
-
# source://rbi//lib/rbi/model.rb#
|
1642
|
+
# source://rbi//lib/rbi/model.rb#960
|
1598
1643
|
sig do
|
1599
1644
|
params(
|
1600
1645
|
loc: T.nilable(::RBI::Loc),
|
@@ -1605,9 +1650,9 @@ class RBI::Public < ::RBI::Visibility
|
|
1605
1650
|
def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
1606
1651
|
end
|
1607
1652
|
|
1608
|
-
# source://rbi//lib/rbi/model.rb#
|
1653
|
+
# source://rbi//lib/rbi/model.rb#652
|
1609
1654
|
class RBI::ReqParam < ::RBI::Param
|
1610
|
-
# source://rbi//lib/rbi/model.rb#
|
1655
|
+
# source://rbi//lib/rbi/model.rb#663
|
1611
1656
|
sig do
|
1612
1657
|
params(
|
1613
1658
|
name: ::String,
|
@@ -1618,16 +1663,16 @@ class RBI::ReqParam < ::RBI::Param
|
|
1618
1663
|
end
|
1619
1664
|
def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
1620
1665
|
|
1621
|
-
# source://rbi//lib/rbi/model.rb#
|
1666
|
+
# source://rbi//lib/rbi/model.rb#669
|
1622
1667
|
sig { params(other: T.nilable(::Object)).returns(T::Boolean) }
|
1623
1668
|
def ==(other); end
|
1624
1669
|
end
|
1625
1670
|
|
1626
|
-
# source://rbi//lib/rbi/model.rb#
|
1671
|
+
# source://rbi//lib/rbi/model.rb#1456
|
1627
1672
|
class RBI::RequiresAncestor < ::RBI::NodeWithComments
|
1628
1673
|
include ::RBI::Indexable
|
1629
1674
|
|
1630
|
-
# source://rbi//lib/rbi/model.rb#
|
1675
|
+
# source://rbi//lib/rbi/model.rb#1469
|
1631
1676
|
sig { params(name: ::String, loc: T.nilable(::RBI::Loc), comments: T::Array[::RBI::Comment]).void }
|
1632
1677
|
def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil)); end
|
1633
1678
|
|
@@ -1639,18 +1684,18 @@ class RBI::RequiresAncestor < ::RBI::NodeWithComments
|
|
1639
1684
|
sig { override.returns(T::Array[::String]) }
|
1640
1685
|
def index_ids; end
|
1641
1686
|
|
1642
|
-
# source://rbi//lib/rbi/model.rb#
|
1687
|
+
# source://rbi//lib/rbi/model.rb#1460
|
1643
1688
|
sig { returns(::String) }
|
1644
1689
|
def name; end
|
1645
1690
|
|
1646
|
-
# source://rbi//lib/rbi/model.rb#
|
1691
|
+
# source://rbi//lib/rbi/model.rb#1475
|
1647
1692
|
sig { override.returns(::String) }
|
1648
1693
|
def to_s; end
|
1649
1694
|
end
|
1650
1695
|
|
1651
|
-
# source://rbi//lib/rbi/model.rb#
|
1696
|
+
# source://rbi//lib/rbi/model.rb#701
|
1652
1697
|
class RBI::RestParam < ::RBI::Param
|
1653
|
-
# source://rbi//lib/rbi/model.rb#
|
1698
|
+
# source://rbi//lib/rbi/model.rb#712
|
1654
1699
|
sig do
|
1655
1700
|
params(
|
1656
1701
|
name: ::String,
|
@@ -1661,7 +1706,7 @@ class RBI::RestParam < ::RBI::Param
|
|
1661
1706
|
end
|
1662
1707
|
def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
1663
1708
|
|
1664
|
-
# source://rbi//lib/rbi/model.rb#
|
1709
|
+
# source://rbi//lib/rbi/model.rb#723
|
1665
1710
|
sig { params(other: T.nilable(::Object)).returns(T::Boolean) }
|
1666
1711
|
def ==(other); end
|
1667
1712
|
|
@@ -1673,7 +1718,7 @@ class RBI::RestParam < ::RBI::Param
|
|
1673
1718
|
sig { override.params(v: ::RBI::Printer, last: T::Boolean).void }
|
1674
1719
|
def print_comment_leading_space(v, last:); end
|
1675
1720
|
|
1676
|
-
# source://rbi//lib/rbi/model.rb#
|
1721
|
+
# source://rbi//lib/rbi/model.rb#718
|
1677
1722
|
sig { override.returns(::String) }
|
1678
1723
|
def to_s; end
|
1679
1724
|
end
|
@@ -1900,7 +1945,7 @@ class RBI::Rewriters::Merge::Conflict < ::T::Struct
|
|
1900
1945
|
def to_s; end
|
1901
1946
|
|
1902
1947
|
class << self
|
1903
|
-
# source://sorbet-runtime/0.5.
|
1948
|
+
# source://sorbet-runtime/0.5.11394/lib/types/struct.rb#13
|
1904
1949
|
def inherited(s); end
|
1905
1950
|
end
|
1906
1951
|
end
|
@@ -2117,7 +2162,7 @@ class RBI::Rewriters::RemoveKnownDefinitions::Operation < ::T::Struct
|
|
2117
2162
|
def to_s; end
|
2118
2163
|
|
2119
2164
|
class << self
|
2120
|
-
# source://sorbet-runtime/0.5.
|
2165
|
+
# source://sorbet-runtime/0.5.11394/lib/types/struct.rb#13
|
2121
2166
|
def inherited(s); end
|
2122
2167
|
end
|
2123
2168
|
end
|
@@ -2231,11 +2276,11 @@ end
|
|
2231
2276
|
|
2232
2277
|
# Sends
|
2233
2278
|
#
|
2234
|
-
# source://rbi//lib/rbi/model.rb#
|
2279
|
+
# source://rbi//lib/rbi/model.rb#1000
|
2235
2280
|
class RBI::Send < ::RBI::NodeWithComments
|
2236
2281
|
include ::RBI::Indexable
|
2237
2282
|
|
2238
|
-
# source://rbi//lib/rbi/model.rb#
|
2283
|
+
# source://rbi//lib/rbi/model.rb#1018
|
2239
2284
|
sig do
|
2240
2285
|
params(
|
2241
2286
|
method: ::String,
|
@@ -2247,11 +2292,11 @@ class RBI::Send < ::RBI::NodeWithComments
|
|
2247
2292
|
end
|
2248
2293
|
def initialize(method, args = T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
2249
2294
|
|
2250
|
-
# source://rbi//lib/rbi/model.rb#
|
2295
|
+
# source://rbi//lib/rbi/model.rb#1026
|
2251
2296
|
sig { params(arg: ::RBI::Arg).void }
|
2252
2297
|
def <<(arg); end
|
2253
2298
|
|
2254
|
-
# source://rbi//lib/rbi/model.rb#
|
2299
|
+
# source://rbi//lib/rbi/model.rb#1031
|
2255
2300
|
sig { params(other: T.nilable(::Object)).returns(T::Boolean) }
|
2256
2301
|
def ==(other); end
|
2257
2302
|
|
@@ -2259,7 +2304,7 @@ class RBI::Send < ::RBI::NodeWithComments
|
|
2259
2304
|
sig { override.params(v: ::RBI::Printer).void }
|
2260
2305
|
def accept_printer(v); end
|
2261
2306
|
|
2262
|
-
# source://rbi//lib/rbi/model.rb#
|
2307
|
+
# source://rbi//lib/rbi/model.rb#1007
|
2263
2308
|
sig { returns(T::Array[::RBI::Arg]) }
|
2264
2309
|
def args; end
|
2265
2310
|
|
@@ -2271,20 +2316,20 @@ class RBI::Send < ::RBI::NodeWithComments
|
|
2271
2316
|
sig { override.returns(T::Array[::String]) }
|
2272
2317
|
def index_ids; end
|
2273
2318
|
|
2274
|
-
# source://rbi//lib/rbi/model.rb#
|
2319
|
+
# source://rbi//lib/rbi/model.rb#1004
|
2275
2320
|
sig { returns(::String) }
|
2276
2321
|
def method; end
|
2277
2322
|
|
2278
|
-
# source://rbi//lib/rbi/model.rb#
|
2323
|
+
# source://rbi//lib/rbi/model.rb#1036
|
2279
2324
|
sig { returns(::String) }
|
2280
2325
|
def to_s; end
|
2281
2326
|
end
|
2282
2327
|
|
2283
2328
|
# Sorbet's sigs
|
2284
2329
|
#
|
2285
|
-
# source://rbi//lib/rbi/model.rb#
|
2330
|
+
# source://rbi//lib/rbi/model.rb#1100
|
2286
2331
|
class RBI::Sig < ::RBI::Node
|
2287
|
-
# source://rbi//lib/rbi/model.rb#
|
2332
|
+
# source://rbi//lib/rbi/model.rb#1132
|
2288
2333
|
sig do
|
2289
2334
|
params(
|
2290
2335
|
params: T::Array[::RBI::SigParam],
|
@@ -2301,11 +2346,11 @@ class RBI::Sig < ::RBI::Node
|
|
2301
2346
|
end
|
2302
2347
|
def initialize(params: T.unsafe(nil), return_type: T.unsafe(nil), is_abstract: T.unsafe(nil), is_override: T.unsafe(nil), is_overridable: T.unsafe(nil), is_final: T.unsafe(nil), type_params: T.unsafe(nil), checked: T.unsafe(nil), loc: T.unsafe(nil), &block); end
|
2303
2348
|
|
2304
|
-
# source://rbi//lib/rbi/model.rb#
|
2349
|
+
# source://rbi//lib/rbi/model.rb#1157
|
2305
2350
|
sig { params(param: ::RBI::SigParam).void }
|
2306
2351
|
def <<(param); end
|
2307
2352
|
|
2308
|
-
# source://rbi//lib/rbi/model.rb#
|
2353
|
+
# source://rbi//lib/rbi/model.rb#1167
|
2309
2354
|
sig { params(other: ::Object).returns(T::Boolean) }
|
2310
2355
|
def ==(other); end
|
2311
2356
|
|
@@ -2313,76 +2358,80 @@ class RBI::Sig < ::RBI::Node
|
|
2313
2358
|
sig { override.params(v: ::RBI::Printer).void }
|
2314
2359
|
def accept_printer(v); end
|
2315
2360
|
|
2316
|
-
# source://rbi//lib/rbi/model.rb#
|
2361
|
+
# source://rbi//lib/rbi/model.rb#1162
|
2362
|
+
sig { params(name: ::String, type: ::String).void }
|
2363
|
+
def add_param(name, type); end
|
2364
|
+
|
2365
|
+
# source://rbi//lib/rbi/model.rb#1116
|
2317
2366
|
sig { returns(T.nilable(::Symbol)) }
|
2318
2367
|
def checked; end
|
2319
2368
|
|
2320
2369
|
# @return [Symbol, nil]
|
2321
2370
|
#
|
2322
|
-
# source://rbi//lib/rbi/model.rb#
|
2371
|
+
# source://rbi//lib/rbi/model.rb#1116
|
2323
2372
|
def checked=(_arg0); end
|
2324
2373
|
|
2325
2374
|
# source://rbi//lib/rbi/printer.rb#656
|
2326
2375
|
sig { returns(T::Boolean) }
|
2327
2376
|
def inline_params?; end
|
2328
2377
|
|
2329
|
-
# source://rbi//lib/rbi/model.rb#
|
2378
|
+
# source://rbi//lib/rbi/model.rb#1110
|
2330
2379
|
sig { returns(T::Boolean) }
|
2331
2380
|
def is_abstract; end
|
2332
2381
|
|
2333
2382
|
# @return [Boolean]
|
2334
2383
|
#
|
2335
|
-
# source://rbi//lib/rbi/model.rb#
|
2384
|
+
# source://rbi//lib/rbi/model.rb#1110
|
2336
2385
|
def is_abstract=(_arg0); end
|
2337
2386
|
|
2338
2387
|
# @return [Boolean]
|
2339
2388
|
#
|
2340
|
-
# source://rbi//lib/rbi/model.rb#
|
2389
|
+
# source://rbi//lib/rbi/model.rb#1110
|
2341
2390
|
def is_final; end
|
2342
2391
|
|
2343
2392
|
# @return [Boolean]
|
2344
2393
|
#
|
2345
|
-
# source://rbi//lib/rbi/model.rb#
|
2394
|
+
# source://rbi//lib/rbi/model.rb#1110
|
2346
2395
|
def is_final=(_arg0); end
|
2347
2396
|
|
2348
2397
|
# @return [Boolean]
|
2349
2398
|
#
|
2350
|
-
# source://rbi//lib/rbi/model.rb#
|
2399
|
+
# source://rbi//lib/rbi/model.rb#1110
|
2351
2400
|
def is_overridable; end
|
2352
2401
|
|
2353
2402
|
# @return [Boolean]
|
2354
2403
|
#
|
2355
|
-
# source://rbi//lib/rbi/model.rb#
|
2404
|
+
# source://rbi//lib/rbi/model.rb#1110
|
2356
2405
|
def is_overridable=(_arg0); end
|
2357
2406
|
|
2358
2407
|
# @return [Boolean]
|
2359
2408
|
#
|
2360
|
-
# source://rbi//lib/rbi/model.rb#
|
2409
|
+
# source://rbi//lib/rbi/model.rb#1110
|
2361
2410
|
def is_override; end
|
2362
2411
|
|
2363
2412
|
# @return [Boolean]
|
2364
2413
|
#
|
2365
|
-
# source://rbi//lib/rbi/model.rb#
|
2414
|
+
# source://rbi//lib/rbi/model.rb#1110
|
2366
2415
|
def is_override=(_arg0); end
|
2367
2416
|
|
2368
2417
|
# source://rbi//lib/rbi/printer.rb#651
|
2369
2418
|
sig { override.returns(T::Boolean) }
|
2370
2419
|
def oneline?; end
|
2371
2420
|
|
2372
|
-
# source://rbi//lib/rbi/model.rb#
|
2421
|
+
# source://rbi//lib/rbi/model.rb#1104
|
2373
2422
|
sig { returns(T::Array[::RBI::SigParam]) }
|
2374
2423
|
def params; end
|
2375
2424
|
|
2376
|
-
# source://rbi//lib/rbi/model.rb#
|
2425
|
+
# source://rbi//lib/rbi/model.rb#1107
|
2377
2426
|
sig { returns(T.nilable(::String)) }
|
2378
2427
|
def return_type; end
|
2379
2428
|
|
2380
2429
|
# @return [String, nil]
|
2381
2430
|
#
|
2382
|
-
# source://rbi//lib/rbi/model.rb#
|
2431
|
+
# source://rbi//lib/rbi/model.rb#1107
|
2383
2432
|
def return_type=(_arg0); end
|
2384
2433
|
|
2385
|
-
# source://rbi//lib/rbi/model.rb#
|
2434
|
+
# source://rbi//lib/rbi/model.rb#1113
|
2386
2435
|
sig { returns(T::Array[::String]) }
|
2387
2436
|
def type_params; end
|
2388
2437
|
|
@@ -2401,9 +2450,9 @@ class RBI::Sig < ::RBI::Node
|
|
2401
2450
|
def sig_modifiers; end
|
2402
2451
|
end
|
2403
2452
|
|
2404
|
-
# source://rbi//lib/rbi/model.rb#
|
2453
|
+
# source://rbi//lib/rbi/model.rb#1176
|
2405
2454
|
class RBI::SigParam < ::RBI::NodeWithComments
|
2406
|
-
# source://rbi//lib/rbi/model.rb#
|
2455
|
+
# source://rbi//lib/rbi/model.rb#1191
|
2407
2456
|
sig do
|
2408
2457
|
params(
|
2409
2458
|
name: ::String,
|
@@ -2415,7 +2464,7 @@ class RBI::SigParam < ::RBI::NodeWithComments
|
|
2415
2464
|
end
|
2416
2465
|
def initialize(name, type, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
2417
2466
|
|
2418
|
-
# source://rbi//lib/rbi/model.rb#
|
2467
|
+
# source://rbi//lib/rbi/model.rb#1199
|
2419
2468
|
sig { params(other: ::Object).returns(T::Boolean) }
|
2420
2469
|
def ==(other); end
|
2421
2470
|
|
@@ -2427,7 +2476,7 @@ class RBI::SigParam < ::RBI::NodeWithComments
|
|
2427
2476
|
sig { returns(T::Array[::String]) }
|
2428
2477
|
def comments_lines; end
|
2429
2478
|
|
2430
|
-
# source://rbi//lib/rbi/model.rb#
|
2479
|
+
# source://rbi//lib/rbi/model.rb#1180
|
2431
2480
|
sig { returns(::String) }
|
2432
2481
|
def name; end
|
2433
2482
|
|
@@ -2437,7 +2486,7 @@ class RBI::SigParam < ::RBI::NodeWithComments
|
|
2437
2486
|
|
2438
2487
|
# @return [String]
|
2439
2488
|
#
|
2440
|
-
# source://rbi//lib/rbi/model.rb#
|
2489
|
+
# source://rbi//lib/rbi/model.rb#1180
|
2441
2490
|
def type; end
|
2442
2491
|
end
|
2443
2492
|
|
@@ -2519,9 +2568,9 @@ end
|
|
2519
2568
|
|
2520
2569
|
# Sorbet's T::Enum
|
2521
2570
|
#
|
2522
|
-
# source://rbi//lib/rbi/model.rb#
|
2571
|
+
# source://rbi//lib/rbi/model.rb#1317
|
2523
2572
|
class RBI::TEnum < ::RBI::Class
|
2524
|
-
# source://rbi//lib/rbi/model.rb#
|
2573
|
+
# source://rbi//lib/rbi/model.rb#1328
|
2525
2574
|
sig do
|
2526
2575
|
params(
|
2527
2576
|
name: ::String,
|
@@ -2533,11 +2582,11 @@ class RBI::TEnum < ::RBI::Class
|
|
2533
2582
|
def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
2534
2583
|
end
|
2535
2584
|
|
2536
|
-
# source://rbi//lib/rbi/model.rb#
|
2585
|
+
# source://rbi//lib/rbi/model.rb#1334
|
2537
2586
|
class RBI::TEnumBlock < ::RBI::NodeWithComments
|
2538
2587
|
include ::RBI::Indexable
|
2539
2588
|
|
2540
|
-
# source://rbi//lib/rbi/model.rb#
|
2589
|
+
# source://rbi//lib/rbi/model.rb#1348
|
2541
2590
|
sig do
|
2542
2591
|
params(
|
2543
2592
|
names: T::Array[::String],
|
@@ -2548,7 +2597,7 @@ class RBI::TEnumBlock < ::RBI::NodeWithComments
|
|
2548
2597
|
end
|
2549
2598
|
def initialize(names = T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
2550
2599
|
|
2551
|
-
# source://rbi//lib/rbi/model.rb#
|
2600
|
+
# source://rbi//lib/rbi/model.rb#1360
|
2552
2601
|
sig { params(name: ::String).void }
|
2553
2602
|
def <<(name); end
|
2554
2603
|
|
@@ -2556,7 +2605,7 @@ class RBI::TEnumBlock < ::RBI::NodeWithComments
|
|
2556
2605
|
sig { override.params(v: ::RBI::Printer).void }
|
2557
2606
|
def accept_printer(v); end
|
2558
2607
|
|
2559
|
-
# source://rbi//lib/rbi/model.rb#
|
2608
|
+
# source://rbi//lib/rbi/model.rb#1355
|
2560
2609
|
sig { returns(T::Boolean) }
|
2561
2610
|
def empty?; end
|
2562
2611
|
|
@@ -2568,20 +2617,20 @@ class RBI::TEnumBlock < ::RBI::NodeWithComments
|
|
2568
2617
|
sig { override.params(other: ::RBI::Node).void }
|
2569
2618
|
def merge_with(other); end
|
2570
2619
|
|
2571
|
-
# source://rbi//lib/rbi/model.rb#
|
2620
|
+
# source://rbi//lib/rbi/model.rb#1338
|
2572
2621
|
sig { returns(T::Array[::String]) }
|
2573
2622
|
def names; end
|
2574
2623
|
|
2575
|
-
# source://rbi//lib/rbi/model.rb#
|
2624
|
+
# source://rbi//lib/rbi/model.rb#1365
|
2576
2625
|
sig { override.returns(::String) }
|
2577
2626
|
def to_s; end
|
2578
2627
|
end
|
2579
2628
|
|
2580
2629
|
# Sorbet's T::Struct
|
2581
2630
|
#
|
2582
|
-
# source://rbi//lib/rbi/model.rb#
|
2631
|
+
# source://rbi//lib/rbi/model.rb#1206
|
2583
2632
|
class RBI::TStruct < ::RBI::Class
|
2584
|
-
# source://rbi//lib/rbi/model.rb#
|
2633
|
+
# source://rbi//lib/rbi/model.rb#1217
|
2585
2634
|
sig do
|
2586
2635
|
params(
|
2587
2636
|
name: ::String,
|
@@ -2593,11 +2642,11 @@ class RBI::TStruct < ::RBI::Class
|
|
2593
2642
|
def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
2594
2643
|
end
|
2595
2644
|
|
2596
|
-
# source://rbi//lib/rbi/model.rb#
|
2645
|
+
# source://rbi//lib/rbi/model.rb#1255
|
2597
2646
|
class RBI::TStructConst < ::RBI::TStructField
|
2598
2647
|
include ::RBI::Indexable
|
2599
2648
|
|
2600
|
-
# source://rbi//lib/rbi/model.rb#
|
2649
|
+
# source://rbi//lib/rbi/model.rb#1268
|
2601
2650
|
sig do
|
2602
2651
|
params(
|
2603
2652
|
name: ::String,
|
@@ -2614,7 +2663,7 @@ class RBI::TStructConst < ::RBI::TStructField
|
|
2614
2663
|
sig { override.params(other: ::RBI::Node).returns(T::Boolean) }
|
2615
2664
|
def compatible_with?(other); end
|
2616
2665
|
|
2617
|
-
# source://rbi//lib/rbi/model.rb#
|
2666
|
+
# source://rbi//lib/rbi/model.rb#1274
|
2618
2667
|
sig { override.returns(T::Array[::String]) }
|
2619
2668
|
def fully_qualified_names; end
|
2620
2669
|
|
@@ -2622,18 +2671,18 @@ class RBI::TStructConst < ::RBI::TStructField
|
|
2622
2671
|
sig { override.returns(T::Array[::String]) }
|
2623
2672
|
def index_ids; end
|
2624
2673
|
|
2625
|
-
# source://rbi//lib/rbi/model.rb#
|
2674
|
+
# source://rbi//lib/rbi/model.rb#1280
|
2626
2675
|
sig { override.returns(::String) }
|
2627
2676
|
def to_s; end
|
2628
2677
|
end
|
2629
2678
|
|
2630
2679
|
# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
|
2631
2680
|
#
|
2632
|
-
# source://rbi//lib/rbi/model.rb#
|
2681
|
+
# source://rbi//lib/rbi/model.rb#1223
|
2633
2682
|
class RBI::TStructField < ::RBI::NodeWithComments
|
2634
2683
|
abstract!
|
2635
2684
|
|
2636
|
-
# source://rbi//lib/rbi/model.rb#
|
2685
|
+
# source://rbi//lib/rbi/model.rb#1244
|
2637
2686
|
sig do
|
2638
2687
|
params(
|
2639
2688
|
name: ::String,
|
@@ -2653,46 +2702,46 @@ class RBI::TStructField < ::RBI::NodeWithComments
|
|
2653
2702
|
sig { override.params(other: ::RBI::Node).returns(T::Boolean) }
|
2654
2703
|
def compatible_with?(other); end
|
2655
2704
|
|
2656
|
-
# source://rbi//lib/rbi/model.rb#
|
2705
|
+
# source://rbi//lib/rbi/model.rb#1233
|
2657
2706
|
sig { returns(T.nilable(::String)) }
|
2658
2707
|
def default; end
|
2659
2708
|
|
2660
2709
|
# @return [String, nil]
|
2661
2710
|
#
|
2662
|
-
# source://rbi//lib/rbi/model.rb#
|
2711
|
+
# source://rbi//lib/rbi/model.rb#1233
|
2663
2712
|
def default=(_arg0); end
|
2664
2713
|
|
2665
2714
|
# @abstract
|
2666
2715
|
#
|
2667
|
-
# source://rbi//lib/rbi/model.rb#
|
2716
|
+
# source://rbi//lib/rbi/model.rb#1252
|
2668
2717
|
sig { abstract.returns(T::Array[::String]) }
|
2669
2718
|
def fully_qualified_names; end
|
2670
2719
|
|
2671
|
-
# source://rbi//lib/rbi/model.rb#
|
2720
|
+
# source://rbi//lib/rbi/model.rb#1230
|
2672
2721
|
sig { returns(::String) }
|
2673
2722
|
def name; end
|
2674
2723
|
|
2675
2724
|
# @return [String]
|
2676
2725
|
#
|
2677
|
-
# source://rbi//lib/rbi/model.rb#
|
2726
|
+
# source://rbi//lib/rbi/model.rb#1230
|
2678
2727
|
def name=(_arg0); end
|
2679
2728
|
|
2680
2729
|
# @return [String]
|
2681
2730
|
#
|
2682
|
-
# source://rbi//lib/rbi/model.rb#
|
2731
|
+
# source://rbi//lib/rbi/model.rb#1230
|
2683
2732
|
def type; end
|
2684
2733
|
|
2685
2734
|
# @return [String]
|
2686
2735
|
#
|
2687
|
-
# source://rbi//lib/rbi/model.rb#
|
2736
|
+
# source://rbi//lib/rbi/model.rb#1230
|
2688
2737
|
def type=(_arg0); end
|
2689
2738
|
end
|
2690
2739
|
|
2691
|
-
# source://rbi//lib/rbi/model.rb#
|
2740
|
+
# source://rbi//lib/rbi/model.rb#1285
|
2692
2741
|
class RBI::TStructProp < ::RBI::TStructField
|
2693
2742
|
include ::RBI::Indexable
|
2694
2743
|
|
2695
|
-
# source://rbi//lib/rbi/model.rb#
|
2744
|
+
# source://rbi//lib/rbi/model.rb#1298
|
2696
2745
|
sig do
|
2697
2746
|
params(
|
2698
2747
|
name: ::String,
|
@@ -2709,7 +2758,7 @@ class RBI::TStructProp < ::RBI::TStructField
|
|
2709
2758
|
sig { override.params(other: ::RBI::Node).returns(T::Boolean) }
|
2710
2759
|
def compatible_with?(other); end
|
2711
2760
|
|
2712
|
-
# source://rbi//lib/rbi/model.rb#
|
2761
|
+
# source://rbi//lib/rbi/model.rb#1304
|
2713
2762
|
sig { override.returns(T::Array[::String]) }
|
2714
2763
|
def fully_qualified_names; end
|
2715
2764
|
|
@@ -2717,7 +2766,7 @@ class RBI::TStructProp < ::RBI::TStructField
|
|
2717
2766
|
sig { override.returns(T::Array[::String]) }
|
2718
2767
|
def index_ids; end
|
2719
2768
|
|
2720
|
-
# source://rbi//lib/rbi/model.rb#
|
2769
|
+
# source://rbi//lib/rbi/model.rb#1310
|
2721
2770
|
sig { override.returns(::String) }
|
2722
2771
|
def to_s; end
|
2723
2772
|
end
|
@@ -2750,7 +2799,7 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|
2750
2799
|
sig { params(annotation: ::String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void }
|
2751
2800
|
def annotate!(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end
|
2752
2801
|
|
2753
|
-
# source://tapioca/0.
|
2802
|
+
# source://tapioca/0.14.2/lib/tapioca/rbi_ext/model.rb#38
|
2754
2803
|
sig do
|
2755
2804
|
params(
|
2756
2805
|
name: ::String,
|
@@ -2760,19 +2809,19 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|
2760
2809
|
end
|
2761
2810
|
def create_class(name, superclass_name: T.unsafe(nil), &block); end
|
2762
2811
|
|
2763
|
-
# source://tapioca/0.
|
2812
|
+
# source://tapioca/0.14.2/lib/tapioca/rbi_ext/model.rb#45
|
2764
2813
|
sig { params(name: ::String, value: ::String).void }
|
2765
2814
|
def create_constant(name, value:); end
|
2766
2815
|
|
2767
|
-
# source://tapioca/0.
|
2816
|
+
# source://tapioca/0.14.2/lib/tapioca/rbi_ext/model.rb#55
|
2768
2817
|
sig { params(name: ::String).void }
|
2769
2818
|
def create_extend(name); end
|
2770
2819
|
|
2771
|
-
# source://tapioca/0.
|
2820
|
+
# source://tapioca/0.14.2/lib/tapioca/rbi_ext/model.rb#50
|
2772
2821
|
sig { params(name: ::String).void }
|
2773
2822
|
def create_include(name); end
|
2774
2823
|
|
2775
|
-
# source://tapioca/0.
|
2824
|
+
# source://tapioca/0.14.2/lib/tapioca/rbi_ext/model.rb#89
|
2776
2825
|
sig do
|
2777
2826
|
params(
|
2778
2827
|
name: ::String,
|
@@ -2785,19 +2834,42 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|
2785
2834
|
end
|
2786
2835
|
def create_method(name, parameters: T.unsafe(nil), return_type: T.unsafe(nil), class_method: T.unsafe(nil), visibility: T.unsafe(nil), comments: T.unsafe(nil)); end
|
2787
2836
|
|
2788
|
-
# source://tapioca/0.
|
2837
|
+
# source://tapioca/0.14.2/lib/tapioca/rbi_ext/model.rb#113
|
2838
|
+
sig do
|
2839
|
+
params(
|
2840
|
+
name: ::String,
|
2841
|
+
sigs: T::Array[::RBI::Sig],
|
2842
|
+
parameters: T::Array[::RBI::Param],
|
2843
|
+
class_method: T::Boolean,
|
2844
|
+
visibility: ::RBI::Visibility,
|
2845
|
+
comments: T::Array[::RBI::Comment]
|
2846
|
+
).void
|
2847
|
+
end
|
2848
|
+
def create_method_with_sigs(name, sigs:, parameters: T.unsafe(nil), class_method: T.unsafe(nil), visibility: T.unsafe(nil), comments: T.unsafe(nil)); end
|
2849
|
+
|
2850
|
+
# source://tapioca/0.14.2/lib/tapioca/rbi_ext/model.rb#60
|
2789
2851
|
sig { params(name: ::String).void }
|
2790
2852
|
def create_mixes_in_class_methods(name); end
|
2791
2853
|
|
2792
|
-
# source://tapioca/0.
|
2854
|
+
# source://tapioca/0.14.2/lib/tapioca/rbi_ext/model.rb#25
|
2793
2855
|
sig { params(name: ::String, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).returns(::RBI::Scope) }
|
2794
2856
|
def create_module(name, &block); end
|
2795
2857
|
|
2796
|
-
# source://tapioca/0.
|
2858
|
+
# source://tapioca/0.14.2/lib/tapioca/rbi_ext/model.rb#9
|
2797
2859
|
sig { params(constant: ::Module, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).returns(::RBI::Scope) }
|
2798
2860
|
def create_path(constant, &block); end
|
2799
2861
|
|
2800
|
-
# source://tapioca/0.
|
2862
|
+
# source://tapioca/0.14.2/lib/tapioca/rbi_ext/model.rb#135
|
2863
|
+
sig do
|
2864
|
+
params(
|
2865
|
+
parameters: T::Hash[T.any(::String, ::Symbol), ::String],
|
2866
|
+
type_parameters: T::Array[::String],
|
2867
|
+
return_type: ::String
|
2868
|
+
).returns(::RBI::Sig)
|
2869
|
+
end
|
2870
|
+
def create_sig(parameters:, type_parameters: T.unsafe(nil), return_type: T.unsafe(nil)); end
|
2871
|
+
|
2872
|
+
# source://tapioca/0.14.2/lib/tapioca/rbi_ext/model.rb#74
|
2801
2873
|
sig do
|
2802
2874
|
params(
|
2803
2875
|
name: ::String,
|
@@ -2863,20 +2935,20 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|
2863
2935
|
|
2864
2936
|
private
|
2865
2937
|
|
2866
|
-
# source://tapioca/0.
|
2938
|
+
# source://tapioca/0.14.2/lib/tapioca/rbi_ext/model.rb#150
|
2867
2939
|
sig { params(node: ::RBI::Node).returns(::RBI::Node) }
|
2868
2940
|
def create_node(node); end
|
2869
2941
|
|
2870
|
-
# source://tapioca/0.
|
2942
|
+
# source://tapioca/0.14.2/lib/tapioca/rbi_ext/model.rb#145
|
2871
2943
|
sig { returns(T::Hash[::String, ::RBI::Node]) }
|
2872
2944
|
def nodes_cache; end
|
2873
2945
|
end
|
2874
2946
|
|
2875
|
-
# source://rbi//lib/rbi/model.rb#
|
2947
|
+
# source://rbi//lib/rbi/model.rb#1398
|
2876
2948
|
class RBI::TypeMember < ::RBI::NodeWithComments
|
2877
2949
|
include ::RBI::Indexable
|
2878
2950
|
|
2879
|
-
# source://rbi//lib/rbi/model.rb#
|
2951
|
+
# source://rbi//lib/rbi/model.rb#1413
|
2880
2952
|
sig do
|
2881
2953
|
params(
|
2882
2954
|
name: ::String,
|
@@ -2892,7 +2964,7 @@ class RBI::TypeMember < ::RBI::NodeWithComments
|
|
2892
2964
|
sig { override.params(v: ::RBI::Printer).void }
|
2893
2965
|
def accept_printer(v); end
|
2894
2966
|
|
2895
|
-
# source://rbi//lib/rbi/model.rb#
|
2967
|
+
# source://rbi//lib/rbi/model.rb#1421
|
2896
2968
|
sig { returns(::String) }
|
2897
2969
|
def fully_qualified_name; end
|
2898
2970
|
|
@@ -2900,17 +2972,17 @@ class RBI::TypeMember < ::RBI::NodeWithComments
|
|
2900
2972
|
sig { override.returns(T::Array[::String]) }
|
2901
2973
|
def index_ids; end
|
2902
2974
|
|
2903
|
-
# source://rbi//lib/rbi/model.rb#
|
2975
|
+
# source://rbi//lib/rbi/model.rb#1402
|
2904
2976
|
sig { returns(::String) }
|
2905
2977
|
def name; end
|
2906
2978
|
|
2907
|
-
# source://rbi//lib/rbi/model.rb#
|
2979
|
+
# source://rbi//lib/rbi/model.rb#1428
|
2908
2980
|
sig { override.returns(::String) }
|
2909
2981
|
def to_s; end
|
2910
2982
|
|
2911
2983
|
# @return [String]
|
2912
2984
|
#
|
2913
|
-
# source://rbi//lib/rbi/model.rb#
|
2985
|
+
# source://rbi//lib/rbi/model.rb#1402
|
2914
2986
|
def value; end
|
2915
2987
|
end
|
2916
2988
|
|
@@ -2936,15 +3008,15 @@ RBI::VERSION = T.let(T.unsafe(nil), String)
|
|
2936
3008
|
#
|
2937
3009
|
# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
|
2938
3010
|
#
|
2939
|
-
# source://rbi//lib/rbi/model.rb#
|
3011
|
+
# source://rbi//lib/rbi/model.rb#914
|
2940
3012
|
class RBI::Visibility < ::RBI::NodeWithComments
|
2941
3013
|
abstract!
|
2942
3014
|
|
2943
|
-
# source://rbi//lib/rbi/model.rb#
|
3015
|
+
# source://rbi//lib/rbi/model.rb#924
|
2944
3016
|
sig { params(visibility: ::Symbol, loc: T.nilable(::RBI::Loc), comments: T::Array[::RBI::Comment]).void }
|
2945
3017
|
def initialize(visibility, loc: T.unsafe(nil), comments: T.unsafe(nil)); end
|
2946
3018
|
|
2947
|
-
# source://rbi//lib/rbi/model.rb#
|
3019
|
+
# source://rbi//lib/rbi/model.rb#930
|
2948
3020
|
sig { params(other: ::RBI::Visibility).returns(T::Boolean) }
|
2949
3021
|
def ==(other); end
|
2950
3022
|
|
@@ -2952,19 +3024,19 @@ class RBI::Visibility < ::RBI::NodeWithComments
|
|
2952
3024
|
sig { override.params(v: ::RBI::Printer).void }
|
2953
3025
|
def accept_printer(v); end
|
2954
3026
|
|
2955
|
-
# source://rbi//lib/rbi/model.rb#
|
3027
|
+
# source://rbi//lib/rbi/model.rb#945
|
2956
3028
|
sig { returns(T::Boolean) }
|
2957
3029
|
def private?; end
|
2958
3030
|
|
2959
|
-
# source://rbi//lib/rbi/model.rb#
|
3031
|
+
# source://rbi//lib/rbi/model.rb#940
|
2960
3032
|
sig { returns(T::Boolean) }
|
2961
3033
|
def protected?; end
|
2962
3034
|
|
2963
|
-
# source://rbi//lib/rbi/model.rb#
|
3035
|
+
# source://rbi//lib/rbi/model.rb#935
|
2964
3036
|
sig { returns(T::Boolean) }
|
2965
3037
|
def public?; end
|
2966
3038
|
|
2967
|
-
# source://rbi//lib/rbi/model.rb#
|
3039
|
+
# source://rbi//lib/rbi/model.rb#921
|
2968
3040
|
sig { returns(::Symbol) }
|
2969
3041
|
def visibility; end
|
2970
3042
|
end
|