geet 0.23.0 → 0.24.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/.github/workflows/ci.yml +16 -2
- data/.gitignore +0 -1
- data/.ruby-version +1 -0
- data/Gemfile +3 -6
- data/bin/geet +2 -8
- data/geet.gemspec +4 -4
- data/lib/geet/commandline/configuration.rb +0 -1
- data/lib/geet/commandline/editor.rb +0 -2
- data/lib/geet/git/repository.rb +12 -21
- data/lib/geet/github/abstract_issue.rb +0 -6
- data/lib/geet/github/api_interface.rb +0 -1
- data/lib/geet/github/issue.rb +0 -3
- data/lib/geet/github/milestone.rb +0 -2
- data/lib/geet/github/pr.rb +0 -3
- data/lib/geet/github/user.rb +0 -3
- data/lib/geet/gitlab/pr.rb +3 -1
- data/lib/geet/helpers/json_helper.rb +4 -0
- data/lib/geet/helpers/os_helper.rb +21 -7
- data/lib/geet/helpers/services_workflow_helper.rb +12 -0
- data/lib/geet/helpers/summary_helper.rb +7 -0
- data/lib/geet/services/abstract_create_issue.rb +5 -5
- data/lib/geet/services/add_upstream_repo.rb +6 -0
- data/lib/geet/services/close_milestones.rb +0 -2
- data/lib/geet/services/comment_pr.rb +0 -3
- data/lib/geet/services/create_gist.rb +0 -4
- data/lib/geet/services/create_issue.rb +0 -4
- data/lib/geet/services/create_pr.rb +4 -6
- data/lib/geet/services/list_issues.rb +0 -3
- data/lib/geet/services/merge_pr.rb +0 -2
- data/lib/geet/services/open_pr.rb +0 -3
- data/lib/geet/services/open_repo.rb +0 -2
- data/lib/geet/shared/http_error.rb +8 -2
- data/lib/geet/shared/repo_permissions.rb +7 -2
- data/lib/geet/shared/selection.rb +3 -2
- data/lib/geet/utils/attributes_selection_manager.rb +15 -4
- data/lib/geet/utils/git_client.rb +4 -1
- data/lib/geet/utils/manual_list_selection.rb +39 -14
- data/lib/geet/utils/string_matching_selection.rb +5 -0
- data/lib/geet/version.rb +1 -1
- data/lib/geet.rb +11 -0
- data/sorbet/config +3 -1
- data/sorbet/rbi/gems/{rbs@3.9.5.rbi → rbs@4.0.0.dev.5.rbi} +2013 -680
- data/sorbet/rbi/gems/require-hooks@0.2.2.rbi +110 -0
- data/sorbet/rbi/gems/{spoom@1.6.3.rbi → spoom@1.7.11.rbi} +1139 -2246
- data/sorbet/rbi/gems/{tapioca@0.16.11.rbi → tapioca@0.17.10.rbi} +721 -835
- data/sorbet/rbi/gems/tsort@0.2.0.rbi +393 -0
- data/sorbet/rbi/gems/tty-prompt@0.23.1.rbi +3300 -2
- data/sorbet/rbi/gems/zeitwerk@2.7.4.rbi +1196 -0
- data/sorbet/rbi/shims/unresolved_gem_constants.rbi +4 -0
- data/spec/integration/create_pr_spec.rb +157 -147
- data/spec/integration/merge_pr_spec.rb +84 -85
- data/spec/spec_helper.rb +1 -1
- metadata +40 -6
|
@@ -5,38 +5,29 @@
|
|
|
5
5
|
# Please instead update this file by running `bin/tapioca gem rbs`.
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
# source://rbs//lib/rbs/namespace.rb#120
|
|
9
|
-
module Kernel
|
|
10
|
-
# source://rbs//lib/rbs/namespace.rb#121
|
|
11
|
-
def Namespace(name); end
|
|
12
|
-
|
|
13
|
-
# source://rbs//lib/rbs/type_name.rb#105
|
|
14
|
-
def TypeName(string); end
|
|
15
|
-
end
|
|
16
|
-
|
|
17
8
|
# source://rbs//lib/rbs/version.rb#3
|
|
18
9
|
module RBS
|
|
19
10
|
class << self
|
|
20
|
-
# source://rbs//lib/rbs.rb#
|
|
11
|
+
# source://rbs//lib/rbs.rb#81
|
|
21
12
|
def logger; end
|
|
22
13
|
|
|
23
14
|
# Returns the value of attribute logger_level.
|
|
24
15
|
#
|
|
25
|
-
# source://rbs//lib/rbs.rb#
|
|
16
|
+
# source://rbs//lib/rbs.rb#78
|
|
26
17
|
def logger_level; end
|
|
27
18
|
|
|
28
|
-
# source://rbs//lib/rbs.rb#
|
|
19
|
+
# source://rbs//lib/rbs.rb#90
|
|
29
20
|
def logger_level=(level); end
|
|
30
21
|
|
|
31
22
|
# Returns the value of attribute logger_output.
|
|
32
23
|
#
|
|
33
|
-
# source://rbs//lib/rbs.rb#
|
|
24
|
+
# source://rbs//lib/rbs.rb#79
|
|
34
25
|
def logger_output; end
|
|
35
26
|
|
|
36
|
-
# source://rbs//lib/rbs.rb#
|
|
27
|
+
# source://rbs//lib/rbs.rb#85
|
|
37
28
|
def logger_output=(val); end
|
|
38
29
|
|
|
39
|
-
# source://rbs//lib/rbs.rb#
|
|
30
|
+
# source://rbs//lib/rbs.rb#95
|
|
40
31
|
def print_warning; end
|
|
41
32
|
end
|
|
42
33
|
end
|
|
@@ -54,7 +45,7 @@ class RBS::AST::Annotation
|
|
|
54
45
|
# source://rbs//lib/rbs/ast/annotation.rb#14
|
|
55
46
|
def ==(other); end
|
|
56
47
|
|
|
57
|
-
# source://rbs//lib/rbs/ast/annotation.rb#
|
|
48
|
+
# source://rbs//lib/rbs/ast/annotation.rb#18
|
|
58
49
|
def eql?(other); end
|
|
59
50
|
|
|
60
51
|
# source://rbs//lib/rbs/ast/annotation.rb#20
|
|
@@ -84,7 +75,7 @@ class RBS::AST::Comment
|
|
|
84
75
|
# source://rbs//lib/rbs/ast/comment.rb#14
|
|
85
76
|
def ==(other); end
|
|
86
77
|
|
|
87
|
-
# source://rbs//lib/rbs/ast/comment.rb#
|
|
78
|
+
# source://rbs//lib/rbs/ast/comment.rb#18
|
|
88
79
|
def eql?(other); end
|
|
89
80
|
|
|
90
81
|
# source://rbs//lib/rbs/ast/comment.rb#20
|
|
@@ -127,7 +118,7 @@ class RBS::AST::Declarations::AliasDecl < ::RBS::AST::Declarations::Base
|
|
|
127
118
|
# source://rbs//lib/rbs/ast/declarations.rb#424
|
|
128
119
|
def comment; end
|
|
129
120
|
|
|
130
|
-
# source://rbs//lib/rbs/ast/declarations.rb#
|
|
121
|
+
# source://rbs//lib/rbs/ast/declarations.rb#440
|
|
131
122
|
def eql?(other); end
|
|
132
123
|
|
|
133
124
|
# source://rbs//lib/rbs/ast/declarations.rb#442
|
|
@@ -175,7 +166,7 @@ class RBS::AST::Declarations::Class < ::RBS::AST::Declarations::Base
|
|
|
175
166
|
# source://rbs//lib/rbs/ast/declarations.rb#95
|
|
176
167
|
def comment; end
|
|
177
168
|
|
|
178
|
-
# source://rbs//lib/rbs/ast/declarations.rb#
|
|
169
|
+
# source://rbs//lib/rbs/ast/declarations.rb#127
|
|
179
170
|
def eql?(other); end
|
|
180
171
|
|
|
181
172
|
# source://rbs//lib/rbs/ast/declarations.rb#129
|
|
@@ -228,7 +219,7 @@ class RBS::AST::Declarations::Class::Super
|
|
|
228
219
|
# source://rbs//lib/rbs/ast/declarations.rb#58
|
|
229
220
|
def args; end
|
|
230
221
|
|
|
231
|
-
# source://rbs//lib/rbs/ast/declarations.rb#
|
|
222
|
+
# source://rbs//lib/rbs/ast/declarations.rb#71
|
|
232
223
|
def eql?(other); end
|
|
233
224
|
|
|
234
225
|
# source://rbs//lib/rbs/ast/declarations.rb#73
|
|
@@ -274,7 +265,7 @@ class RBS::AST::Declarations::Constant < ::RBS::AST::Declarations::Base
|
|
|
274
265
|
# source://rbs//lib/rbs/ast/declarations.rb#351
|
|
275
266
|
def comment; end
|
|
276
267
|
|
|
277
|
-
# source://rbs//lib/rbs/ast/declarations.rb#
|
|
268
|
+
# source://rbs//lib/rbs/ast/declarations.rb#368
|
|
278
269
|
def eql?(other); end
|
|
279
270
|
|
|
280
271
|
# source://rbs//lib/rbs/ast/declarations.rb#370
|
|
@@ -319,7 +310,7 @@ class RBS::AST::Declarations::Global < ::RBS::AST::Declarations::Base
|
|
|
319
310
|
# source://rbs//lib/rbs/ast/declarations.rb#389
|
|
320
311
|
def comment; end
|
|
321
312
|
|
|
322
|
-
# source://rbs//lib/rbs/ast/declarations.rb#
|
|
313
|
+
# source://rbs//lib/rbs/ast/declarations.rb#406
|
|
323
314
|
def eql?(other); end
|
|
324
315
|
|
|
325
316
|
# source://rbs//lib/rbs/ast/declarations.rb#408
|
|
@@ -366,7 +357,7 @@ class RBS::AST::Declarations::Interface < ::RBS::AST::Declarations::Base
|
|
|
366
357
|
# source://rbs//lib/rbs/ast/declarations.rb#254
|
|
367
358
|
def comment; end
|
|
368
359
|
|
|
369
|
-
# source://rbs//lib/rbs/ast/declarations.rb#
|
|
360
|
+
# source://rbs//lib/rbs/ast/declarations.rb#285
|
|
370
361
|
def eql?(other); end
|
|
371
362
|
|
|
372
363
|
# source://rbs//lib/rbs/ast/declarations.rb#287
|
|
@@ -428,7 +419,7 @@ class RBS::AST::Declarations::Module < ::RBS::AST::Declarations::Base
|
|
|
428
419
|
# source://rbs//lib/rbs/ast/declarations.rb#195
|
|
429
420
|
def comment; end
|
|
430
421
|
|
|
431
|
-
# source://rbs//lib/rbs/ast/declarations.rb#
|
|
422
|
+
# source://rbs//lib/rbs/ast/declarations.rb#228
|
|
432
423
|
def eql?(other); end
|
|
433
424
|
|
|
434
425
|
# source://rbs//lib/rbs/ast/declarations.rb#230
|
|
@@ -481,7 +472,7 @@ class RBS::AST::Declarations::Module::Self
|
|
|
481
472
|
# source://rbs//lib/rbs/ast/declarations.rb#150
|
|
482
473
|
def args; end
|
|
483
474
|
|
|
484
|
-
# source://rbs//lib/rbs/ast/declarations.rb#
|
|
475
|
+
# source://rbs//lib/rbs/ast/declarations.rb#163
|
|
485
476
|
def eql?(other); end
|
|
486
477
|
|
|
487
478
|
# source://rbs//lib/rbs/ast/declarations.rb#165
|
|
@@ -539,7 +530,7 @@ class RBS::AST::Declarations::TypeAlias < ::RBS::AST::Declarations::Base
|
|
|
539
530
|
# source://rbs//lib/rbs/ast/declarations.rb#310
|
|
540
531
|
def comment; end
|
|
541
532
|
|
|
542
|
-
# source://rbs//lib/rbs/ast/declarations.rb#
|
|
533
|
+
# source://rbs//lib/rbs/ast/declarations.rb#328
|
|
543
534
|
def eql?(other); end
|
|
544
535
|
|
|
545
536
|
# source://rbs//lib/rbs/ast/declarations.rb#330
|
|
@@ -675,7 +666,7 @@ class RBS::AST::Members::Alias < ::RBS::AST::Members::Base
|
|
|
675
666
|
# source://rbs//lib/rbs/ast/members.rb#405
|
|
676
667
|
def comment; end
|
|
677
668
|
|
|
678
|
-
# source://rbs//lib/rbs/ast/members.rb#
|
|
669
|
+
# source://rbs//lib/rbs/ast/members.rb#423
|
|
679
670
|
def eql?(other); end
|
|
680
671
|
|
|
681
672
|
# source://rbs//lib/rbs/ast/members.rb#425
|
|
@@ -757,7 +748,7 @@ module RBS::AST::Members::Attribute
|
|
|
757
748
|
# source://rbs//lib/rbs/ast/members.rb#267
|
|
758
749
|
def comment; end
|
|
759
750
|
|
|
760
|
-
# source://rbs//lib/rbs/ast/members.rb#
|
|
751
|
+
# source://rbs//lib/rbs/ast/members.rb#290
|
|
761
752
|
def eql?(other); end
|
|
762
753
|
|
|
763
754
|
# source://rbs//lib/rbs/ast/members.rb#292
|
|
@@ -848,7 +839,7 @@ module RBS::AST::Members::LocationOnly
|
|
|
848
839
|
# source://rbs//lib/rbs/ast/members.rb#372
|
|
849
840
|
def ==(other); end
|
|
850
841
|
|
|
851
|
-
# source://rbs//lib/rbs/ast/members.rb#
|
|
842
|
+
# source://rbs//lib/rbs/ast/members.rb#376
|
|
852
843
|
def eql?(other); end
|
|
853
844
|
|
|
854
845
|
# source://rbs//lib/rbs/ast/members.rb#378
|
|
@@ -880,7 +871,7 @@ class RBS::AST::Members::MethodDefinition < ::RBS::AST::Members::Base
|
|
|
880
871
|
# source://rbs//lib/rbs/ast/members.rb#51
|
|
881
872
|
def comment; end
|
|
882
873
|
|
|
883
|
-
# source://rbs//lib/rbs/ast/members.rb#
|
|
874
|
+
# source://rbs//lib/rbs/ast/members.rb#75
|
|
884
875
|
def eql?(other); end
|
|
885
876
|
|
|
886
877
|
# source://rbs//lib/rbs/ast/members.rb#77
|
|
@@ -953,7 +944,7 @@ class RBS::AST::Members::MethodDefinition::Overload
|
|
|
953
944
|
# source://rbs//lib/rbs/ast/members.rb#11
|
|
954
945
|
def annotations; end
|
|
955
946
|
|
|
956
|
-
# source://rbs//lib/rbs/ast/members.rb#
|
|
947
|
+
# source://rbs//lib/rbs/ast/members.rb#26
|
|
957
948
|
def eql?(other); end
|
|
958
949
|
|
|
959
950
|
# source://rbs//lib/rbs/ast/members.rb#22
|
|
@@ -1053,7 +1044,7 @@ module RBS::AST::Members::Var
|
|
|
1053
1044
|
# source://rbs//lib/rbs/ast/members.rb#125
|
|
1054
1045
|
def comment; end
|
|
1055
1046
|
|
|
1056
|
-
# source://rbs//lib/rbs/ast/members.rb#
|
|
1047
|
+
# source://rbs//lib/rbs/ast/members.rb#138
|
|
1057
1048
|
def eql?(other); end
|
|
1058
1049
|
|
|
1059
1050
|
# source://rbs//lib/rbs/ast/members.rb#140
|
|
@@ -1075,14 +1066,898 @@ module RBS::AST::Members::Var
|
|
|
1075
1066
|
def type; end
|
|
1076
1067
|
end
|
|
1077
1068
|
|
|
1069
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#5
|
|
1070
|
+
module RBS::AST::Ruby; end
|
|
1071
|
+
|
|
1072
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#6
|
|
1073
|
+
module RBS::AST::Ruby::Annotations; end
|
|
1074
|
+
|
|
1075
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#43
|
|
1076
|
+
class RBS::AST::Ruby::Annotations::AliasAnnotation < ::RBS::AST::Ruby::Annotations::Base
|
|
1077
|
+
# @return [AliasAnnotation] a new instance of AliasAnnotation
|
|
1078
|
+
#
|
|
1079
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#46
|
|
1080
|
+
def initialize(location:, prefix_location:, keyword_location:, type_name:, type_name_location:); end
|
|
1081
|
+
|
|
1082
|
+
# Returns the value of attribute keyword_location.
|
|
1083
|
+
#
|
|
1084
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#44
|
|
1085
|
+
def keyword_location; end
|
|
1086
|
+
|
|
1087
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#53
|
|
1088
|
+
def map_type_name; end
|
|
1089
|
+
|
|
1090
|
+
# Returns the value of attribute type_name.
|
|
1091
|
+
#
|
|
1092
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#44
|
|
1093
|
+
def type_name; end
|
|
1094
|
+
|
|
1095
|
+
# Returns the value of attribute type_name_location.
|
|
1096
|
+
#
|
|
1097
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#44
|
|
1098
|
+
def type_name_location; end
|
|
1099
|
+
end
|
|
1100
|
+
|
|
1101
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#7
|
|
1102
|
+
class RBS::AST::Ruby::Annotations::Base
|
|
1103
|
+
# @return [Base] a new instance of Base
|
|
1104
|
+
#
|
|
1105
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#10
|
|
1106
|
+
def initialize(location, prefix_location); end
|
|
1107
|
+
|
|
1108
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#15
|
|
1109
|
+
def buffer; end
|
|
1110
|
+
|
|
1111
|
+
# Returns the value of attribute location.
|
|
1112
|
+
#
|
|
1113
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#8
|
|
1114
|
+
def location; end
|
|
1115
|
+
|
|
1116
|
+
# Returns the value of attribute prefix_location.
|
|
1117
|
+
#
|
|
1118
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#8
|
|
1119
|
+
def prefix_location; end
|
|
1120
|
+
end
|
|
1121
|
+
|
|
1122
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#64
|
|
1123
|
+
class RBS::AST::Ruby::Annotations::ClassAliasAnnotation < ::RBS::AST::Ruby::Annotations::AliasAnnotation
|
|
1124
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#65
|
|
1125
|
+
def type_fingerprint; end
|
|
1126
|
+
end
|
|
1127
|
+
|
|
1128
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#82
|
|
1129
|
+
class RBS::AST::Ruby::Annotations::ColonMethodTypeAnnotation < ::RBS::AST::Ruby::Annotations::Base
|
|
1130
|
+
# @return [ColonMethodTypeAnnotation] a new instance of ColonMethodTypeAnnotation
|
|
1131
|
+
#
|
|
1132
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#85
|
|
1133
|
+
def initialize(location:, prefix_location:, annotations:, method_type:); end
|
|
1134
|
+
|
|
1135
|
+
# Returns the value of attribute annotations.
|
|
1136
|
+
#
|
|
1137
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#83
|
|
1138
|
+
def annotations; end
|
|
1139
|
+
|
|
1140
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#91
|
|
1141
|
+
def map_type_name; end
|
|
1142
|
+
|
|
1143
|
+
# Returns the value of attribute method_type.
|
|
1144
|
+
#
|
|
1145
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#83
|
|
1146
|
+
def method_type; end
|
|
1147
|
+
|
|
1148
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#100
|
|
1149
|
+
def type_fingerprint; end
|
|
1150
|
+
end
|
|
1151
|
+
|
|
1152
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#220
|
|
1153
|
+
class RBS::AST::Ruby::Annotations::InstanceVariableAnnotation < ::RBS::AST::Ruby::Annotations::Base
|
|
1154
|
+
# @return [InstanceVariableAnnotation] a new instance of InstanceVariableAnnotation
|
|
1155
|
+
#
|
|
1156
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#223
|
|
1157
|
+
def initialize(location:, prefix_location:, ivar_name:, ivar_name_location:, colon_location:, type:, comment_location:); end
|
|
1158
|
+
|
|
1159
|
+
# Returns the value of attribute colon_location.
|
|
1160
|
+
#
|
|
1161
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#221
|
|
1162
|
+
def colon_location; end
|
|
1163
|
+
|
|
1164
|
+
# Returns the value of attribute comment_location.
|
|
1165
|
+
#
|
|
1166
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#221
|
|
1167
|
+
def comment_location; end
|
|
1168
|
+
|
|
1169
|
+
# Returns the value of attribute ivar_name.
|
|
1170
|
+
#
|
|
1171
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#221
|
|
1172
|
+
def ivar_name; end
|
|
1173
|
+
|
|
1174
|
+
# Returns the value of attribute ivar_name_location.
|
|
1175
|
+
#
|
|
1176
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#221
|
|
1177
|
+
def ivar_name_location; end
|
|
1178
|
+
|
|
1179
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#232
|
|
1180
|
+
def map_type_name(&block); end
|
|
1181
|
+
|
|
1182
|
+
# Returns the value of attribute type.
|
|
1183
|
+
#
|
|
1184
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#221
|
|
1185
|
+
def type; end
|
|
1186
|
+
|
|
1187
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#244
|
|
1188
|
+
def type_fingerprint; end
|
|
1189
|
+
end
|
|
1190
|
+
|
|
1191
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#109
|
|
1192
|
+
class RBS::AST::Ruby::Annotations::MethodTypesAnnotation < ::RBS::AST::Ruby::Annotations::Base
|
|
1193
|
+
# @return [MethodTypesAnnotation] a new instance of MethodTypesAnnotation
|
|
1194
|
+
#
|
|
1195
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#114
|
|
1196
|
+
def initialize(location:, prefix_location:, overloads:, vertical_bar_locations:); end
|
|
1197
|
+
|
|
1198
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#120
|
|
1199
|
+
def map_type_name(&block); end
|
|
1200
|
+
|
|
1201
|
+
# Returns the value of attribute overloads.
|
|
1202
|
+
#
|
|
1203
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#112
|
|
1204
|
+
def overloads; end
|
|
1205
|
+
|
|
1206
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#131
|
|
1207
|
+
def type_fingerprint; end
|
|
1208
|
+
|
|
1209
|
+
# Returns the value of attribute vertical_bar_locations.
|
|
1210
|
+
#
|
|
1211
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#112
|
|
1212
|
+
def vertical_bar_locations; end
|
|
1213
|
+
end
|
|
1214
|
+
|
|
1215
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#110
|
|
1216
|
+
RBS::AST::Ruby::Annotations::MethodTypesAnnotation::Overload = RBS::AST::Members::MethodDefinition::Overload
|
|
1217
|
+
|
|
1218
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#73
|
|
1219
|
+
class RBS::AST::Ruby::Annotations::ModuleAliasAnnotation < ::RBS::AST::Ruby::Annotations::AliasAnnotation
|
|
1220
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#74
|
|
1221
|
+
def type_fingerprint; end
|
|
1222
|
+
end
|
|
1223
|
+
|
|
1224
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#20
|
|
1225
|
+
class RBS::AST::Ruby::Annotations::NodeTypeAssertion < ::RBS::AST::Ruby::Annotations::Base
|
|
1226
|
+
# @return [NodeTypeAssertion] a new instance of NodeTypeAssertion
|
|
1227
|
+
#
|
|
1228
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#23
|
|
1229
|
+
def initialize(location:, prefix_location:, type:); end
|
|
1230
|
+
|
|
1231
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#28
|
|
1232
|
+
def map_type_name; end
|
|
1233
|
+
|
|
1234
|
+
# Returns the value of attribute type.
|
|
1235
|
+
#
|
|
1236
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#21
|
|
1237
|
+
def type; end
|
|
1238
|
+
|
|
1239
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#35
|
|
1240
|
+
def type_fingerprint; end
|
|
1241
|
+
end
|
|
1242
|
+
|
|
1243
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#153
|
|
1244
|
+
class RBS::AST::Ruby::Annotations::ReturnTypeAnnotation < ::RBS::AST::Ruby::Annotations::Base
|
|
1245
|
+
# @return [ReturnTypeAnnotation] a new instance of ReturnTypeAnnotation
|
|
1246
|
+
#
|
|
1247
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#162
|
|
1248
|
+
def initialize(location:, prefix_location:, return_location:, colon_location:, return_type:, comment_location:); end
|
|
1249
|
+
|
|
1250
|
+
# Returns the value of attribute colon_location.
|
|
1251
|
+
#
|
|
1252
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#156
|
|
1253
|
+
def colon_location; end
|
|
1254
|
+
|
|
1255
|
+
# Returns the value of attribute comment_location.
|
|
1256
|
+
#
|
|
1257
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#160
|
|
1258
|
+
def comment_location; end
|
|
1259
|
+
|
|
1260
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#170
|
|
1261
|
+
def map_type_name(&block); end
|
|
1262
|
+
|
|
1263
|
+
# Returns the value of attribute return_location.
|
|
1264
|
+
#
|
|
1265
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#154
|
|
1266
|
+
def return_location; end
|
|
1267
|
+
|
|
1268
|
+
# Returns the value of attribute return_type.
|
|
1269
|
+
#
|
|
1270
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#158
|
|
1271
|
+
def return_type; end
|
|
1272
|
+
|
|
1273
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#181
|
|
1274
|
+
def type_fingerprint; end
|
|
1275
|
+
end
|
|
1276
|
+
|
|
1277
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#139
|
|
1278
|
+
class RBS::AST::Ruby::Annotations::SkipAnnotation < ::RBS::AST::Ruby::Annotations::Base
|
|
1279
|
+
# @return [SkipAnnotation] a new instance of SkipAnnotation
|
|
1280
|
+
#
|
|
1281
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#142
|
|
1282
|
+
def initialize(location:, prefix_location:, skip_location:, comment_location:); end
|
|
1283
|
+
|
|
1284
|
+
# Returns the value of attribute comment_location.
|
|
1285
|
+
#
|
|
1286
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#140
|
|
1287
|
+
def comment_location; end
|
|
1288
|
+
|
|
1289
|
+
# Returns the value of attribute skip_location.
|
|
1290
|
+
#
|
|
1291
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#140
|
|
1292
|
+
def skip_location; end
|
|
1293
|
+
|
|
1294
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#148
|
|
1295
|
+
def type_fingerprint; end
|
|
1296
|
+
end
|
|
1297
|
+
|
|
1298
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#190
|
|
1299
|
+
class RBS::AST::Ruby::Annotations::TypeApplicationAnnotation < ::RBS::AST::Ruby::Annotations::Base
|
|
1300
|
+
# @return [TypeApplicationAnnotation] a new instance of TypeApplicationAnnotation
|
|
1301
|
+
#
|
|
1302
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#193
|
|
1303
|
+
def initialize(location:, prefix_location:, type_args:, close_bracket_location:, comma_locations:); end
|
|
1304
|
+
|
|
1305
|
+
# Returns the value of attribute close_bracket_location.
|
|
1306
|
+
#
|
|
1307
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#191
|
|
1308
|
+
def close_bracket_location; end
|
|
1309
|
+
|
|
1310
|
+
# Returns the value of attribute comma_locations.
|
|
1311
|
+
#
|
|
1312
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#191
|
|
1313
|
+
def comma_locations; end
|
|
1314
|
+
|
|
1315
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#200
|
|
1316
|
+
def map_type_name(&block); end
|
|
1317
|
+
|
|
1318
|
+
# Returns the value of attribute type_args.
|
|
1319
|
+
#
|
|
1320
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#191
|
|
1321
|
+
def type_args; end
|
|
1322
|
+
|
|
1323
|
+
# source://rbs//lib/rbs/ast/ruby/annotations.rb#212
|
|
1324
|
+
def type_fingerprint; end
|
|
1325
|
+
end
|
|
1326
|
+
|
|
1327
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#6
|
|
1328
|
+
class RBS::AST::Ruby::CommentBlock
|
|
1329
|
+
# @return [CommentBlock] a new instance of CommentBlock
|
|
1330
|
+
#
|
|
1331
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#9
|
|
1332
|
+
def initialize(source_buffer, comments); end
|
|
1333
|
+
|
|
1334
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#226
|
|
1335
|
+
def as_comment; end
|
|
1336
|
+
|
|
1337
|
+
# Returns the value of attribute comment_buffer.
|
|
1338
|
+
#
|
|
1339
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#7
|
|
1340
|
+
def comment_buffer; end
|
|
1341
|
+
|
|
1342
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#211
|
|
1343
|
+
def comments; end
|
|
1344
|
+
|
|
1345
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#98
|
|
1346
|
+
def each_paragraph(variables, &block); end
|
|
1347
|
+
|
|
1348
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#50
|
|
1349
|
+
def end_line; end
|
|
1350
|
+
|
|
1351
|
+
# @return [Boolean]
|
|
1352
|
+
#
|
|
1353
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#36
|
|
1354
|
+
def leading?; end
|
|
1355
|
+
|
|
1356
|
+
# @return [Boolean]
|
|
1357
|
+
#
|
|
1358
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#215
|
|
1359
|
+
def leading_annotation?(index); end
|
|
1360
|
+
|
|
1361
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#174
|
|
1362
|
+
def line_location(start_line, end_line); end
|
|
1363
|
+
|
|
1364
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#54
|
|
1365
|
+
def line_starts; end
|
|
1366
|
+
|
|
1367
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#180
|
|
1368
|
+
def location; end
|
|
1369
|
+
|
|
1370
|
+
# Returns the value of attribute name.
|
|
1371
|
+
#
|
|
1372
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#7
|
|
1373
|
+
def name; end
|
|
1374
|
+
|
|
1375
|
+
# Returns the value of attribute offsets.
|
|
1376
|
+
#
|
|
1377
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#7
|
|
1378
|
+
def offsets; end
|
|
1379
|
+
|
|
1380
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#187
|
|
1381
|
+
def parse_annotation_lines(start_line, end_line, variables); end
|
|
1382
|
+
|
|
1383
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#46
|
|
1384
|
+
def start_line; end
|
|
1385
|
+
|
|
1386
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#169
|
|
1387
|
+
def text(comment_index); end
|
|
1388
|
+
|
|
1389
|
+
# @return [Boolean]
|
|
1390
|
+
#
|
|
1391
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#41
|
|
1392
|
+
def trailing?; end
|
|
1393
|
+
|
|
1394
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#197
|
|
1395
|
+
def trailing_annotation(variables); end
|
|
1396
|
+
|
|
1397
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#130
|
|
1398
|
+
def yield_annotation(start_line, end_line, current_line, variables, &block); end
|
|
1399
|
+
|
|
1400
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#110
|
|
1401
|
+
def yield_paragraph(start_line, current_line, variables, &block); end
|
|
1402
|
+
|
|
1403
|
+
class << self
|
|
1404
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#60
|
|
1405
|
+
def build(buffer, comments); end
|
|
1406
|
+
end
|
|
1407
|
+
end
|
|
1408
|
+
|
|
1409
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
|
|
1410
|
+
class RBS::AST::Ruby::CommentBlock::AnnotationSyntaxError < ::Struct
|
|
1411
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
|
|
1412
|
+
def error; end
|
|
1413
|
+
|
|
1414
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
|
|
1415
|
+
def error=(_); end
|
|
1416
|
+
|
|
1417
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
|
|
1418
|
+
def location; end
|
|
1419
|
+
|
|
1420
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
|
|
1421
|
+
def location=(_); end
|
|
1422
|
+
|
|
1423
|
+
class << self
|
|
1424
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
|
|
1425
|
+
def [](*_arg0); end
|
|
1426
|
+
|
|
1427
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
|
|
1428
|
+
def inspect; end
|
|
1429
|
+
|
|
1430
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
|
|
1431
|
+
def keyword_init?; end
|
|
1432
|
+
|
|
1433
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
|
|
1434
|
+
def members; end
|
|
1435
|
+
|
|
1436
|
+
# source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
|
|
1437
|
+
def new(*_arg0); end
|
|
1438
|
+
end
|
|
1439
|
+
end
|
|
1440
|
+
|
|
1441
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#6
|
|
1442
|
+
module RBS::AST::Ruby::Declarations; end
|
|
1443
|
+
|
|
1444
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#7
|
|
1445
|
+
class RBS::AST::Ruby::Declarations::Base
|
|
1446
|
+
include ::RBS::AST::Ruby::Helpers::ConstantHelper
|
|
1447
|
+
include ::RBS::AST::Ruby::Helpers::LocationHelper
|
|
1448
|
+
|
|
1449
|
+
# @return [Base] a new instance of Base
|
|
1450
|
+
#
|
|
1451
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#13
|
|
1452
|
+
def initialize(buffer); end
|
|
1453
|
+
|
|
1454
|
+
# Returns the value of attribute buffer.
|
|
1455
|
+
#
|
|
1456
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#8
|
|
1457
|
+
def buffer; end
|
|
1458
|
+
end
|
|
1459
|
+
|
|
1460
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#18
|
|
1461
|
+
class RBS::AST::Ruby::Declarations::ClassDecl < ::RBS::AST::Ruby::Declarations::Base
|
|
1462
|
+
# @return [ClassDecl] a new instance of ClassDecl
|
|
1463
|
+
#
|
|
1464
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#74
|
|
1465
|
+
def initialize(buffer, name, node, super_class); end
|
|
1466
|
+
|
|
1467
|
+
# Returns the value of attribute class_name.
|
|
1468
|
+
#
|
|
1469
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#66
|
|
1470
|
+
def class_name; end
|
|
1471
|
+
|
|
1472
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#82
|
|
1473
|
+
def each_decl(&block); end
|
|
1474
|
+
|
|
1475
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#94
|
|
1476
|
+
def location; end
|
|
1477
|
+
|
|
1478
|
+
# Returns the value of attribute members.
|
|
1479
|
+
#
|
|
1480
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#68
|
|
1481
|
+
def members; end
|
|
1482
|
+
|
|
1483
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#98
|
|
1484
|
+
def name_location; end
|
|
1485
|
+
|
|
1486
|
+
# Returns the value of attribute node.
|
|
1487
|
+
#
|
|
1488
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#70
|
|
1489
|
+
def node; end
|
|
1490
|
+
|
|
1491
|
+
# Returns the value of attribute super_class.
|
|
1492
|
+
#
|
|
1493
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#72
|
|
1494
|
+
def super_class; end
|
|
1495
|
+
|
|
1496
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#102
|
|
1497
|
+
def type_fingerprint; end
|
|
1498
|
+
|
|
1499
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#92
|
|
1500
|
+
def type_params; end
|
|
1501
|
+
end
|
|
1502
|
+
|
|
1503
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#19
|
|
1504
|
+
class RBS::AST::Ruby::Declarations::ClassDecl::SuperClass
|
|
1505
|
+
# @return [SuperClass] a new instance of SuperClass
|
|
1506
|
+
#
|
|
1507
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#28
|
|
1508
|
+
def initialize(type_name_location, operator_location, type_name, type_annotation); end
|
|
1509
|
+
|
|
1510
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#56
|
|
1511
|
+
def args; end
|
|
1512
|
+
|
|
1513
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#43
|
|
1514
|
+
def location; end
|
|
1515
|
+
|
|
1516
|
+
# Returns the value of attribute type_name.
|
|
1517
|
+
#
|
|
1518
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#55
|
|
1519
|
+
def name; end
|
|
1520
|
+
|
|
1521
|
+
# Returns the value of attribute operator_location.
|
|
1522
|
+
#
|
|
1523
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#22
|
|
1524
|
+
def operator_location; end
|
|
1525
|
+
|
|
1526
|
+
# Returns the value of attribute type_annotation.
|
|
1527
|
+
#
|
|
1528
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#26
|
|
1529
|
+
def type_annotation; end
|
|
1530
|
+
|
|
1531
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#35
|
|
1532
|
+
def type_args; end
|
|
1533
|
+
|
|
1534
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#58
|
|
1535
|
+
def type_fingerprint; end
|
|
1536
|
+
|
|
1537
|
+
# Returns the value of attribute type_name.
|
|
1538
|
+
#
|
|
1539
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#24
|
|
1540
|
+
def type_name; end
|
|
1541
|
+
|
|
1542
|
+
# Returns the value of attribute type_name_location.
|
|
1543
|
+
#
|
|
1544
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#20
|
|
1545
|
+
def type_name_location; end
|
|
1546
|
+
end
|
|
1547
|
+
|
|
1548
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#223
|
|
1549
|
+
class RBS::AST::Ruby::Declarations::ClassModuleAliasDecl < ::RBS::AST::Ruby::Declarations::Base
|
|
1550
|
+
# @return [ClassModuleAliasDecl] a new instance of ClassModuleAliasDecl
|
|
1551
|
+
#
|
|
1552
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#230
|
|
1553
|
+
def initialize(buffer, node, new_name, infered_old_name, leading_comment, annotation); end
|
|
1554
|
+
|
|
1555
|
+
# Returns the value of attribute annotation.
|
|
1556
|
+
#
|
|
1557
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#228
|
|
1558
|
+
def annotation; end
|
|
1559
|
+
|
|
1560
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#264
|
|
1561
|
+
def comment; end
|
|
1562
|
+
|
|
1563
|
+
# Returns the value of attribute infered_old_name.
|
|
1564
|
+
#
|
|
1565
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#227
|
|
1566
|
+
def infered_old_name; end
|
|
1567
|
+
|
|
1568
|
+
# Returns the value of attribute leading_comment.
|
|
1569
|
+
#
|
|
1570
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#225
|
|
1571
|
+
def leading_comment; end
|
|
1572
|
+
|
|
1573
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#239
|
|
1574
|
+
def location; end
|
|
1575
|
+
|
|
1576
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#243
|
|
1577
|
+
def name_location; end
|
|
1578
|
+
|
|
1579
|
+
# Returns the value of attribute new_name.
|
|
1580
|
+
#
|
|
1581
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#226
|
|
1582
|
+
def new_name; end
|
|
1583
|
+
|
|
1584
|
+
# Returns the value of attribute node.
|
|
1585
|
+
#
|
|
1586
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#224
|
|
1587
|
+
def node; end
|
|
1588
|
+
|
|
1589
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#252
|
|
1590
|
+
def old_name; end
|
|
1591
|
+
|
|
1592
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#268
|
|
1593
|
+
def type_fingerprint; end
|
|
1594
|
+
end
|
|
1595
|
+
|
|
1596
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#161
|
|
1597
|
+
class RBS::AST::Ruby::Declarations::ConstantDecl < ::RBS::AST::Ruby::Declarations::Base
|
|
1598
|
+
# @return [ConstantDecl] a new instance of ConstantDecl
|
|
1599
|
+
#
|
|
1600
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#167
|
|
1601
|
+
def initialize(buffer, constant_name, node, leading_comment, type_annotation); end
|
|
1602
|
+
|
|
1603
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#209
|
|
1604
|
+
def comment; end
|
|
1605
|
+
|
|
1606
|
+
# Returns the value of attribute constant_name.
|
|
1607
|
+
#
|
|
1608
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#163
|
|
1609
|
+
def constant_name; end
|
|
1610
|
+
|
|
1611
|
+
# Returns the value of attribute leading_comment.
|
|
1612
|
+
#
|
|
1613
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#162
|
|
1614
|
+
def leading_comment; end
|
|
1615
|
+
|
|
1616
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#175
|
|
1617
|
+
def location; end
|
|
1618
|
+
|
|
1619
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#179
|
|
1620
|
+
def name_location; end
|
|
1621
|
+
|
|
1622
|
+
# Returns the value of attribute node.
|
|
1623
|
+
#
|
|
1624
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#164
|
|
1625
|
+
def node; end
|
|
1626
|
+
|
|
1627
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#188
|
|
1628
|
+
def type; end
|
|
1629
|
+
|
|
1630
|
+
# Returns the value of attribute type_annotation.
|
|
1631
|
+
#
|
|
1632
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#165
|
|
1633
|
+
def type_annotation; end
|
|
1634
|
+
|
|
1635
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#213
|
|
1636
|
+
def type_fingerprint; end
|
|
1637
|
+
end
|
|
1638
|
+
|
|
1639
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#114
|
|
1640
|
+
class RBS::AST::Ruby::Declarations::ModuleDecl < ::RBS::AST::Ruby::Declarations::Base
|
|
1641
|
+
# @return [ModuleDecl] a new instance of ModuleDecl
|
|
1642
|
+
#
|
|
1643
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#121
|
|
1644
|
+
def initialize(buffer, name, node); end
|
|
1645
|
+
|
|
1646
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#128
|
|
1647
|
+
def each_decl(&block); end
|
|
1648
|
+
|
|
1649
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#142
|
|
1650
|
+
def location; end
|
|
1651
|
+
|
|
1652
|
+
# Returns the value of attribute members.
|
|
1653
|
+
#
|
|
1654
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#117
|
|
1655
|
+
def members; end
|
|
1656
|
+
|
|
1657
|
+
# Returns the value of attribute module_name.
|
|
1658
|
+
#
|
|
1659
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#115
|
|
1660
|
+
def module_name; end
|
|
1661
|
+
|
|
1662
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#146
|
|
1663
|
+
def name_location; end
|
|
1664
|
+
|
|
1665
|
+
# Returns the value of attribute node.
|
|
1666
|
+
#
|
|
1667
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#119
|
|
1668
|
+
def node; end
|
|
1669
|
+
|
|
1670
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#140
|
|
1671
|
+
def self_types; end
|
|
1672
|
+
|
|
1673
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#150
|
|
1674
|
+
def type_fingerprint; end
|
|
1675
|
+
|
|
1676
|
+
# source://rbs//lib/rbs/ast/ruby/declarations.rb#138
|
|
1677
|
+
def type_params; end
|
|
1678
|
+
end
|
|
1679
|
+
|
|
1680
|
+
# source://rbs//lib/rbs/ast/ruby/helpers/constant_helper.rb#6
|
|
1681
|
+
module RBS::AST::Ruby::Helpers; end
|
|
1682
|
+
|
|
1683
|
+
# source://rbs//lib/rbs/ast/ruby/helpers/constant_helper.rb#7
|
|
1684
|
+
module RBS::AST::Ruby::Helpers::ConstantHelper
|
|
1685
|
+
private
|
|
1686
|
+
|
|
1687
|
+
# source://rbs//lib/rbs/ast/ruby/helpers/constant_helper.rb#10
|
|
1688
|
+
def constant_as_type_name(node); end
|
|
1689
|
+
|
|
1690
|
+
class << self
|
|
1691
|
+
# source://rbs//lib/rbs/ast/ruby/helpers/constant_helper.rb#10
|
|
1692
|
+
def constant_as_type_name(node); end
|
|
1693
|
+
end
|
|
1694
|
+
end
|
|
1695
|
+
|
|
1696
|
+
# source://rbs//lib/rbs/ast/ruby/helpers/location_helper.rb#7
|
|
1697
|
+
module RBS::AST::Ruby::Helpers::LocationHelper
|
|
1698
|
+
# source://rbs//lib/rbs/ast/ruby/helpers/location_helper.rb#8
|
|
1699
|
+
def rbs_location(location); end
|
|
1700
|
+
end
|
|
1701
|
+
|
|
1702
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#6
|
|
1703
|
+
module RBS::AST::Ruby::Members; end
|
|
1704
|
+
|
|
1705
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#338
|
|
1706
|
+
class RBS::AST::Ruby::Members::AttrAccessorMember < ::RBS::AST::Ruby::Members::AttributeMember; end
|
|
1707
|
+
|
|
1708
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#332
|
|
1709
|
+
class RBS::AST::Ruby::Members::AttrReaderMember < ::RBS::AST::Ruby::Members::AttributeMember; end
|
|
1710
|
+
|
|
1711
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#335
|
|
1712
|
+
class RBS::AST::Ruby::Members::AttrWriterMember < ::RBS::AST::Ruby::Members::AttributeMember; end
|
|
1713
|
+
|
|
1714
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#287
|
|
1715
|
+
class RBS::AST::Ruby::Members::AttributeMember < ::RBS::AST::Ruby::Members::Base
|
|
1716
|
+
# @return [AttributeMember] a new instance of AttributeMember
|
|
1717
|
+
#
|
|
1718
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#293
|
|
1719
|
+
def initialize(buffer, node, name_nodes, leading_comment, type_annotation); end
|
|
1720
|
+
|
|
1721
|
+
# Returns the value of attribute leading_comment.
|
|
1722
|
+
#
|
|
1723
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#291
|
|
1724
|
+
def leading_comment; end
|
|
1725
|
+
|
|
1726
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#307
|
|
1727
|
+
def location; end
|
|
1728
|
+
|
|
1729
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#311
|
|
1730
|
+
def name_locations; end
|
|
1731
|
+
|
|
1732
|
+
# Returns the value of attribute name_nodes.
|
|
1733
|
+
#
|
|
1734
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#289
|
|
1735
|
+
def name_nodes; end
|
|
1736
|
+
|
|
1737
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#301
|
|
1738
|
+
def names; end
|
|
1739
|
+
|
|
1740
|
+
# Returns the value of attribute node.
|
|
1741
|
+
#
|
|
1742
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#288
|
|
1743
|
+
def node; end
|
|
1744
|
+
|
|
1745
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#317
|
|
1746
|
+
def type; end
|
|
1747
|
+
|
|
1748
|
+
# Returns the value of attribute type_annotation.
|
|
1749
|
+
#
|
|
1750
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#290
|
|
1751
|
+
def type_annotation; end
|
|
1752
|
+
|
|
1753
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#321
|
|
1754
|
+
def type_fingerprint; end
|
|
1755
|
+
end
|
|
1756
|
+
|
|
1757
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#7
|
|
1758
|
+
class RBS::AST::Ruby::Members::Base
|
|
1759
|
+
include ::RBS::AST::Ruby::Helpers::LocationHelper
|
|
1760
|
+
|
|
1761
|
+
# @return [Base] a new instance of Base
|
|
1762
|
+
#
|
|
1763
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#10
|
|
1764
|
+
def initialize(buffer); end
|
|
1765
|
+
|
|
1766
|
+
# Returns the value of attribute buffer.
|
|
1767
|
+
#
|
|
1768
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#8
|
|
1769
|
+
def buffer; end
|
|
1770
|
+
end
|
|
1771
|
+
|
|
1772
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#195
|
|
1773
|
+
class RBS::AST::Ruby::Members::DefMember < ::RBS::AST::Ruby::Members::Base
|
|
1774
|
+
# @return [DefMember] a new instance of DefMember
|
|
1775
|
+
#
|
|
1776
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#203
|
|
1777
|
+
def initialize(buffer, name, node, method_type, leading_comment); end
|
|
1778
|
+
|
|
1779
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#223
|
|
1780
|
+
def annotations; end
|
|
1781
|
+
|
|
1782
|
+
# Returns the value of attribute leading_comment.
|
|
1783
|
+
#
|
|
1784
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#201
|
|
1785
|
+
def leading_comment; end
|
|
1786
|
+
|
|
1787
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#211
|
|
1788
|
+
def location; end
|
|
1789
|
+
|
|
1790
|
+
# Returns the value of attribute method_type.
|
|
1791
|
+
#
|
|
1792
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#200
|
|
1793
|
+
def method_type; end
|
|
1794
|
+
|
|
1795
|
+
# Returns the value of attribute name.
|
|
1796
|
+
#
|
|
1797
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#198
|
|
1798
|
+
def name; end
|
|
1799
|
+
|
|
1800
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#227
|
|
1801
|
+
def name_location; end
|
|
1802
|
+
|
|
1803
|
+
# Returns the value of attribute node.
|
|
1804
|
+
#
|
|
1805
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#199
|
|
1806
|
+
def node; end
|
|
1807
|
+
|
|
1808
|
+
# @return [Boolean]
|
|
1809
|
+
#
|
|
1810
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#219
|
|
1811
|
+
def overloading?; end
|
|
1812
|
+
|
|
1813
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#215
|
|
1814
|
+
def overloads; end
|
|
1815
|
+
|
|
1816
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#231
|
|
1817
|
+
def type_fingerprint; end
|
|
1818
|
+
end
|
|
1819
|
+
|
|
1820
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#196
|
|
1821
|
+
RBS::AST::Ruby::Members::DefMember::Overload = RBS::AST::Members::MethodDefinition::Overload
|
|
1822
|
+
|
|
1823
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#281
|
|
1824
|
+
class RBS::AST::Ruby::Members::ExtendMember < ::RBS::AST::Ruby::Members::MixinMember; end
|
|
1825
|
+
|
|
1826
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#278
|
|
1827
|
+
class RBS::AST::Ruby::Members::IncludeMember < ::RBS::AST::Ruby::Members::MixinMember; end
|
|
1828
|
+
|
|
1829
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#341
|
|
1830
|
+
class RBS::AST::Ruby::Members::InstanceVariableMember < ::RBS::AST::Ruby::Members::Base
|
|
1831
|
+
# @return [InstanceVariableMember] a new instance of InstanceVariableMember
|
|
1832
|
+
#
|
|
1833
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#344
|
|
1834
|
+
def initialize(buffer, annotation); end
|
|
1835
|
+
|
|
1836
|
+
# Returns the value of attribute annotation.
|
|
1837
|
+
#
|
|
1838
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#342
|
|
1839
|
+
def annotation; end
|
|
1840
|
+
|
|
1841
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#357
|
|
1842
|
+
def location; end
|
|
1843
|
+
|
|
1844
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#349
|
|
1845
|
+
def name; end
|
|
1846
|
+
|
|
1847
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#353
|
|
1848
|
+
def type; end
|
|
1849
|
+
|
|
1850
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#361
|
|
1851
|
+
def type_fingerprint; end
|
|
1852
|
+
end
|
|
1853
|
+
|
|
1854
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#17
|
|
1855
|
+
class RBS::AST::Ruby::Members::MethodTypeAnnotation
|
|
1856
|
+
# @return [MethodTypeAnnotation] a new instance of MethodTypeAnnotation
|
|
1857
|
+
#
|
|
1858
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#68
|
|
1859
|
+
def initialize(type_annotations:); end
|
|
1860
|
+
|
|
1861
|
+
# @return [Boolean]
|
|
1862
|
+
#
|
|
1863
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#143
|
|
1864
|
+
def empty?; end
|
|
1865
|
+
|
|
1866
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#72
|
|
1867
|
+
def map_type_name(&block); end
|
|
1868
|
+
|
|
1869
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#147
|
|
1870
|
+
def overloads; end
|
|
1871
|
+
|
|
1872
|
+
# Returns the value of attribute type_annotations.
|
|
1873
|
+
#
|
|
1874
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#66
|
|
1875
|
+
def type_annotations; end
|
|
1876
|
+
|
|
1877
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#183
|
|
1878
|
+
def type_fingerprint; end
|
|
1879
|
+
|
|
1880
|
+
class << self
|
|
1881
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#85
|
|
1882
|
+
def build(leading_block, trailing_block, variables); end
|
|
1883
|
+
end
|
|
1884
|
+
end
|
|
1885
|
+
|
|
1886
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#18
|
|
1887
|
+
class RBS::AST::Ruby::Members::MethodTypeAnnotation::DocStyle
|
|
1888
|
+
# @return [DocStyle] a new instance of DocStyle
|
|
1889
|
+
#
|
|
1890
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#21
|
|
1891
|
+
def initialize; end
|
|
1892
|
+
|
|
1893
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#25
|
|
1894
|
+
def map_type_name(&block); end
|
|
1895
|
+
|
|
1896
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#35
|
|
1897
|
+
def method_type; end
|
|
1898
|
+
|
|
1899
|
+
# Returns the value of attribute return_type_annotation.
|
|
1900
|
+
#
|
|
1901
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#19
|
|
1902
|
+
def return_type_annotation; end
|
|
1903
|
+
|
|
1904
|
+
# Sets the attribute return_type_annotation
|
|
1905
|
+
#
|
|
1906
|
+
# @param value the value to set the attribute return_type_annotation to.
|
|
1907
|
+
#
|
|
1908
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#19
|
|
1909
|
+
def return_type_annotation=(_arg0); end
|
|
1910
|
+
|
|
1911
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#31
|
|
1912
|
+
def type_fingerprint; end
|
|
1913
|
+
end
|
|
1914
|
+
|
|
1915
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#241
|
|
1916
|
+
class RBS::AST::Ruby::Members::MixinMember < ::RBS::AST::Ruby::Members::Base
|
|
1917
|
+
# @return [MixinMember] a new instance of MixinMember
|
|
1918
|
+
#
|
|
1919
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#246
|
|
1920
|
+
def initialize(buffer, node, module_name, annotation); end
|
|
1921
|
+
|
|
1922
|
+
# Returns the value of attribute annotation.
|
|
1923
|
+
#
|
|
1924
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#244
|
|
1925
|
+
def annotation; end
|
|
1926
|
+
|
|
1927
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#253
|
|
1928
|
+
def location; end
|
|
1929
|
+
|
|
1930
|
+
# Returns the value of attribute module_name.
|
|
1931
|
+
#
|
|
1932
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#243
|
|
1933
|
+
def module_name; end
|
|
1934
|
+
|
|
1935
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#257
|
|
1936
|
+
def name_location; end
|
|
1937
|
+
|
|
1938
|
+
# Returns the value of attribute node.
|
|
1939
|
+
#
|
|
1940
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#242
|
|
1941
|
+
def node; end
|
|
1942
|
+
|
|
1943
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#264
|
|
1944
|
+
def type_args; end
|
|
1945
|
+
|
|
1946
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#268
|
|
1947
|
+
def type_fingerprint; end
|
|
1948
|
+
end
|
|
1949
|
+
|
|
1950
|
+
# source://rbs//lib/rbs/ast/ruby/members.rb#284
|
|
1951
|
+
class RBS::AST::Ruby::Members::PrependMember < ::RBS::AST::Ruby::Members::MixinMember; end
|
|
1952
|
+
|
|
1078
1953
|
# source://rbs//lib/rbs/ast/type_param.rb#5
|
|
1079
1954
|
class RBS::AST::TypeParam
|
|
1080
1955
|
# @return [TypeParam] a new instance of TypeParam
|
|
1081
1956
|
#
|
|
1082
1957
|
# source://rbs//lib/rbs/ast/type_param.rb#8
|
|
1083
|
-
def initialize(name:, variance:, upper_bound:, location:, default_type: T.unsafe(nil), unchecked: T.unsafe(nil)); end
|
|
1958
|
+
def initialize(name:, variance:, upper_bound:, lower_bound:, location:, default_type: T.unsafe(nil), unchecked: T.unsafe(nil)); end
|
|
1084
1959
|
|
|
1085
|
-
# source://rbs//lib/rbs/ast/type_param.rb#
|
|
1960
|
+
# source://rbs//lib/rbs/ast/type_param.rb#41
|
|
1086
1961
|
def ==(other); end
|
|
1087
1962
|
|
|
1088
1963
|
# Returns the value of attribute default_type.
|
|
@@ -1090,10 +1965,10 @@ class RBS::AST::TypeParam
|
|
|
1090
1965
|
# source://rbs//lib/rbs/ast/type_param.rb#6
|
|
1091
1966
|
def default_type; end
|
|
1092
1967
|
|
|
1093
|
-
# source://rbs//lib/rbs/ast/type_param.rb#
|
|
1968
|
+
# source://rbs//lib/rbs/ast/type_param.rb#51
|
|
1094
1969
|
def eql?(other); end
|
|
1095
1970
|
|
|
1096
|
-
# source://rbs//lib/rbs/ast/type_param.rb#
|
|
1971
|
+
# source://rbs//lib/rbs/ast/type_param.rb#53
|
|
1097
1972
|
def hash; end
|
|
1098
1973
|
|
|
1099
1974
|
# Returns the value of attribute location.
|
|
@@ -1101,7 +1976,15 @@ class RBS::AST::TypeParam
|
|
|
1101
1976
|
# source://rbs//lib/rbs/ast/type_param.rb#6
|
|
1102
1977
|
def location; end
|
|
1103
1978
|
|
|
1104
|
-
# source://rbs//lib/rbs/ast/type_param.rb#
|
|
1979
|
+
# source://rbs//lib/rbs/ast/type_param.rb#25
|
|
1980
|
+
def lower_bound; end
|
|
1981
|
+
|
|
1982
|
+
# Returns the value of attribute lower_bound_type.
|
|
1983
|
+
#
|
|
1984
|
+
# source://rbs//lib/rbs/ast/type_param.rb#6
|
|
1985
|
+
def lower_bound_type; end
|
|
1986
|
+
|
|
1987
|
+
# source://rbs//lib/rbs/ast/type_param.rb#69
|
|
1105
1988
|
def map_type(&block); end
|
|
1106
1989
|
|
|
1107
1990
|
# Returns the value of attribute name.
|
|
@@ -1109,21 +1992,21 @@ class RBS::AST::TypeParam
|
|
|
1109
1992
|
# source://rbs//lib/rbs/ast/type_param.rb#6
|
|
1110
1993
|
def name; end
|
|
1111
1994
|
|
|
1112
|
-
# source://rbs//lib/rbs/ast/type_param.rb#
|
|
1995
|
+
# source://rbs//lib/rbs/ast/type_param.rb#57
|
|
1113
1996
|
def to_json(state = T.unsafe(nil)); end
|
|
1114
1997
|
|
|
1115
|
-
# source://rbs//lib/rbs/ast/type_param.rb#
|
|
1998
|
+
# source://rbs//lib/rbs/ast/type_param.rb#133
|
|
1116
1999
|
def to_s; end
|
|
1117
2000
|
|
|
1118
|
-
# source://rbs//lib/rbs/ast/type_param.rb#
|
|
2001
|
+
# source://rbs//lib/rbs/ast/type_param.rb#32
|
|
1119
2002
|
def unchecked!(value = T.unsafe(nil)); end
|
|
1120
2003
|
|
|
1121
2004
|
# @return [Boolean]
|
|
1122
2005
|
#
|
|
1123
|
-
# source://rbs//lib/rbs/ast/type_param.rb#
|
|
2006
|
+
# source://rbs//lib/rbs/ast/type_param.rb#37
|
|
1124
2007
|
def unchecked?; end
|
|
1125
2008
|
|
|
1126
|
-
# source://rbs//lib/rbs/ast/type_param.rb#
|
|
2009
|
+
# source://rbs//lib/rbs/ast/type_param.rb#18
|
|
1127
2010
|
def upper_bound; end
|
|
1128
2011
|
|
|
1129
2012
|
# Returns the value of attribute upper_bound_type.
|
|
@@ -1137,22 +2020,22 @@ class RBS::AST::TypeParam
|
|
|
1137
2020
|
def variance; end
|
|
1138
2021
|
|
|
1139
2022
|
class << self
|
|
1140
|
-
# source://rbs//lib/rbs/ast/type_param.rb#
|
|
2023
|
+
# source://rbs//lib/rbs/ast/type_param.rb#166
|
|
1141
2024
|
def application(params, args); end
|
|
1142
2025
|
|
|
1143
|
-
# source://rbs//lib/rbs/ast/type_param.rb#
|
|
2026
|
+
# source://rbs//lib/rbs/ast/type_param.rb#198
|
|
1144
2027
|
def normalize_args(params, args); end
|
|
1145
2028
|
|
|
1146
|
-
# source://rbs//lib/rbs/ast/type_param.rb#
|
|
2029
|
+
# source://rbs//lib/rbs/ast/type_param.rb#114
|
|
1147
2030
|
def rename(params, new_names:); end
|
|
1148
2031
|
|
|
1149
|
-
# source://rbs//lib/rbs/ast/type_param.rb#
|
|
2032
|
+
# source://rbs//lib/rbs/ast/type_param.rb#92
|
|
1150
2033
|
def resolve_variables(params); end
|
|
1151
2034
|
|
|
1152
|
-
# source://rbs//lib/rbs/ast/type_param.rb#
|
|
2035
|
+
# source://rbs//lib/rbs/ast/type_param.rb#102
|
|
1153
2036
|
def subst_var(vars, type); end
|
|
1154
2037
|
|
|
1155
|
-
# source://rbs//lib/rbs/ast/type_param.rb#
|
|
2038
|
+
# source://rbs//lib/rbs/ast/type_param.rb#219
|
|
1156
2039
|
def validate(type_params); end
|
|
1157
2040
|
end
|
|
1158
2041
|
end
|
|
@@ -1296,28 +2179,52 @@ end
|
|
|
1296
2179
|
|
|
1297
2180
|
# source://rbs//lib/rbs/ancestor_graph.rb#5
|
|
1298
2181
|
class RBS::AncestorGraph::InstanceNode < ::Struct
|
|
2182
|
+
# source://rbs//lib/rbs/ancestor_graph.rb#5
|
|
1299
2183
|
def type_name; end
|
|
2184
|
+
|
|
2185
|
+
# source://rbs//lib/rbs/ancestor_graph.rb#5
|
|
1300
2186
|
def type_name=(_); end
|
|
1301
2187
|
|
|
1302
2188
|
class << self
|
|
2189
|
+
# source://rbs//lib/rbs/ancestor_graph.rb#5
|
|
1303
2190
|
def [](*_arg0); end
|
|
2191
|
+
|
|
2192
|
+
# source://rbs//lib/rbs/ancestor_graph.rb#5
|
|
1304
2193
|
def inspect; end
|
|
2194
|
+
|
|
2195
|
+
# source://rbs//lib/rbs/ancestor_graph.rb#5
|
|
1305
2196
|
def keyword_init?; end
|
|
2197
|
+
|
|
2198
|
+
# source://rbs//lib/rbs/ancestor_graph.rb#5
|
|
1306
2199
|
def members; end
|
|
2200
|
+
|
|
2201
|
+
# source://rbs//lib/rbs/ancestor_graph.rb#5
|
|
1307
2202
|
def new(*_arg0); end
|
|
1308
2203
|
end
|
|
1309
2204
|
end
|
|
1310
2205
|
|
|
1311
2206
|
# source://rbs//lib/rbs/ancestor_graph.rb#6
|
|
1312
2207
|
class RBS::AncestorGraph::SingletonNode < ::Struct
|
|
2208
|
+
# source://rbs//lib/rbs/ancestor_graph.rb#6
|
|
1313
2209
|
def type_name; end
|
|
2210
|
+
|
|
2211
|
+
# source://rbs//lib/rbs/ancestor_graph.rb#6
|
|
1314
2212
|
def type_name=(_); end
|
|
1315
2213
|
|
|
1316
2214
|
class << self
|
|
2215
|
+
# source://rbs//lib/rbs/ancestor_graph.rb#6
|
|
1317
2216
|
def [](*_arg0); end
|
|
2217
|
+
|
|
2218
|
+
# source://rbs//lib/rbs/ancestor_graph.rb#6
|
|
1318
2219
|
def inspect; end
|
|
2220
|
+
|
|
2221
|
+
# source://rbs//lib/rbs/ancestor_graph.rb#6
|
|
1319
2222
|
def keyword_init?; end
|
|
2223
|
+
|
|
2224
|
+
# source://rbs//lib/rbs/ancestor_graph.rb#6
|
|
1320
2225
|
def members; end
|
|
2226
|
+
|
|
2227
|
+
# source://rbs//lib/rbs/ancestor_graph.rb#6
|
|
1321
2228
|
def new(*_arg0); end
|
|
1322
2229
|
end
|
|
1323
2230
|
end
|
|
@@ -1329,36 +2236,65 @@ class RBS::BaseError < ::StandardError; end
|
|
|
1329
2236
|
class RBS::Buffer
|
|
1330
2237
|
# @return [Buffer] a new instance of Buffer
|
|
1331
2238
|
#
|
|
1332
|
-
# source://rbs//lib/rbs/buffer.rb#
|
|
1333
|
-
def initialize(
|
|
2239
|
+
# source://rbs//lib/rbs/buffer.rb#9
|
|
2240
|
+
def initialize(content:, name: T.unsafe(nil), parent: T.unsafe(nil)); end
|
|
2241
|
+
|
|
2242
|
+
# source://rbs//lib/rbs/buffer.rb#131
|
|
2243
|
+
def absolute_position(position); end
|
|
1334
2244
|
|
|
1335
2245
|
# Returns the value of attribute content.
|
|
1336
2246
|
#
|
|
1337
2247
|
# source://rbs//lib/rbs/buffer.rb#6
|
|
1338
2248
|
def content; end
|
|
1339
2249
|
|
|
1340
|
-
# source://rbs//lib/rbs/buffer.rb#
|
|
2250
|
+
# source://rbs//lib/rbs/buffer.rb#148
|
|
2251
|
+
def detach; end
|
|
2252
|
+
|
|
2253
|
+
# source://rbs//lib/rbs/buffer.rb#86
|
|
1341
2254
|
def inspect; end
|
|
1342
2255
|
|
|
1343
|
-
# source://rbs//lib/rbs/buffer.rb#
|
|
2256
|
+
# source://rbs//lib/rbs/buffer.rb#78
|
|
1344
2257
|
def last_position; end
|
|
1345
2258
|
|
|
1346
|
-
# source://rbs//lib/rbs/buffer.rb#
|
|
2259
|
+
# source://rbs//lib/rbs/buffer.rb#26
|
|
2260
|
+
def line_count; end
|
|
2261
|
+
|
|
2262
|
+
# source://rbs//lib/rbs/buffer.rb#22
|
|
1347
2263
|
def lines; end
|
|
1348
2264
|
|
|
1349
|
-
# source://rbs//lib/rbs/buffer.rb#
|
|
2265
|
+
# source://rbs//lib/rbs/buffer.rb#68
|
|
1350
2266
|
def loc_to_pos(loc); end
|
|
1351
2267
|
|
|
1352
|
-
# Returns the value of attribute name.
|
|
1353
|
-
#
|
|
1354
|
-
# source://rbs//lib/rbs/buffer.rb#5
|
|
1355
|
-
def name; end
|
|
2268
|
+
# Returns the value of attribute name.
|
|
2269
|
+
#
|
|
2270
|
+
# source://rbs//lib/rbs/buffer.rb#5
|
|
2271
|
+
def name; end
|
|
2272
|
+
|
|
2273
|
+
# Returns the value of attribute parent.
|
|
2274
|
+
#
|
|
2275
|
+
# source://rbs//lib/rbs/buffer.rb#7
|
|
2276
|
+
def parent; end
|
|
2277
|
+
|
|
2278
|
+
# source://rbs//lib/rbs/buffer.rb#116
|
|
2279
|
+
def parent_buffer; end
|
|
2280
|
+
|
|
2281
|
+
# source://rbs//lib/rbs/buffer.rb#122
|
|
2282
|
+
def parent_position(position); end
|
|
1356
2283
|
|
|
1357
|
-
# source://rbs//lib/rbs/buffer.rb#
|
|
2284
|
+
# source://rbs//lib/rbs/buffer.rb#56
|
|
1358
2285
|
def pos_to_loc(pos); end
|
|
1359
2286
|
|
|
1360
|
-
# source://rbs//lib/rbs/buffer.rb#
|
|
2287
|
+
# source://rbs//lib/rbs/buffer.rb#30
|
|
1361
2288
|
def ranges; end
|
|
2289
|
+
|
|
2290
|
+
# source://rbs//lib/rbs/buffer.rb#90
|
|
2291
|
+
def rbs_location(location, loc2 = T.unsafe(nil)); end
|
|
2292
|
+
|
|
2293
|
+
# source://rbs//lib/rbs/buffer.rb#98
|
|
2294
|
+
def sub_buffer(lines:); end
|
|
2295
|
+
|
|
2296
|
+
# source://rbs//lib/rbs/buffer.rb#140
|
|
2297
|
+
def top_buffer; end
|
|
1362
2298
|
end
|
|
1363
2299
|
|
|
1364
2300
|
# source://rbs//lib/rbs/builtin_names.rb#4
|
|
@@ -1659,61 +2595,61 @@ end
|
|
|
1659
2595
|
class RBS::Collection::Config::LockfileGenerator
|
|
1660
2596
|
# @return [LockfileGenerator] a new instance of LockfileGenerator
|
|
1661
2597
|
#
|
|
1662
|
-
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#
|
|
2598
|
+
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#44
|
|
1663
2599
|
def initialize(config:, definition:, with_lockfile:); end
|
|
1664
2600
|
|
|
1665
2601
|
# Returns the value of attribute config.
|
|
1666
2602
|
#
|
|
1667
|
-
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#
|
|
2603
|
+
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#36
|
|
1668
2604
|
def config; end
|
|
1669
2605
|
|
|
1670
2606
|
# Returns the value of attribute definition.
|
|
1671
2607
|
#
|
|
1672
|
-
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#
|
|
2608
|
+
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#36
|
|
1673
2609
|
def definition; end
|
|
1674
2610
|
|
|
1675
2611
|
# Returns the value of attribute existing_lockfile.
|
|
1676
2612
|
#
|
|
1677
|
-
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#
|
|
2613
|
+
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#36
|
|
1678
2614
|
def existing_lockfile; end
|
|
1679
2615
|
|
|
1680
2616
|
# Returns the value of attribute gem_entries.
|
|
1681
2617
|
#
|
|
1682
|
-
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#
|
|
2618
|
+
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#36
|
|
1683
2619
|
def gem_entries; end
|
|
1684
2620
|
|
|
1685
2621
|
# Returns the value of attribute gem_hash.
|
|
1686
2622
|
#
|
|
1687
|
-
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#
|
|
2623
|
+
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#36
|
|
1688
2624
|
def gem_hash; end
|
|
1689
2625
|
|
|
1690
|
-
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#
|
|
2626
|
+
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#72
|
|
1691
2627
|
def generate; end
|
|
1692
2628
|
|
|
1693
2629
|
# Returns the value of attribute lockfile.
|
|
1694
2630
|
#
|
|
1695
|
-
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#
|
|
2631
|
+
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#36
|
|
1696
2632
|
def lockfile; end
|
|
1697
2633
|
|
|
1698
2634
|
private
|
|
1699
2635
|
|
|
1700
|
-
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#
|
|
2636
|
+
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#105
|
|
1701
2637
|
def assign_gem(name:, version:, skip: T.unsafe(nil)); end
|
|
1702
2638
|
|
|
1703
|
-
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#
|
|
2639
|
+
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#171
|
|
1704
2640
|
def assign_stdlib(name:, from_gem: T.unsafe(nil)); end
|
|
1705
2641
|
|
|
1706
|
-
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#
|
|
2642
|
+
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#242
|
|
1707
2643
|
def find_best_version(version:, versions:); end
|
|
1708
2644
|
|
|
1709
|
-
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#
|
|
2645
|
+
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#236
|
|
1710
2646
|
def find_source(name:); end
|
|
1711
2647
|
|
|
1712
|
-
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#
|
|
2648
|
+
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#97
|
|
1713
2649
|
def validate_gemfile_lock_path!(lock:, gemfile_lock_path:); end
|
|
1714
2650
|
|
|
1715
2651
|
class << self
|
|
1716
|
-
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#
|
|
2652
|
+
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#38
|
|
1717
2653
|
def generate(config:, definition:, with_lockfile: T.unsafe(nil)); end
|
|
1718
2654
|
end
|
|
1719
2655
|
end
|
|
@@ -1721,14 +2657,14 @@ end
|
|
|
1721
2657
|
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#7
|
|
1722
2658
|
RBS::Collection::Config::LockfileGenerator::ALUMNI_STDLIBS = T.let(T.unsafe(nil), Hash)
|
|
1723
2659
|
|
|
1724
|
-
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#
|
|
2660
|
+
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#20
|
|
1725
2661
|
class RBS::Collection::Config::LockfileGenerator::GemfileLockMismatchError < ::StandardError
|
|
1726
2662
|
# @return [GemfileLockMismatchError] a new instance of GemfileLockMismatchError
|
|
1727
2663
|
#
|
|
1728
|
-
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#
|
|
2664
|
+
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#21
|
|
1729
2665
|
def initialize(expected:, actual:); end
|
|
1730
2666
|
|
|
1731
|
-
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#
|
|
2667
|
+
# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#26
|
|
1732
2668
|
def message; end
|
|
1733
2669
|
end
|
|
1734
2670
|
|
|
@@ -1770,113 +2706,113 @@ module RBS::Collection::Sources::Base
|
|
|
1770
2706
|
def dependencies_of(name, version); end
|
|
1771
2707
|
end
|
|
1772
2708
|
|
|
1773
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2709
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#11
|
|
1774
2710
|
class RBS::Collection::Sources::Git
|
|
1775
2711
|
include ::RBS::Collection::Sources::Base
|
|
1776
2712
|
|
|
1777
2713
|
# @return [Git] a new instance of Git
|
|
1778
2714
|
#
|
|
1779
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2715
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#19
|
|
1780
2716
|
def initialize(name:, revision:, remote:, repo_dir:); end
|
|
1781
2717
|
|
|
1782
2718
|
# @return [Boolean]
|
|
1783
2719
|
#
|
|
1784
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2720
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#27
|
|
1785
2721
|
def has?(name, version); end
|
|
1786
2722
|
|
|
1787
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2723
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#44
|
|
1788
2724
|
def install(dest:, name:, version:, stdout:); end
|
|
1789
2725
|
|
|
1790
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2726
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#224
|
|
1791
2727
|
def load_metadata(dir:); end
|
|
1792
2728
|
|
|
1793
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2729
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#74
|
|
1794
2730
|
def manifest_of(name, version); end
|
|
1795
2731
|
|
|
1796
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2732
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#208
|
|
1797
2733
|
def metadata_content(name:, version:); end
|
|
1798
2734
|
|
|
1799
2735
|
# Returns the value of attribute name.
|
|
1800
2736
|
#
|
|
1801
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2737
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#17
|
|
1802
2738
|
def name; end
|
|
1803
2739
|
|
|
1804
2740
|
# Returns the value of attribute remote.
|
|
1805
2741
|
#
|
|
1806
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2742
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#17
|
|
1807
2743
|
def remote; end
|
|
1808
2744
|
|
|
1809
2745
|
# Returns the value of attribute repo_dir.
|
|
1810
2746
|
#
|
|
1811
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2747
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#17
|
|
1812
2748
|
def repo_dir; end
|
|
1813
2749
|
|
|
1814
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2750
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#173
|
|
1815
2751
|
def resolved_revision; end
|
|
1816
2752
|
|
|
1817
2753
|
# Returns the value of attribute revision.
|
|
1818
2754
|
#
|
|
1819
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2755
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#17
|
|
1820
2756
|
def revision; end
|
|
1821
2757
|
|
|
1822
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2758
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#114
|
|
1823
2759
|
def to_lockfile; end
|
|
1824
2760
|
|
|
1825
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2761
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#37
|
|
1826
2762
|
def versions(name); end
|
|
1827
2763
|
|
|
1828
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2764
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#216
|
|
1829
2765
|
def write_metadata(dir:, name:, version:); end
|
|
1830
2766
|
|
|
1831
2767
|
private
|
|
1832
2768
|
|
|
1833
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2769
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#88
|
|
1834
2770
|
def _install(dest:, name:, version:); end
|
|
1835
2771
|
|
|
1836
2772
|
# @return [Boolean]
|
|
1837
2773
|
#
|
|
1838
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2774
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#184
|
|
1839
2775
|
def commit_hash?; end
|
|
1840
2776
|
|
|
1841
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2777
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#100
|
|
1842
2778
|
def cp_r(src, dest); end
|
|
1843
2779
|
|
|
1844
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2780
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#124
|
|
1845
2781
|
def format_config_entry(name, version); end
|
|
1846
2782
|
|
|
1847
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2783
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#169
|
|
1848
2784
|
def gem_repo_dir; end
|
|
1849
2785
|
|
|
1850
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2786
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#230
|
|
1851
2787
|
def gems_versions; end
|
|
1852
2788
|
|
|
1853
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2789
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#188
|
|
1854
2790
|
def git(*cmd, **opt); end
|
|
1855
2791
|
|
|
1856
2792
|
# @return [Boolean]
|
|
1857
2793
|
#
|
|
1858
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2794
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#192
|
|
1859
2795
|
def git?(*cmd, **opt); end
|
|
1860
2796
|
|
|
1861
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2797
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#159
|
|
1862
2798
|
def git_dir; end
|
|
1863
2799
|
|
|
1864
2800
|
# @return [Boolean]
|
|
1865
2801
|
#
|
|
1866
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2802
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#153
|
|
1867
2803
|
def need_to_fetch?(revision); end
|
|
1868
2804
|
|
|
1869
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2805
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#131
|
|
1870
2806
|
def setup!; end
|
|
1871
2807
|
|
|
1872
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2808
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#198
|
|
1873
2809
|
def sh!(*cmd, **opt); end
|
|
1874
2810
|
end
|
|
1875
2811
|
|
|
1876
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2812
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#15
|
|
1877
2813
|
class RBS::Collection::Sources::Git::CommandError < ::StandardError; end
|
|
1878
2814
|
|
|
1879
|
-
# source://rbs//lib/rbs/collection/sources/git.rb#
|
|
2815
|
+
# source://rbs//lib/rbs/collection/sources/git.rb#13
|
|
1880
2816
|
RBS::Collection::Sources::Git::METADATA_FILENAME = T.let(T.unsafe(nil), String)
|
|
1881
2817
|
|
|
1882
2818
|
# source://rbs//lib/rbs/collection/sources/local.rb#6
|
|
@@ -1959,7 +2895,10 @@ class RBS::Collection::Sources::Rubygems
|
|
|
1959
2895
|
class << self
|
|
1960
2896
|
private
|
|
1961
2897
|
|
|
2898
|
+
# source://rbs//lib/rbs/collection/sources/rubygems.rb#11
|
|
1962
2899
|
def allocate; end
|
|
2900
|
+
|
|
2901
|
+
# source://rbs//lib/rbs/collection/sources/rubygems.rb#11
|
|
1963
2902
|
def new(*_arg0); end
|
|
1964
2903
|
end
|
|
1965
2904
|
end
|
|
@@ -1998,7 +2937,10 @@ class RBS::Collection::Sources::Stdlib
|
|
|
1998
2937
|
class << self
|
|
1999
2938
|
private
|
|
2000
2939
|
|
|
2940
|
+
# source://rbs//lib/rbs/collection/sources/stdlib.rb#11
|
|
2001
2941
|
def allocate; end
|
|
2942
|
+
|
|
2943
|
+
# source://rbs//lib/rbs/collection/sources/stdlib.rb#11
|
|
2002
2944
|
def new(*_arg0); end
|
|
2003
2945
|
end
|
|
2004
2946
|
end
|
|
@@ -2021,7 +2963,7 @@ class RBS::Constant
|
|
|
2021
2963
|
# source://rbs//lib/rbs/constant.rb#7
|
|
2022
2964
|
def entry; end
|
|
2023
2965
|
|
|
2024
|
-
# source://rbs//lib/rbs/constant.rb#
|
|
2966
|
+
# source://rbs//lib/rbs/constant.rb#22
|
|
2025
2967
|
def eql?(other); end
|
|
2026
2968
|
|
|
2027
2969
|
# source://rbs//lib/rbs/constant.rb#24
|
|
@@ -2038,51 +2980,51 @@ class RBS::Constant
|
|
|
2038
2980
|
def type; end
|
|
2039
2981
|
end
|
|
2040
2982
|
|
|
2041
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
2983
|
+
# source://rbs//lib/rbs/errors.rb#598
|
|
2042
2984
|
class RBS::CyclicClassAliasDefinitionError < ::RBS::BaseError
|
|
2043
2985
|
include ::RBS::DetailedMessageable
|
|
2044
2986
|
|
|
2045
2987
|
# @return [CyclicClassAliasDefinitionError] a new instance of CyclicClassAliasDefinitionError
|
|
2046
2988
|
#
|
|
2047
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
2989
|
+
# source://rbs//lib/rbs/errors.rb#603
|
|
2048
2990
|
def initialize(entry); end
|
|
2049
2991
|
|
|
2050
2992
|
# Returns the value of attribute alias_entry.
|
|
2051
2993
|
#
|
|
2052
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
2994
|
+
# source://rbs//lib/rbs/errors.rb#601
|
|
2053
2995
|
def alias_entry; end
|
|
2054
2996
|
|
|
2055
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
2997
|
+
# source://rbs//lib/rbs/errors.rb#609
|
|
2056
2998
|
def location; end
|
|
2057
2999
|
end
|
|
2058
3000
|
|
|
2059
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
3001
|
+
# source://rbs//lib/rbs/errors.rb#559
|
|
2060
3002
|
class RBS::CyclicTypeParameterBound < ::RBS::BaseError
|
|
2061
3003
|
include ::RBS::DetailedMessageable
|
|
2062
3004
|
|
|
2063
3005
|
# @return [CyclicTypeParameterBound] a new instance of CyclicTypeParameterBound
|
|
2064
3006
|
#
|
|
2065
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
3007
|
+
# source://rbs//lib/rbs/errors.rb#564
|
|
2066
3008
|
def initialize(type_name:, method_name:, params:, location:); end
|
|
2067
3009
|
|
|
2068
3010
|
# Returns the value of attribute location.
|
|
2069
3011
|
#
|
|
2070
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
3012
|
+
# source://rbs//lib/rbs/errors.rb#562
|
|
2071
3013
|
def location; end
|
|
2072
3014
|
|
|
2073
3015
|
# Returns the value of attribute method_name.
|
|
2074
3016
|
#
|
|
2075
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
3017
|
+
# source://rbs//lib/rbs/errors.rb#562
|
|
2076
3018
|
def method_name; end
|
|
2077
3019
|
|
|
2078
3020
|
# Returns the value of attribute params.
|
|
2079
3021
|
#
|
|
2080
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
3022
|
+
# source://rbs//lib/rbs/errors.rb#562
|
|
2081
3023
|
def params; end
|
|
2082
3024
|
|
|
2083
3025
|
# Returns the value of attribute type_name.
|
|
2084
3026
|
#
|
|
2085
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
3027
|
+
# source://rbs//lib/rbs/errors.rb#562
|
|
2086
3028
|
def type_name; end
|
|
2087
3029
|
end
|
|
2088
3030
|
|
|
@@ -2090,170 +3032,170 @@ end
|
|
|
2090
3032
|
class RBS::Definition
|
|
2091
3033
|
# @return [Definition] a new instance of Definition
|
|
2092
3034
|
#
|
|
2093
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3035
|
+
# source://rbs//lib/rbs/definition.rb#302
|
|
2094
3036
|
def initialize(type_name:, entry:, self_type:, ancestors:); end
|
|
2095
3037
|
|
|
2096
3038
|
# Returns the value of attribute ancestors.
|
|
2097
3039
|
#
|
|
2098
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3040
|
+
# source://rbs//lib/rbs/definition.rb#296
|
|
2099
3041
|
def ancestors; end
|
|
2100
3042
|
|
|
2101
3043
|
# @return [Boolean]
|
|
2102
3044
|
#
|
|
2103
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3045
|
+
# source://rbs//lib/rbs/definition.rb#325
|
|
2104
3046
|
def class?; end
|
|
2105
3047
|
|
|
2106
3048
|
# @return [Boolean]
|
|
2107
3049
|
#
|
|
2108
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3050
|
+
# source://rbs//lib/rbs/definition.rb#342
|
|
2109
3051
|
def class_type?; end
|
|
2110
3052
|
|
|
2111
3053
|
# Returns the value of attribute class_variables.
|
|
2112
3054
|
#
|
|
2113
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3055
|
+
# source://rbs//lib/rbs/definition.rb#300
|
|
2114
3056
|
def class_variables; end
|
|
2115
3057
|
|
|
2116
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3058
|
+
# source://rbs//lib/rbs/definition.rb#389
|
|
2117
3059
|
def each_type(&block); end
|
|
2118
3060
|
|
|
2119
3061
|
# Returns the value of attribute entry.
|
|
2120
3062
|
#
|
|
2121
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3063
|
+
# source://rbs//lib/rbs/definition.rb#295
|
|
2122
3064
|
def entry; end
|
|
2123
3065
|
|
|
2124
3066
|
# @return [Boolean]
|
|
2125
3067
|
#
|
|
2126
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3068
|
+
# source://rbs//lib/rbs/definition.rb#346
|
|
2127
3069
|
def instance_type?; end
|
|
2128
3070
|
|
|
2129
3071
|
# Returns the value of attribute instance_variables.
|
|
2130
3072
|
#
|
|
2131
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3073
|
+
# source://rbs//lib/rbs/definition.rb#299
|
|
2132
3074
|
def instance_variables; end
|
|
2133
3075
|
|
|
2134
3076
|
# @return [Boolean]
|
|
2135
3077
|
#
|
|
2136
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3078
|
+
# source://rbs//lib/rbs/definition.rb#333
|
|
2137
3079
|
def interface?; end
|
|
2138
3080
|
|
|
2139
3081
|
# @return [Boolean]
|
|
2140
3082
|
#
|
|
2141
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3083
|
+
# source://rbs//lib/rbs/definition.rb#350
|
|
2142
3084
|
def interface_type?; end
|
|
2143
3085
|
|
|
2144
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3086
|
+
# source://rbs//lib/rbs/definition.rb#379
|
|
2145
3087
|
def map_method_type(&block); end
|
|
2146
3088
|
|
|
2147
3089
|
# Returns the value of attribute methods.
|
|
2148
3090
|
#
|
|
2149
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3091
|
+
# source://rbs//lib/rbs/definition.rb#298
|
|
2150
3092
|
def methods; end
|
|
2151
3093
|
|
|
2152
3094
|
# @return [Boolean]
|
|
2153
3095
|
#
|
|
2154
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3096
|
+
# source://rbs//lib/rbs/definition.rb#329
|
|
2155
3097
|
def module?; end
|
|
2156
3098
|
|
|
2157
3099
|
# Returns the value of attribute self_type.
|
|
2158
3100
|
#
|
|
2159
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3101
|
+
# source://rbs//lib/rbs/definition.rb#297
|
|
2160
3102
|
def self_type; end
|
|
2161
3103
|
|
|
2162
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3104
|
+
# source://rbs//lib/rbs/definition.rb#367
|
|
2163
3105
|
def sub(s); end
|
|
2164
3106
|
|
|
2165
3107
|
# Returns the value of attribute type_name.
|
|
2166
3108
|
#
|
|
2167
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3109
|
+
# source://rbs//lib/rbs/definition.rb#294
|
|
2168
3110
|
def type_name; end
|
|
2169
3111
|
|
|
2170
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3112
|
+
# source://rbs//lib/rbs/definition.rb#354
|
|
2171
3113
|
def type_params; end
|
|
2172
3114
|
|
|
2173
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3115
|
+
# source://rbs//lib/rbs/definition.rb#358
|
|
2174
3116
|
def type_params_decl; end
|
|
2175
3117
|
end
|
|
2176
3118
|
|
|
2177
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3119
|
+
# source://rbs//lib/rbs/definition.rb#209
|
|
2178
3120
|
module RBS::Definition::Ancestor; end
|
|
2179
3121
|
|
|
2180
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3122
|
+
# source://rbs//lib/rbs/definition.rb#210
|
|
2181
3123
|
class RBS::Definition::Ancestor::Instance
|
|
2182
3124
|
# @return [Instance] a new instance of Instance
|
|
2183
3125
|
#
|
|
2184
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3126
|
+
# source://rbs//lib/rbs/definition.rb#213
|
|
2185
3127
|
def initialize(name:, args:, source:); end
|
|
2186
3128
|
|
|
2187
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3129
|
+
# source://rbs//lib/rbs/definition.rb#219
|
|
2188
3130
|
def ==(other); end
|
|
2189
3131
|
|
|
2190
3132
|
# Returns the value of attribute args.
|
|
2191
3133
|
#
|
|
2192
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3134
|
+
# source://rbs//lib/rbs/definition.rb#211
|
|
2193
3135
|
def args; end
|
|
2194
3136
|
|
|
2195
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3137
|
+
# source://rbs//lib/rbs/definition.rb#223
|
|
2196
3138
|
def eql?(other); end
|
|
2197
3139
|
|
|
2198
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3140
|
+
# source://rbs//lib/rbs/definition.rb#225
|
|
2199
3141
|
def hash; end
|
|
2200
3142
|
|
|
2201
3143
|
# Returns the value of attribute name.
|
|
2202
3144
|
#
|
|
2203
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3145
|
+
# source://rbs//lib/rbs/definition.rb#211
|
|
2204
3146
|
def name; end
|
|
2205
3147
|
|
|
2206
3148
|
# Returns the value of attribute source.
|
|
2207
3149
|
#
|
|
2208
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3150
|
+
# source://rbs//lib/rbs/definition.rb#211
|
|
2209
3151
|
def source; end
|
|
2210
3152
|
end
|
|
2211
3153
|
|
|
2212
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3154
|
+
# source://rbs//lib/rbs/definition.rb#230
|
|
2213
3155
|
class RBS::Definition::Ancestor::Singleton
|
|
2214
3156
|
# @return [Singleton] a new instance of Singleton
|
|
2215
3157
|
#
|
|
2216
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3158
|
+
# source://rbs//lib/rbs/definition.rb#233
|
|
2217
3159
|
def initialize(name:); end
|
|
2218
3160
|
|
|
2219
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3161
|
+
# source://rbs//lib/rbs/definition.rb#237
|
|
2220
3162
|
def ==(other); end
|
|
2221
3163
|
|
|
2222
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3164
|
+
# source://rbs//lib/rbs/definition.rb#241
|
|
2223
3165
|
def eql?(other); end
|
|
2224
3166
|
|
|
2225
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3167
|
+
# source://rbs//lib/rbs/definition.rb#243
|
|
2226
3168
|
def hash; end
|
|
2227
3169
|
|
|
2228
3170
|
# Returns the value of attribute name.
|
|
2229
3171
|
#
|
|
2230
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3172
|
+
# source://rbs//lib/rbs/definition.rb#231
|
|
2231
3173
|
def name; end
|
|
2232
3174
|
end
|
|
2233
3175
|
|
|
2234
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3176
|
+
# source://rbs//lib/rbs/definition.rb#249
|
|
2235
3177
|
class RBS::Definition::InstanceAncestors
|
|
2236
3178
|
# @return [InstanceAncestors] a new instance of InstanceAncestors
|
|
2237
3179
|
#
|
|
2238
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3180
|
+
# source://rbs//lib/rbs/definition.rb#254
|
|
2239
3181
|
def initialize(type_name:, params:, ancestors:); end
|
|
2240
3182
|
|
|
2241
3183
|
# Returns the value of attribute ancestors.
|
|
2242
3184
|
#
|
|
2243
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3185
|
+
# source://rbs//lib/rbs/definition.rb#252
|
|
2244
3186
|
def ancestors; end
|
|
2245
3187
|
|
|
2246
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3188
|
+
# source://rbs//lib/rbs/definition.rb#260
|
|
2247
3189
|
def apply(args, env:, location:); end
|
|
2248
3190
|
|
|
2249
3191
|
# Returns the value of attribute params.
|
|
2250
3192
|
#
|
|
2251
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3193
|
+
# source://rbs//lib/rbs/definition.rb#251
|
|
2252
3194
|
def params; end
|
|
2253
3195
|
|
|
2254
3196
|
# Returns the value of attribute type_name.
|
|
2255
3197
|
#
|
|
2256
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3198
|
+
# source://rbs//lib/rbs/definition.rb#250
|
|
2257
3199
|
def type_name; end
|
|
2258
3200
|
end
|
|
2259
3201
|
|
|
@@ -2261,91 +3203,91 @@ end
|
|
|
2261
3203
|
class RBS::Definition::Method
|
|
2262
3204
|
# @return [Method] a new instance of Method
|
|
2263
3205
|
#
|
|
2264
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3206
|
+
# source://rbs//lib/rbs/definition.rb#107
|
|
2265
3207
|
def initialize(super_method:, defs:, accessibility:, alias_of:, annotations: T.unsafe(nil), alias_member: T.unsafe(nil)); end
|
|
2266
3208
|
|
|
2267
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3209
|
+
# source://rbs//lib/rbs/definition.rb#117
|
|
2268
3210
|
def ==(other); end
|
|
2269
3211
|
|
|
2270
3212
|
# Returns the value of attribute accessibility.
|
|
2271
3213
|
#
|
|
2272
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3214
|
+
# source://rbs//lib/rbs/definition.rb#101
|
|
2273
3215
|
def accessibility; end
|
|
2274
3216
|
|
|
2275
3217
|
# Returns the value of attribute alias_member.
|
|
2276
3218
|
#
|
|
2277
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3219
|
+
# source://rbs//lib/rbs/definition.rb#105
|
|
2278
3220
|
def alias_member; end
|
|
2279
3221
|
|
|
2280
3222
|
# Returns the value of attribute alias_of.
|
|
2281
3223
|
#
|
|
2282
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3224
|
+
# source://rbs//lib/rbs/definition.rb#104
|
|
2283
3225
|
def alias_of; end
|
|
2284
3226
|
|
|
2285
3227
|
# Returns the value of attribute annotations.
|
|
2286
3228
|
#
|
|
2287
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3229
|
+
# source://rbs//lib/rbs/definition.rb#103
|
|
2288
3230
|
def annotations; end
|
|
2289
3231
|
|
|
2290
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3232
|
+
# source://rbs//lib/rbs/definition.rb#151
|
|
2291
3233
|
def comments; end
|
|
2292
3234
|
|
|
2293
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3235
|
+
# source://rbs//lib/rbs/definition.rb#133
|
|
2294
3236
|
def defined_in; end
|
|
2295
3237
|
|
|
2296
3238
|
# Returns the value of attribute defs.
|
|
2297
3239
|
#
|
|
2298
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3240
|
+
# source://rbs//lib/rbs/definition.rb#100
|
|
2299
3241
|
def defs; end
|
|
2300
3242
|
|
|
2301
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3243
|
+
# source://rbs//lib/rbs/definition.rb#127
|
|
2302
3244
|
def eql?(other); end
|
|
2303
3245
|
|
|
2304
3246
|
# Returns the value of attribute extra_annotations.
|
|
2305
3247
|
#
|
|
2306
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3248
|
+
# source://rbs//lib/rbs/definition.rb#102
|
|
2307
3249
|
def extra_annotations; end
|
|
2308
3250
|
|
|
2309
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3251
|
+
# source://rbs//lib/rbs/definition.rb#129
|
|
2310
3252
|
def hash; end
|
|
2311
3253
|
|
|
2312
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3254
|
+
# source://rbs//lib/rbs/definition.rb#140
|
|
2313
3255
|
def implemented_in; end
|
|
2314
3256
|
|
|
2315
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3257
|
+
# source://rbs//lib/rbs/definition.rb#190
|
|
2316
3258
|
def map_method_type(&block); end
|
|
2317
3259
|
|
|
2318
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3260
|
+
# source://rbs//lib/rbs/definition.rb#176
|
|
2319
3261
|
def map_type(&block); end
|
|
2320
3262
|
|
|
2321
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3263
|
+
# source://rbs//lib/rbs/definition.rb#183
|
|
2322
3264
|
def map_type_bound(&block); end
|
|
2323
3265
|
|
|
2324
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3266
|
+
# source://rbs//lib/rbs/definition.rb#155
|
|
2325
3267
|
def members; end
|
|
2326
3268
|
|
|
2327
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3269
|
+
# source://rbs//lib/rbs/definition.rb#147
|
|
2328
3270
|
def method_types; end
|
|
2329
3271
|
|
|
2330
3272
|
# @return [Boolean]
|
|
2331
3273
|
#
|
|
2332
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3274
|
+
# source://rbs//lib/rbs/definition.rb#163
|
|
2333
3275
|
def private?; end
|
|
2334
3276
|
|
|
2335
3277
|
# @return [Boolean]
|
|
2336
3278
|
#
|
|
2337
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3279
|
+
# source://rbs//lib/rbs/definition.rb#159
|
|
2338
3280
|
def public?; end
|
|
2339
3281
|
|
|
2340
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3282
|
+
# source://rbs//lib/rbs/definition.rb#167
|
|
2341
3283
|
def sub(s); end
|
|
2342
3284
|
|
|
2343
3285
|
# Returns the value of attribute super_method.
|
|
2344
3286
|
#
|
|
2345
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3287
|
+
# source://rbs//lib/rbs/definition.rb#99
|
|
2346
3288
|
def super_method; end
|
|
2347
3289
|
|
|
2348
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3290
|
+
# source://rbs//lib/rbs/definition.rb#196
|
|
2349
3291
|
def update(super_method: T.unsafe(nil), defs: T.unsafe(nil), accessibility: T.unsafe(nil), alias_of: T.unsafe(nil), annotations: T.unsafe(nil), alias_member: T.unsafe(nil)); end
|
|
2350
3292
|
end
|
|
2351
3293
|
|
|
@@ -2372,10 +3314,10 @@ class RBS::Definition::Method::TypeDef
|
|
|
2372
3314
|
# source://rbs//lib/rbs/definition.rb#34
|
|
2373
3315
|
def defined_in; end
|
|
2374
3316
|
|
|
2375
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3317
|
+
# source://rbs//lib/rbs/definition.rb#89
|
|
2376
3318
|
def each_annotation(&block); end
|
|
2377
3319
|
|
|
2378
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3320
|
+
# source://rbs//lib/rbs/definition.rb#58
|
|
2379
3321
|
def eql?(other); end
|
|
2380
3322
|
|
|
2381
3323
|
# source://rbs//lib/rbs/definition.rb#60
|
|
@@ -2398,7 +3340,7 @@ class RBS::Definition::Method::TypeDef
|
|
|
2398
3340
|
|
|
2399
3341
|
# @return [Boolean]
|
|
2400
3342
|
#
|
|
2401
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3343
|
+
# source://rbs//lib/rbs/definition.rb#80
|
|
2402
3344
|
def overload?; end
|
|
2403
3345
|
|
|
2404
3346
|
# Returns the value of attribute overload_annotations.
|
|
@@ -2411,25 +3353,25 @@ class RBS::Definition::Method::TypeDef
|
|
|
2411
3353
|
# source://rbs//lib/rbs/definition.rb#32
|
|
2412
3354
|
def type; end
|
|
2413
3355
|
|
|
2414
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3356
|
+
# source://rbs//lib/rbs/definition.rb#73
|
|
2415
3357
|
def update(type: T.unsafe(nil), member: T.unsafe(nil), defined_in: T.unsafe(nil), implemented_in: T.unsafe(nil)); end
|
|
2416
3358
|
end
|
|
2417
3359
|
|
|
2418
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3360
|
+
# source://rbs//lib/rbs/definition.rb#284
|
|
2419
3361
|
class RBS::Definition::SingletonAncestors
|
|
2420
3362
|
# @return [SingletonAncestors] a new instance of SingletonAncestors
|
|
2421
3363
|
#
|
|
2422
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3364
|
+
# source://rbs//lib/rbs/definition.rb#288
|
|
2423
3365
|
def initialize(type_name:, ancestors:); end
|
|
2424
3366
|
|
|
2425
3367
|
# Returns the value of attribute ancestors.
|
|
2426
3368
|
#
|
|
2427
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3369
|
+
# source://rbs//lib/rbs/definition.rb#286
|
|
2428
3370
|
def ancestors; end
|
|
2429
3371
|
|
|
2430
3372
|
# Returns the value of attribute type_name.
|
|
2431
3373
|
#
|
|
2432
|
-
# source://rbs//lib/rbs/definition.rb#
|
|
3374
|
+
# source://rbs//lib/rbs/definition.rb#285
|
|
2433
3375
|
def type_name; end
|
|
2434
3376
|
end
|
|
2435
3377
|
|
|
@@ -2476,18 +3418,18 @@ class RBS::DefinitionBuilder
|
|
|
2476
3418
|
# source://rbs//lib/rbs/definition_builder.rb#6
|
|
2477
3419
|
def ancestor_builder; end
|
|
2478
3420
|
|
|
2479
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3421
|
+
# source://rbs//lib/rbs/definition_builder.rb#195
|
|
2480
3422
|
def build_instance(type_name); end
|
|
2481
3423
|
|
|
2482
3424
|
# source://rbs//lib/rbs/definition_builder.rb#43
|
|
2483
3425
|
def build_interface(type_name); end
|
|
2484
3426
|
|
|
2485
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3427
|
+
# source://rbs//lib/rbs/definition_builder.rb#327
|
|
2486
3428
|
def build_singleton(type_name); end
|
|
2487
3429
|
|
|
2488
3430
|
# Builds a definition for singleton without .new method.
|
|
2489
3431
|
#
|
|
2490
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3432
|
+
# source://rbs//lib/rbs/definition_builder.rb#257
|
|
2491
3433
|
def build_singleton0(type_name); end
|
|
2492
3434
|
|
|
2493
3435
|
# source://rbs//lib/rbs/definition_builder.rb#85
|
|
@@ -2496,7 +3438,7 @@ class RBS::DefinitionBuilder
|
|
|
2496
3438
|
# source://rbs//lib/rbs/definition_builder.rb#33
|
|
2497
3439
|
def define_interface(definition, type_name, subst); end
|
|
2498
3440
|
|
|
2499
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3441
|
+
# source://rbs//lib/rbs/definition_builder.rb#682
|
|
2500
3442
|
def define_method(methods, definition, method, subst, self_type_methods, defined_in:, implemented_in: T.unsafe(nil)); end
|
|
2501
3443
|
|
|
2502
3444
|
# source://rbs//lib/rbs/definition_builder.rb#25
|
|
@@ -2507,19 +3449,19 @@ class RBS::DefinitionBuilder
|
|
|
2507
3449
|
# source://rbs//lib/rbs/definition_builder.rb#5
|
|
2508
3450
|
def env; end
|
|
2509
3451
|
|
|
2510
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3452
|
+
# source://rbs//lib/rbs/definition_builder.rb#950
|
|
2511
3453
|
def expand_alias(type_name); end
|
|
2512
3454
|
|
|
2513
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3455
|
+
# source://rbs//lib/rbs/definition_builder.rb#954
|
|
2514
3456
|
def expand_alias1(type_name); end
|
|
2515
3457
|
|
|
2516
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3458
|
+
# source://rbs//lib/rbs/definition_builder.rb#961
|
|
2517
3459
|
def expand_alias2(type_name, args); end
|
|
2518
3460
|
|
|
2519
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3461
|
+
# source://rbs//lib/rbs/definition_builder.rb#621
|
|
2520
3462
|
def import_methods(definition, module_name, module_methods, interfaces_methods, subst, self_type_methods); end
|
|
2521
3463
|
|
|
2522
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3464
|
+
# source://rbs//lib/rbs/definition_builder.rb#570
|
|
2523
3465
|
def insert_variable(type_name, variables, name:, type:, source:); end
|
|
2524
3466
|
|
|
2525
3467
|
# Returns the value of attribute instance_cache.
|
|
@@ -2532,7 +3474,7 @@ class RBS::DefinitionBuilder
|
|
|
2532
3474
|
# source://rbs//lib/rbs/definition_builder.rb#12
|
|
2533
3475
|
def interface_cache; end
|
|
2534
3476
|
|
|
2535
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3477
|
+
# source://rbs//lib/rbs/definition_builder.rb#440
|
|
2536
3478
|
def interface_methods(interface_ancestors); end
|
|
2537
3479
|
|
|
2538
3480
|
# Returns the value of attribute method_builder.
|
|
@@ -2550,33 +3492,33 @@ class RBS::DefinitionBuilder
|
|
|
2550
3492
|
# source://rbs//lib/rbs/definition_builder.rb#10
|
|
2551
3493
|
def singleton_cache; end
|
|
2552
3494
|
|
|
2553
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3495
|
+
# source://rbs//lib/rbs/definition_builder.rb#470
|
|
2554
3496
|
def source_location(source, decl); end
|
|
2555
3497
|
|
|
2556
3498
|
# source://rbs//lib/rbs/definition_builder.rb#66
|
|
2557
3499
|
def tapp_subst(name, args); end
|
|
2558
3500
|
|
|
2559
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3501
|
+
# source://rbs//lib/rbs/definition_builder.rb#946
|
|
2560
3502
|
def try_cache(type_name, cache:); end
|
|
2561
3503
|
|
|
2562
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3504
|
+
# source://rbs//lib/rbs/definition_builder.rb#985
|
|
2563
3505
|
def update(env:, except:, ancestor_builder:); end
|
|
2564
3506
|
|
|
2565
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3507
|
+
# source://rbs//lib/rbs/definition_builder.rb#460
|
|
2566
3508
|
def validate_params_with(type_params, result:); end
|
|
2567
3509
|
|
|
2568
3510
|
# @raise [NoTypeFoundError]
|
|
2569
3511
|
#
|
|
2570
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3512
|
+
# source://rbs//lib/rbs/definition_builder.rb#1014
|
|
2571
3513
|
def validate_type_name(name, location); end
|
|
2572
3514
|
|
|
2573
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3515
|
+
# source://rbs//lib/rbs/definition_builder.rb#488
|
|
2574
3516
|
def validate_type_params(definition, ancestors:, methods:); end
|
|
2575
3517
|
|
|
2576
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3518
|
+
# source://rbs//lib/rbs/definition_builder.rb#1003
|
|
2577
3519
|
def validate_type_presence(type); end
|
|
2578
3520
|
|
|
2579
|
-
# source://rbs//lib/rbs/definition_builder.rb#
|
|
3521
|
+
# source://rbs//lib/rbs/definition_builder.rb#581
|
|
2580
3522
|
def validate_variable(var); end
|
|
2581
3523
|
end
|
|
2582
3524
|
|
|
@@ -2592,10 +3534,10 @@ class RBS::DefinitionBuilder::AncestorBuilder
|
|
|
2592
3534
|
# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#151
|
|
2593
3535
|
def env; end
|
|
2594
3536
|
|
|
2595
|
-
# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#
|
|
3537
|
+
# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#664
|
|
2596
3538
|
def fill_ancestor_source(ancestor, name:, source:, &block); end
|
|
2597
3539
|
|
|
2598
|
-
# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#
|
|
3540
|
+
# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#492
|
|
2599
3541
|
def instance_ancestors(type_name, building_ancestors: T.unsafe(nil)); end
|
|
2600
3542
|
|
|
2601
3543
|
# Returns the value of attribute instance_ancestors_cache.
|
|
@@ -2603,7 +3545,7 @@ class RBS::DefinitionBuilder::AncestorBuilder
|
|
|
2603
3545
|
# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#154
|
|
2604
3546
|
def instance_ancestors_cache; end
|
|
2605
3547
|
|
|
2606
|
-
# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#
|
|
3548
|
+
# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#628
|
|
2607
3549
|
def interface_ancestors(type_name, building_ancestors: T.unsafe(nil)); end
|
|
2608
3550
|
|
|
2609
3551
|
# Returns the value of attribute interface_ancestors_cache.
|
|
@@ -2611,7 +3553,7 @@ class RBS::DefinitionBuilder::AncestorBuilder
|
|
|
2611
3553
|
# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#160
|
|
2612
3554
|
def interface_ancestors_cache; end
|
|
2613
3555
|
|
|
2614
|
-
# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#
|
|
3556
|
+
# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#474
|
|
2615
3557
|
def mixin_ancestors(entry, type_name, included_modules:, included_interfaces:, extended_modules:, prepended_modules:, extended_interfaces:); end
|
|
2616
3558
|
|
|
2617
3559
|
# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#350
|
|
@@ -2641,7 +3583,7 @@ class RBS::DefinitionBuilder::AncestorBuilder
|
|
|
2641
3583
|
# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#156
|
|
2642
3584
|
def one_singleton_ancestors_cache; end
|
|
2643
3585
|
|
|
2644
|
-
# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#
|
|
3586
|
+
# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#573
|
|
2645
3587
|
def singleton_ancestors(type_name, building_ancestors: T.unsafe(nil)); end
|
|
2646
3588
|
|
|
2647
3589
|
# Returns the value of attribute singleton_ancestors_cache.
|
|
@@ -2750,26 +3692,29 @@ class RBS::DefinitionBuilder::MethodBuilder
|
|
|
2750
3692
|
# source://rbs//lib/rbs/definition_builder/method_builder.rb#91
|
|
2751
3693
|
def initialize(env:); end
|
|
2752
3694
|
|
|
2753
|
-
# source://rbs//lib/rbs/definition_builder/method_builder.rb#
|
|
3695
|
+
# source://rbs//lib/rbs/definition_builder/method_builder.rb#211
|
|
2754
3696
|
def build_alias(methods, type, member:); end
|
|
2755
3697
|
|
|
2756
|
-
# source://rbs//lib/rbs/definition_builder/method_builder.rb#
|
|
3698
|
+
# source://rbs//lib/rbs/definition_builder/method_builder.rb#216
|
|
2757
3699
|
def build_attribute(methods, type, member:, accessibility:); end
|
|
2758
3700
|
|
|
2759
3701
|
# source://rbs//lib/rbs/definition_builder/method_builder.rb#99
|
|
2760
3702
|
def build_instance(type_name); end
|
|
2761
3703
|
|
|
2762
|
-
# source://rbs//lib/rbs/definition_builder/method_builder.rb#
|
|
3704
|
+
# source://rbs//lib/rbs/definition_builder/method_builder.rb#191
|
|
2763
3705
|
def build_interface(type_name); end
|
|
2764
3706
|
|
|
2765
|
-
# source://rbs//lib/rbs/definition_builder/method_builder.rb#
|
|
3707
|
+
# source://rbs//lib/rbs/definition_builder/method_builder.rb#250
|
|
2766
3708
|
def build_method(methods, type, member:, accessibility:); end
|
|
2767
3709
|
|
|
2768
|
-
# source://rbs//lib/rbs/definition_builder/method_builder.rb#
|
|
3710
|
+
# source://rbs//lib/rbs/definition_builder/method_builder.rb#232
|
|
3711
|
+
def build_ruby_attribute(methods, type, member:, accessibility:); end
|
|
3712
|
+
|
|
3713
|
+
# source://rbs//lib/rbs/definition_builder/method_builder.rb#162
|
|
2769
3714
|
def build_singleton(type_name); end
|
|
2770
3715
|
|
|
2771
|
-
# source://rbs//lib/rbs/definition_builder/method_builder.rb#
|
|
2772
|
-
def
|
|
3716
|
+
# source://rbs//lib/rbs/definition_builder/method_builder.rb#261
|
|
3717
|
+
def each_rbs_member_with_accessibility(members, accessibility: T.unsafe(nil)); end
|
|
2773
3718
|
|
|
2774
3719
|
# Returns the value of attribute env.
|
|
2775
3720
|
#
|
|
@@ -2791,7 +3736,7 @@ class RBS::DefinitionBuilder::MethodBuilder
|
|
|
2791
3736
|
# source://rbs//lib/rbs/definition_builder/method_builder.rb#88
|
|
2792
3737
|
def singleton_methods; end
|
|
2793
3738
|
|
|
2794
|
-
# source://rbs//lib/rbs/definition_builder/method_builder.rb#
|
|
3739
|
+
# source://rbs//lib/rbs/definition_builder/method_builder.rb#274
|
|
2795
3740
|
def update(env:, except:); end
|
|
2796
3741
|
end
|
|
2797
3742
|
|
|
@@ -2884,7 +3829,7 @@ class RBS::Diff
|
|
|
2884
3829
|
# source://rbs//lib/rbs/diff.rb#49
|
|
2885
3830
|
def build_methods(path); end
|
|
2886
3831
|
|
|
2887
|
-
# source://rbs//lib/rbs/diff.rb#
|
|
3832
|
+
# source://rbs//lib/rbs/diff.rb#122
|
|
2888
3833
|
def constant_to_s(constant); end
|
|
2889
3834
|
|
|
2890
3835
|
# source://rbs//lib/rbs/diff.rb#100
|
|
@@ -2897,21 +3842,21 @@ class RBS::Diff
|
|
|
2897
3842
|
def each_diff_methods(kind, before_methods, after_methods); end
|
|
2898
3843
|
end
|
|
2899
3844
|
|
|
2900
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
3845
|
+
# source://rbs//lib/rbs/errors.rb#419
|
|
2901
3846
|
class RBS::DuplicatedDeclarationError < ::RBS::LoadingError
|
|
2902
3847
|
# @return [DuplicatedDeclarationError] a new instance of DuplicatedDeclarationError
|
|
2903
3848
|
#
|
|
2904
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
3849
|
+
# source://rbs//lib/rbs/errors.rb#423
|
|
2905
3850
|
def initialize(name, *decls); end
|
|
2906
3851
|
|
|
2907
3852
|
# Returns the value of attribute decls.
|
|
2908
3853
|
#
|
|
2909
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
3854
|
+
# source://rbs//lib/rbs/errors.rb#421
|
|
2910
3855
|
def decls; end
|
|
2911
3856
|
|
|
2912
3857
|
# Returns the value of attribute name.
|
|
2913
3858
|
#
|
|
2914
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
3859
|
+
# source://rbs//lib/rbs/errors.rb#420
|
|
2915
3860
|
def name; end
|
|
2916
3861
|
end
|
|
2917
3862
|
|
|
@@ -2990,330 +3935,340 @@ end
|
|
|
2990
3935
|
class RBS::Environment
|
|
2991
3936
|
# @return [Environment] a new instance of Environment
|
|
2992
3937
|
#
|
|
2993
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3938
|
+
# source://rbs//lib/rbs/environment.rb#48
|
|
2994
3939
|
def initialize; end
|
|
2995
3940
|
|
|
2996
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
2997
|
-
def <<(decl); end
|
|
2998
|
-
|
|
2999
|
-
# source://rbs//lib/rbs/environment.rb#807
|
|
3941
|
+
# source://rbs//lib/rbs/environment.rb#981
|
|
3000
3942
|
def absolute_type(resolver, map, type, context:); end
|
|
3001
3943
|
|
|
3002
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3944
|
+
# source://rbs//lib/rbs/environment.rb#976
|
|
3003
3945
|
def absolute_type_name(resolver, map, type_name, context:); end
|
|
3004
3946
|
|
|
3005
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3006
|
-
def
|
|
3947
|
+
# source://rbs//lib/rbs/environment.rb#455
|
|
3948
|
+
def add_source(source); end
|
|
3007
3949
|
|
|
3008
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3950
|
+
# source://rbs//lib/rbs/environment.rb#568
|
|
3009
3951
|
def append_context(context, decl); end
|
|
3010
3952
|
|
|
3011
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3953
|
+
# source://rbs//lib/rbs/environment.rb#992
|
|
3012
3954
|
def buffers; end
|
|
3013
3955
|
|
|
3014
3956
|
# @return [Boolean]
|
|
3015
3957
|
#
|
|
3016
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3958
|
+
# source://rbs//lib/rbs/environment.rb#117
|
|
3017
3959
|
def class_alias?(name); end
|
|
3018
3960
|
|
|
3019
3961
|
# Returns the value of attribute class_alias_decls.
|
|
3020
3962
|
#
|
|
3021
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3963
|
+
# source://rbs//lib/rbs/environment.rb#10
|
|
3022
3964
|
def class_alias_decls; end
|
|
3023
3965
|
|
|
3024
3966
|
# @return [Boolean]
|
|
3025
3967
|
#
|
|
3026
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3968
|
+
# source://rbs//lib/rbs/environment.rb#101
|
|
3027
3969
|
def class_decl?(name); end
|
|
3028
3970
|
|
|
3029
3971
|
# Returns the value of attribute class_decls.
|
|
3030
3972
|
#
|
|
3031
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3973
|
+
# source://rbs//lib/rbs/environment.rb#5
|
|
3032
3974
|
def class_decls; end
|
|
3033
3975
|
|
|
3034
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3035
|
-
def class_entry(type_name); end
|
|
3976
|
+
# source://rbs//lib/rbs/environment.rb#125
|
|
3977
|
+
def class_entry(type_name, normalized: T.unsafe(nil)); end
|
|
3036
3978
|
|
|
3037
3979
|
# @return [Boolean]
|
|
3038
3980
|
#
|
|
3039
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3981
|
+
# source://rbs//lib/rbs/environment.rb#97
|
|
3040
3982
|
def constant_decl?(name); end
|
|
3041
3983
|
|
|
3042
3984
|
# Returns the value of attribute constant_decls.
|
|
3043
3985
|
#
|
|
3044
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3986
|
+
# source://rbs//lib/rbs/environment.rb#8
|
|
3045
3987
|
def constant_decls; end
|
|
3046
3988
|
|
|
3047
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3048
|
-
def constant_entry(type_name); end
|
|
3989
|
+
# source://rbs//lib/rbs/environment.rb#167
|
|
3990
|
+
def constant_entry(type_name, normalized: T.unsafe(nil)); end
|
|
3049
3991
|
|
|
3050
3992
|
# @return [Boolean]
|
|
3051
3993
|
#
|
|
3052
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3994
|
+
# source://rbs//lib/rbs/environment.rb#93
|
|
3053
3995
|
def constant_name?(name); end
|
|
3054
3996
|
|
|
3055
|
-
#
|
|
3056
|
-
#
|
|
3057
|
-
# source://rbs//lib/rbs/environment.rb#5
|
|
3997
|
+
# source://rbs//lib/rbs/environment.rb#14
|
|
3058
3998
|
def declarations; end
|
|
3059
3999
|
|
|
4000
|
+
# source://rbs//lib/rbs/environment.rb#470
|
|
4001
|
+
def each_rbs_source(&block); end
|
|
4002
|
+
|
|
4003
|
+
# source://rbs//lib/rbs/environment.rb#482
|
|
4004
|
+
def each_ruby_source(&block); end
|
|
4005
|
+
|
|
3060
4006
|
# Returns the value of attribute global_decls.
|
|
3061
4007
|
#
|
|
3062
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4008
|
+
# source://rbs//lib/rbs/environment.rb#9
|
|
3063
4009
|
def global_decls; end
|
|
3064
4010
|
|
|
3065
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3066
|
-
def
|
|
4011
|
+
# source://rbs//lib/rbs/environment.rb#277
|
|
4012
|
+
def insert_rbs_decl(decl, context:, namespace:); end
|
|
3067
4013
|
|
|
3068
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4014
|
+
# source://rbs//lib/rbs/environment.rb#374
|
|
4015
|
+
def insert_ruby_decl(decl, context:, namespace:); end
|
|
4016
|
+
|
|
4017
|
+
# source://rbs//lib/rbs/environment.rb#987
|
|
3069
4018
|
def inspect; end
|
|
3070
4019
|
|
|
3071
4020
|
# Returns the value of attribute interface_decls.
|
|
3072
4021
|
#
|
|
3073
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4022
|
+
# source://rbs//lib/rbs/environment.rb#6
|
|
3074
4023
|
def interface_decls; end
|
|
3075
4024
|
|
|
3076
4025
|
# @return [Boolean]
|
|
3077
4026
|
#
|
|
3078
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4027
|
+
# source://rbs//lib/rbs/environment.rb#75
|
|
3079
4028
|
def interface_name?(name); end
|
|
3080
4029
|
|
|
3081
4030
|
# @return [Boolean]
|
|
3082
4031
|
#
|
|
3083
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4032
|
+
# source://rbs//lib/rbs/environment.rb#109
|
|
3084
4033
|
def module_alias?(name); end
|
|
3085
4034
|
|
|
3086
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3087
|
-
def module_class_entry(type_name); end
|
|
4035
|
+
# source://rbs//lib/rbs/environment.rb#154
|
|
4036
|
+
def module_class_entry(type_name, normalized: T.unsafe(nil)); end
|
|
3088
4037
|
|
|
3089
4038
|
# @return [Boolean]
|
|
3090
4039
|
#
|
|
3091
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4040
|
+
# source://rbs//lib/rbs/environment.rb#105
|
|
3092
4041
|
def module_decl?(name); end
|
|
3093
4042
|
|
|
3094
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3095
|
-
def module_entry(type_name); end
|
|
4043
|
+
# source://rbs//lib/rbs/environment.rb#132
|
|
4044
|
+
def module_entry(type_name, normalized: T.unsafe(nil)); end
|
|
3096
4045
|
|
|
3097
4046
|
# @return [Boolean]
|
|
3098
4047
|
#
|
|
3099
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4048
|
+
# source://rbs//lib/rbs/environment.rb#83
|
|
3100
4049
|
def module_name?(name); end
|
|
3101
4050
|
|
|
3102
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4051
|
+
# source://rbs//lib/rbs/environment.rb#269
|
|
3103
4052
|
def normalize_module_name(name); end
|
|
3104
4053
|
|
|
4054
|
+
# source://rbs//lib/rbs/environment.rb#273
|
|
4055
|
+
def normalize_module_name!(name); end
|
|
4056
|
+
|
|
3105
4057
|
# @return [Boolean]
|
|
3106
4058
|
#
|
|
3107
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4059
|
+
# source://rbs//lib/rbs/environment.rb#241
|
|
3108
4060
|
def normalize_module_name?(name); end
|
|
3109
4061
|
|
|
3110
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4062
|
+
# source://rbs//lib/rbs/environment.rb#219
|
|
3111
4063
|
def normalize_type_name(name); end
|
|
3112
4064
|
|
|
3113
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4065
|
+
# source://rbs//lib/rbs/environment.rb#206
|
|
3114
4066
|
def normalize_type_name!(name); end
|
|
3115
4067
|
|
|
3116
4068
|
# @return [Boolean]
|
|
3117
4069
|
#
|
|
3118
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4070
|
+
# source://rbs//lib/rbs/environment.rb#187
|
|
3119
4071
|
def normalize_type_name?(name); end
|
|
3120
4072
|
|
|
3121
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4073
|
+
# source://rbs//lib/rbs/environment.rb#139
|
|
3122
4074
|
def normalized_class_entry(type_name); end
|
|
3123
4075
|
|
|
3124
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4076
|
+
# source://rbs//lib/rbs/environment.rb#163
|
|
3125
4077
|
def normalized_module_class_entry(type_name); end
|
|
3126
4078
|
|
|
3127
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4079
|
+
# source://rbs//lib/rbs/environment.rb#150
|
|
3128
4080
|
def normalized_module_entry(type_name); end
|
|
3129
4081
|
|
|
3130
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4082
|
+
# source://rbs//lib/rbs/environment.rb#236
|
|
3131
4083
|
def normalized_type_name!(name); end
|
|
3132
4084
|
|
|
3133
4085
|
# @return [Boolean]
|
|
3134
4086
|
#
|
|
3135
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4087
|
+
# source://rbs//lib/rbs/environment.rb#223
|
|
3136
4088
|
def normalized_type_name?(type_name); end
|
|
3137
4089
|
|
|
3138
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3139
|
-
def resolve_declaration(resolver, map, decl,
|
|
4090
|
+
# source://rbs//lib/rbs/environment.rb#577
|
|
4091
|
+
def resolve_declaration(resolver, map, decl, context:, prefix:); end
|
|
3140
4092
|
|
|
3141
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4093
|
+
# source://rbs//lib/rbs/environment.rb#862
|
|
3142
4094
|
def resolve_member(resolver, map, member, context:); end
|
|
3143
4095
|
|
|
3144
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4096
|
+
# source://rbs//lib/rbs/environment.rb#962
|
|
3145
4097
|
def resolve_method_type(resolver, map, type, context:); end
|
|
3146
4098
|
|
|
3147
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4099
|
+
# source://rbs//lib/rbs/environment.rb#713
|
|
4100
|
+
def resolve_ruby_decl(resolver, decl, context:, prefix:); end
|
|
4101
|
+
|
|
4102
|
+
# source://rbs//lib/rbs/environment.rb#790
|
|
4103
|
+
def resolve_ruby_member(resolver, member, context:); end
|
|
4104
|
+
|
|
4105
|
+
# source://rbs//lib/rbs/environment.rb#500
|
|
3148
4106
|
def resolve_signature(resolver, table, dirs, decls, only: T.unsafe(nil)); end
|
|
3149
4107
|
|
|
3150
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4108
|
+
# source://rbs//lib/rbs/environment.rb#522
|
|
3151
4109
|
def resolve_type_names(only: T.unsafe(nil)); end
|
|
3152
4110
|
|
|
3153
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4111
|
+
# source://rbs//lib/rbs/environment.rb#970
|
|
3154
4112
|
def resolve_type_params(resolver, map, params, context:); end
|
|
3155
4113
|
|
|
3156
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4114
|
+
# source://rbs//lib/rbs/environment.rb#562
|
|
3157
4115
|
def resolver_context(*nesting); end
|
|
3158
4116
|
|
|
3159
|
-
# Returns the value of attribute
|
|
4117
|
+
# Returns the value of attribute sources.
|
|
3160
4118
|
#
|
|
3161
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3162
|
-
def
|
|
4119
|
+
# source://rbs//lib/rbs/environment.rb#12
|
|
4120
|
+
def sources; end
|
|
3163
4121
|
|
|
3164
4122
|
# Returns the value of attribute type_alias_decls.
|
|
3165
4123
|
#
|
|
3166
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4124
|
+
# source://rbs//lib/rbs/environment.rb#7
|
|
3167
4125
|
def type_alias_decls; end
|
|
3168
4126
|
|
|
3169
4127
|
# @return [Boolean]
|
|
3170
4128
|
#
|
|
3171
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4129
|
+
# source://rbs//lib/rbs/environment.rb#79
|
|
3172
4130
|
def type_alias_name?(name); end
|
|
3173
4131
|
|
|
3174
4132
|
# @return [Boolean]
|
|
3175
4133
|
#
|
|
3176
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4134
|
+
# source://rbs//lib/rbs/environment.rb#87
|
|
3177
4135
|
def type_name?(name); end
|
|
3178
4136
|
|
|
3179
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3180
|
-
def unload(
|
|
4137
|
+
# source://rbs//lib/rbs/environment.rb#996
|
|
4138
|
+
def unload(paths); end
|
|
3181
4139
|
|
|
3182
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4140
|
+
# source://rbs//lib/rbs/environment.rb#494
|
|
3183
4141
|
def validate_type_params; end
|
|
3184
4142
|
|
|
3185
4143
|
private
|
|
3186
4144
|
|
|
3187
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4145
|
+
# source://rbs//lib/rbs/environment.rb#59
|
|
3188
4146
|
def initialize_copy(other); end
|
|
3189
4147
|
|
|
3190
4148
|
class << self
|
|
3191
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4149
|
+
# source://rbs//lib/rbs/environment.rb#69
|
|
3192
4150
|
def from_loader(loader); end
|
|
3193
4151
|
end
|
|
3194
4152
|
end
|
|
3195
4153
|
|
|
3196
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4154
|
+
# source://rbs//lib/rbs/environment.rb#33
|
|
3197
4155
|
class RBS::Environment::ClassAliasEntry < ::RBS::Environment::SingleEntry; end
|
|
3198
4156
|
|
|
3199
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3200
|
-
class RBS::Environment::ClassEntry
|
|
3201
|
-
#
|
|
3202
|
-
|
|
3203
|
-
|
|
4157
|
+
# source://rbs//lib/rbs/environment/class_entry.rb#5
|
|
4158
|
+
class RBS::Environment::ClassEntry
|
|
4159
|
+
# @return [ClassEntry] a new instance of ClassEntry
|
|
4160
|
+
#
|
|
4161
|
+
# source://rbs//lib/rbs/environment/class_entry.rb#10
|
|
4162
|
+
def initialize(name); end
|
|
3204
4163
|
|
|
3205
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3206
|
-
|
|
4164
|
+
# source://rbs//lib/rbs/environment/class_entry.rb#15
|
|
4165
|
+
def <<(context_decl); end
|
|
4166
|
+
|
|
4167
|
+
# Returns the value of attribute context_decls.
|
|
4168
|
+
#
|
|
4169
|
+
# source://rbs//lib/rbs/environment/class_entry.rb#8
|
|
4170
|
+
def context_decls; end
|
|
4171
|
+
|
|
4172
|
+
# source://rbs//lib/rbs/environment/class_entry.rb#21
|
|
4173
|
+
def each_decl(&block); end
|
|
4174
|
+
|
|
4175
|
+
# @return [Boolean]
|
|
4176
|
+
#
|
|
4177
|
+
# source://rbs//lib/rbs/environment/class_entry.rb#31
|
|
4178
|
+
def empty?; end
|
|
4179
|
+
|
|
4180
|
+
# Returns the value of attribute name.
|
|
4181
|
+
#
|
|
4182
|
+
# source://rbs//lib/rbs/environment/class_entry.rb#6
|
|
4183
|
+
def name; end
|
|
4184
|
+
|
|
4185
|
+
# source://rbs//lib/rbs/environment/class_entry.rb#35
|
|
4186
|
+
def primary_decl; end
|
|
4187
|
+
|
|
4188
|
+
# source://rbs//lib/rbs/environment/class_entry.rb#47
|
|
4189
|
+
def type_params; end
|
|
3207
4190
|
|
|
3208
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3209
|
-
|
|
3210
|
-
# source://rbs//lib/rbs/environment.rb#17
|
|
3211
|
-
def calculate_context(decls); end
|
|
4191
|
+
# source://rbs//lib/rbs/environment/class_entry.rb#52
|
|
4192
|
+
def validate_type_params; end
|
|
3212
4193
|
end
|
|
3213
4194
|
|
|
3214
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4195
|
+
# source://rbs//lib/rbs/environment.rb#42
|
|
4196
|
+
class RBS::Environment::ConstantEntry < ::RBS::Environment::SingleEntry; end
|
|
4197
|
+
|
|
4198
|
+
# source://rbs//lib/rbs/environment.rb#45
|
|
3215
4199
|
class RBS::Environment::GlobalEntry < ::RBS::Environment::SingleEntry; end
|
|
3216
4200
|
|
|
3217
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4201
|
+
# source://rbs//lib/rbs/environment.rb#36
|
|
3218
4202
|
class RBS::Environment::InterfaceEntry < ::RBS::Environment::SingleEntry; end
|
|
3219
4203
|
|
|
3220
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4204
|
+
# source://rbs//lib/rbs/environment.rb#30
|
|
3221
4205
|
class RBS::Environment::ModuleAliasEntry < ::RBS::Environment::SingleEntry; end
|
|
3222
4206
|
|
|
3223
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3224
|
-
class RBS::Environment::ModuleEntry
|
|
3225
|
-
#
|
|
3226
|
-
|
|
4207
|
+
# source://rbs//lib/rbs/environment/module_entry.rb#5
|
|
4208
|
+
class RBS::Environment::ModuleEntry
|
|
4209
|
+
# @return [ModuleEntry] a new instance of ModuleEntry
|
|
4210
|
+
#
|
|
4211
|
+
# source://rbs//lib/rbs/environment/module_entry.rb#10
|
|
4212
|
+
def initialize(name); end
|
|
3227
4213
|
|
|
3228
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3229
|
-
def
|
|
3230
|
-
end
|
|
4214
|
+
# source://rbs//lib/rbs/environment/module_entry.rb#15
|
|
4215
|
+
def <<(context_decl); end
|
|
3231
4216
|
|
|
3232
|
-
#
|
|
3233
|
-
class RBS::Environment::MultiEntry
|
|
3234
|
-
# @return [MultiEntry] a new instance of MultiEntry
|
|
4217
|
+
# Returns the value of attribute context_decls.
|
|
3235
4218
|
#
|
|
3236
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3237
|
-
def
|
|
4219
|
+
# source://rbs//lib/rbs/environment/module_entry.rb#8
|
|
4220
|
+
def context_decls; end
|
|
3238
4221
|
|
|
3239
|
-
#
|
|
3240
|
-
|
|
3241
|
-
# source://rbs//lib/rbs/environment.rb#70
|
|
3242
|
-
def compatible_params?(ps1, ps2); end
|
|
4222
|
+
# source://rbs//lib/rbs/environment/module_entry.rb#20
|
|
4223
|
+
def each_decl(&block); end
|
|
3243
4224
|
|
|
3244
|
-
#
|
|
4225
|
+
# @return [Boolean]
|
|
3245
4226
|
#
|
|
3246
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3247
|
-
def
|
|
3248
|
-
|
|
3249
|
-
# source://rbs//lib/rbs/environment.rb#48
|
|
3250
|
-
def insert(decl:, outer:); end
|
|
4227
|
+
# source://rbs//lib/rbs/environment/module_entry.rb#30
|
|
4228
|
+
def empty?; end
|
|
3251
4229
|
|
|
3252
4230
|
# Returns the value of attribute name.
|
|
3253
4231
|
#
|
|
3254
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4232
|
+
# source://rbs//lib/rbs/environment/module_entry.rb#6
|
|
3255
4233
|
def name; end
|
|
3256
4234
|
|
|
3257
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3258
|
-
def
|
|
4235
|
+
# source://rbs//lib/rbs/environment/module_entry.rb#34
|
|
4236
|
+
def primary_decl; end
|
|
4237
|
+
|
|
4238
|
+
# source://rbs//lib/rbs/environment/module_entry.rb#43
|
|
4239
|
+
def self_types; end
|
|
3259
4240
|
|
|
3260
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4241
|
+
# source://rbs//lib/rbs/environment/module_entry.rb#38
|
|
3261
4242
|
def type_params; end
|
|
3262
4243
|
|
|
3263
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4244
|
+
# source://rbs//lib/rbs/environment/module_entry.rb#49
|
|
3264
4245
|
def validate_type_params; end
|
|
3265
4246
|
end
|
|
3266
4247
|
|
|
3267
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3268
|
-
class RBS::Environment::MultiEntry::D < ::Struct
|
|
3269
|
-
include ::RBS::Environment::ContextUtil
|
|
3270
|
-
|
|
3271
|
-
# source://rbs//lib/rbs/environment.rb#35
|
|
3272
|
-
def context; end
|
|
3273
|
-
|
|
3274
|
-
def decl; end
|
|
3275
|
-
def decl=(_); end
|
|
3276
|
-
def outer; end
|
|
3277
|
-
def outer=(_); end
|
|
3278
|
-
|
|
3279
|
-
class << self
|
|
3280
|
-
def [](*_arg0); end
|
|
3281
|
-
def inspect; end
|
|
3282
|
-
def keyword_init?; end
|
|
3283
|
-
def members; end
|
|
3284
|
-
def new(*_arg0); end
|
|
3285
|
-
end
|
|
3286
|
-
end
|
|
3287
|
-
|
|
3288
|
-
# source://rbs//lib/rbs/environment.rb#109
|
|
4248
|
+
# source://rbs//lib/rbs/environment.rb#18
|
|
3289
4249
|
class RBS::Environment::SingleEntry
|
|
3290
|
-
include ::RBS::Environment::ContextUtil
|
|
3291
|
-
|
|
3292
4250
|
# @return [SingleEntry] a new instance of SingleEntry
|
|
3293
4251
|
#
|
|
3294
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
3295
|
-
def initialize(name:, decl:,
|
|
4252
|
+
# source://rbs//lib/rbs/environment.rb#23
|
|
4253
|
+
def initialize(name:, decl:, context:); end
|
|
3296
4254
|
|
|
3297
|
-
#
|
|
4255
|
+
# Returns the value of attribute context.
|
|
4256
|
+
#
|
|
4257
|
+
# source://rbs//lib/rbs/environment.rb#20
|
|
3298
4258
|
def context; end
|
|
3299
4259
|
|
|
3300
4260
|
# Returns the value of attribute decl.
|
|
3301
4261
|
#
|
|
3302
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4262
|
+
# source://rbs//lib/rbs/environment.rb#21
|
|
3303
4263
|
def decl; end
|
|
3304
4264
|
|
|
3305
4265
|
# Returns the value of attribute name.
|
|
3306
4266
|
#
|
|
3307
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4267
|
+
# source://rbs//lib/rbs/environment.rb#19
|
|
3308
4268
|
def name; end
|
|
3309
|
-
|
|
3310
|
-
# Returns the value of attribute outer.
|
|
3311
|
-
#
|
|
3312
|
-
# source://rbs//lib/rbs/environment.rb#111
|
|
3313
|
-
def outer; end
|
|
3314
4269
|
end
|
|
3315
4270
|
|
|
3316
|
-
# source://rbs//lib/rbs/environment.rb#
|
|
4271
|
+
# source://rbs//lib/rbs/environment.rb#39
|
|
3317
4272
|
class RBS::Environment::TypeAliasEntry < ::RBS::Environment::SingleEntry; end
|
|
3318
4273
|
|
|
3319
4274
|
# source://rbs//lib/rbs/environment/use_map.rb#5
|
|
@@ -3373,7 +4328,7 @@ class RBS::EnvironmentLoader
|
|
|
3373
4328
|
# source://rbs//lib/rbs/environment_loader.rb#48
|
|
3374
4329
|
def add(path: T.unsafe(nil), library: T.unsafe(nil), version: T.unsafe(nil), resolve_dependencies: T.unsafe(nil)); end
|
|
3375
4330
|
|
|
3376
|
-
# source://rbs//lib/rbs/environment_loader.rb#
|
|
4331
|
+
# source://rbs//lib/rbs/environment_loader.rb#74
|
|
3377
4332
|
def add_collection(lockfile); end
|
|
3378
4333
|
|
|
3379
4334
|
# Returns the value of attribute core_root.
|
|
@@ -3386,15 +4341,15 @@ class RBS::EnvironmentLoader
|
|
|
3386
4341
|
# source://rbs//lib/rbs/environment_loader.rb#24
|
|
3387
4342
|
def dirs; end
|
|
3388
4343
|
|
|
3389
|
-
# source://rbs//lib/rbs/environment_loader.rb#
|
|
4344
|
+
# source://rbs//lib/rbs/environment_loader.rb#125
|
|
3390
4345
|
def each_dir; end
|
|
3391
4346
|
|
|
3392
|
-
# source://rbs//lib/rbs/environment_loader.rb#
|
|
4347
|
+
# source://rbs//lib/rbs/environment_loader.rb#148
|
|
3393
4348
|
def each_signature; end
|
|
3394
4349
|
|
|
3395
4350
|
# @return [Boolean]
|
|
3396
4351
|
#
|
|
3397
|
-
# source://rbs//lib/rbs/environment_loader.rb#
|
|
4352
|
+
# source://rbs//lib/rbs/environment_loader.rb#98
|
|
3398
4353
|
def has_library?(library:, version:); end
|
|
3399
4354
|
|
|
3400
4355
|
# Returns the value of attribute libs.
|
|
@@ -3402,7 +4357,7 @@ class RBS::EnvironmentLoader
|
|
|
3402
4357
|
# source://rbs//lib/rbs/environment_loader.rb#23
|
|
3403
4358
|
def libs; end
|
|
3404
4359
|
|
|
3405
|
-
# source://rbs//lib/rbs/environment_loader.rb#
|
|
4360
|
+
# source://rbs//lib/rbs/environment_loader.rb#106
|
|
3406
4361
|
def load(env:); end
|
|
3407
4362
|
|
|
3408
4363
|
# Returns the value of attribute repository.
|
|
@@ -3410,7 +4365,7 @@ class RBS::EnvironmentLoader
|
|
|
3410
4365
|
# source://rbs//lib/rbs/environment_loader.rb#21
|
|
3411
4366
|
def repository; end
|
|
3412
4367
|
|
|
3413
|
-
# source://rbs//lib/rbs/environment_loader.rb#
|
|
4368
|
+
# source://rbs//lib/rbs/environment_loader.rb#59
|
|
3414
4369
|
def resolve_dependencies(library:, version:); end
|
|
3415
4370
|
|
|
3416
4371
|
class << self
|
|
@@ -3478,42 +4433,78 @@ end
|
|
|
3478
4433
|
|
|
3479
4434
|
# source://rbs//lib/rbs/environment_walker.rb#5
|
|
3480
4435
|
class RBS::EnvironmentWalker::InstanceNode < ::Struct
|
|
4436
|
+
# source://rbs//lib/rbs/environment_walker.rb#5
|
|
3481
4437
|
def type_name; end
|
|
4438
|
+
|
|
4439
|
+
# source://rbs//lib/rbs/environment_walker.rb#5
|
|
3482
4440
|
def type_name=(_); end
|
|
3483
4441
|
|
|
3484
4442
|
class << self
|
|
4443
|
+
# source://rbs//lib/rbs/environment_walker.rb#5
|
|
3485
4444
|
def [](*_arg0); end
|
|
4445
|
+
|
|
4446
|
+
# source://rbs//lib/rbs/environment_walker.rb#5
|
|
3486
4447
|
def inspect; end
|
|
4448
|
+
|
|
4449
|
+
# source://rbs//lib/rbs/environment_walker.rb#5
|
|
3487
4450
|
def keyword_init?; end
|
|
4451
|
+
|
|
4452
|
+
# source://rbs//lib/rbs/environment_walker.rb#5
|
|
3488
4453
|
def members; end
|
|
4454
|
+
|
|
4455
|
+
# source://rbs//lib/rbs/environment_walker.rb#5
|
|
3489
4456
|
def new(*_arg0); end
|
|
3490
4457
|
end
|
|
3491
4458
|
end
|
|
3492
4459
|
|
|
3493
4460
|
# source://rbs//lib/rbs/environment_walker.rb#6
|
|
3494
4461
|
class RBS::EnvironmentWalker::SingletonNode < ::Struct
|
|
4462
|
+
# source://rbs//lib/rbs/environment_walker.rb#6
|
|
3495
4463
|
def type_name; end
|
|
4464
|
+
|
|
4465
|
+
# source://rbs//lib/rbs/environment_walker.rb#6
|
|
3496
4466
|
def type_name=(_); end
|
|
3497
4467
|
|
|
3498
4468
|
class << self
|
|
4469
|
+
# source://rbs//lib/rbs/environment_walker.rb#6
|
|
3499
4470
|
def [](*_arg0); end
|
|
4471
|
+
|
|
4472
|
+
# source://rbs//lib/rbs/environment_walker.rb#6
|
|
3500
4473
|
def inspect; end
|
|
4474
|
+
|
|
4475
|
+
# source://rbs//lib/rbs/environment_walker.rb#6
|
|
3501
4476
|
def keyword_init?; end
|
|
4477
|
+
|
|
4478
|
+
# source://rbs//lib/rbs/environment_walker.rb#6
|
|
3502
4479
|
def members; end
|
|
4480
|
+
|
|
4481
|
+
# source://rbs//lib/rbs/environment_walker.rb#6
|
|
3503
4482
|
def new(*_arg0); end
|
|
3504
4483
|
end
|
|
3505
4484
|
end
|
|
3506
4485
|
|
|
3507
4486
|
# source://rbs//lib/rbs/environment_walker.rb#7
|
|
3508
4487
|
class RBS::EnvironmentWalker::TypeNameNode < ::Struct
|
|
4488
|
+
# source://rbs//lib/rbs/environment_walker.rb#7
|
|
3509
4489
|
def type_name; end
|
|
4490
|
+
|
|
4491
|
+
# source://rbs//lib/rbs/environment_walker.rb#7
|
|
3510
4492
|
def type_name=(_); end
|
|
3511
4493
|
|
|
3512
4494
|
class << self
|
|
4495
|
+
# source://rbs//lib/rbs/environment_walker.rb#7
|
|
3513
4496
|
def [](*_arg0); end
|
|
4497
|
+
|
|
4498
|
+
# source://rbs//lib/rbs/environment_walker.rb#7
|
|
3514
4499
|
def inspect; end
|
|
4500
|
+
|
|
4501
|
+
# source://rbs//lib/rbs/environment_walker.rb#7
|
|
3515
4502
|
def keyword_init?; end
|
|
4503
|
+
|
|
4504
|
+
# source://rbs//lib/rbs/environment_walker.rb#7
|
|
3516
4505
|
def members; end
|
|
4506
|
+
|
|
4507
|
+
# source://rbs//lib/rbs/environment_walker.rb#7
|
|
3517
4508
|
def new(*_arg0); end
|
|
3518
4509
|
end
|
|
3519
4510
|
end
|
|
@@ -3532,63 +4523,319 @@ module RBS::FileFinder
|
|
|
3532
4523
|
end
|
|
3533
4524
|
end
|
|
3534
4525
|
|
|
3535
|
-
# source://rbs//lib/rbs/errors.rb#407
|
|
3536
|
-
class RBS::GenericParameterMismatchError < ::RBS::LoadingError
|
|
3537
|
-
# @return [GenericParameterMismatchError] a new instance of GenericParameterMismatchError
|
|
3538
|
-
#
|
|
3539
|
-
# source://rbs//lib/rbs/errors.rb#411
|
|
3540
|
-
def initialize(name:, decl:); end
|
|
4526
|
+
# source://rbs//lib/rbs/errors.rb#407
|
|
4527
|
+
class RBS::GenericParameterMismatchError < ::RBS::LoadingError
|
|
4528
|
+
# @return [GenericParameterMismatchError] a new instance of GenericParameterMismatchError
|
|
4529
|
+
#
|
|
4530
|
+
# source://rbs//lib/rbs/errors.rb#411
|
|
4531
|
+
def initialize(name:, decl:, location: T.unsafe(nil)); end
|
|
4532
|
+
|
|
4533
|
+
# Returns the value of attribute decl.
|
|
4534
|
+
#
|
|
4535
|
+
# source://rbs//lib/rbs/errors.rb#409
|
|
4536
|
+
def decl; end
|
|
4537
|
+
|
|
4538
|
+
# Returns the value of attribute name.
|
|
4539
|
+
#
|
|
4540
|
+
# source://rbs//lib/rbs/errors.rb#408
|
|
4541
|
+
def name; end
|
|
4542
|
+
end
|
|
4543
|
+
|
|
4544
|
+
# source://rbs//lib/rbs/errors.rb#574
|
|
4545
|
+
class RBS::InconsistentClassModuleAliasError < ::RBS::BaseError
|
|
4546
|
+
include ::RBS::DetailedMessageable
|
|
4547
|
+
|
|
4548
|
+
# @return [InconsistentClassModuleAliasError] a new instance of InconsistentClassModuleAliasError
|
|
4549
|
+
#
|
|
4550
|
+
# source://rbs//lib/rbs/errors.rb#579
|
|
4551
|
+
def initialize(entry); end
|
|
4552
|
+
|
|
4553
|
+
# Returns the value of attribute alias_entry.
|
|
4554
|
+
#
|
|
4555
|
+
# source://rbs//lib/rbs/errors.rb#577
|
|
4556
|
+
def alias_entry; end
|
|
4557
|
+
|
|
4558
|
+
# source://rbs//lib/rbs/errors.rb#593
|
|
4559
|
+
def location; end
|
|
4560
|
+
end
|
|
4561
|
+
|
|
4562
|
+
# source://rbs//lib/rbs/errors.rb#187
|
|
4563
|
+
class RBS::InheritModuleError < ::RBS::DefinitionError
|
|
4564
|
+
include ::RBS::DetailedMessageable
|
|
4565
|
+
|
|
4566
|
+
# @return [InheritModuleError] a new instance of InheritModuleError
|
|
4567
|
+
#
|
|
4568
|
+
# source://rbs//lib/rbs/errors.rb#192
|
|
4569
|
+
def initialize(super_decl); end
|
|
4570
|
+
|
|
4571
|
+
# source://rbs//lib/rbs/errors.rb#198
|
|
4572
|
+
def location; end
|
|
4573
|
+
|
|
4574
|
+
# Returns the value of attribute super_decl.
|
|
4575
|
+
#
|
|
4576
|
+
# source://rbs//lib/rbs/errors.rb#190
|
|
4577
|
+
def super_decl; end
|
|
4578
|
+
|
|
4579
|
+
class << self
|
|
4580
|
+
# source://rbs//lib/rbs/errors.rb#202
|
|
4581
|
+
def check!(super_decl, env:); end
|
|
4582
|
+
end
|
|
4583
|
+
end
|
|
4584
|
+
|
|
4585
|
+
# source://rbs//lib/rbs/inline_parser.rb#4
|
|
4586
|
+
class RBS::InlineParser
|
|
4587
|
+
class << self
|
|
4588
|
+
# source://rbs//lib/rbs/inline_parser.rb#45
|
|
4589
|
+
def parse(buffer, prism); end
|
|
4590
|
+
end
|
|
4591
|
+
end
|
|
4592
|
+
|
|
4593
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#5
|
|
4594
|
+
class RBS::InlineParser::CommentAssociation
|
|
4595
|
+
# @return [CommentAssociation] a new instance of CommentAssociation
|
|
4596
|
+
#
|
|
4597
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#8
|
|
4598
|
+
def initialize(blocks); end
|
|
4599
|
+
|
|
4600
|
+
# Returns the value of attribute associated_blocks.
|
|
4601
|
+
#
|
|
4602
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#6
|
|
4603
|
+
def associated_blocks; end
|
|
4604
|
+
|
|
4605
|
+
# Returns the value of attribute blocks.
|
|
4606
|
+
#
|
|
4607
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#6
|
|
4608
|
+
def blocks; end
|
|
4609
|
+
|
|
4610
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#84
|
|
4611
|
+
def each_enclosed_block(node); end
|
|
4612
|
+
|
|
4613
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#104
|
|
4614
|
+
def each_unassociated_block; end
|
|
4615
|
+
|
|
4616
|
+
# Returns the value of attribute end_line_map.
|
|
4617
|
+
#
|
|
4618
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#6
|
|
4619
|
+
def end_line_map; end
|
|
4620
|
+
|
|
4621
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#47
|
|
4622
|
+
def leading_block(node); end
|
|
4623
|
+
|
|
4624
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#55
|
|
4625
|
+
def leading_block!(node); end
|
|
4626
|
+
|
|
4627
|
+
# Returns the value of attribute start_line_map.
|
|
4628
|
+
#
|
|
4629
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#6
|
|
4630
|
+
def start_line_map; end
|
|
4631
|
+
|
|
4632
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#63
|
|
4633
|
+
def trailing_block(node); end
|
|
4634
|
+
|
|
4635
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#76
|
|
4636
|
+
def trailing_block!(node); end
|
|
4637
|
+
|
|
4638
|
+
class << self
|
|
4639
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#24
|
|
4640
|
+
def build(buffer, result); end
|
|
4641
|
+
end
|
|
4642
|
+
end
|
|
4643
|
+
|
|
4644
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#29
|
|
4645
|
+
class RBS::InlineParser::CommentAssociation::Reference
|
|
4646
|
+
# @return [Reference] a new instance of Reference
|
|
4647
|
+
#
|
|
4648
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#32
|
|
4649
|
+
def initialize(block, association); end
|
|
4650
|
+
|
|
4651
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#37
|
|
4652
|
+
def associate!; end
|
|
4653
|
+
|
|
4654
|
+
# @return [Boolean]
|
|
4655
|
+
#
|
|
4656
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#42
|
|
4657
|
+
def associated?; end
|
|
4658
|
+
|
|
4659
|
+
# Returns the value of attribute block.
|
|
4660
|
+
#
|
|
4661
|
+
# source://rbs//lib/rbs/inline_parser/comment_association.rb#30
|
|
4662
|
+
def block; end
|
|
4663
|
+
end
|
|
4664
|
+
|
|
4665
|
+
# source://rbs//lib/rbs/inline_parser.rb#20
|
|
4666
|
+
module RBS::InlineParser::Diagnostic; end
|
|
4667
|
+
|
|
4668
|
+
# source://rbs//lib/rbs/inline_parser.rb#38
|
|
4669
|
+
class RBS::InlineParser::Diagnostic::AnnotationSyntaxError < ::RBS::InlineParser::Diagnostic::Base; end
|
|
4670
|
+
|
|
4671
|
+
# source://rbs//lib/rbs/inline_parser.rb#41
|
|
4672
|
+
class RBS::InlineParser::Diagnostic::AttributeNonSymbolName < ::RBS::InlineParser::Diagnostic::Base; end
|
|
4673
|
+
|
|
4674
|
+
# source://rbs//lib/rbs/inline_parser.rb#21
|
|
4675
|
+
class RBS::InlineParser::Diagnostic::Base
|
|
4676
|
+
# @return [Base] a new instance of Base
|
|
4677
|
+
#
|
|
4678
|
+
# source://rbs//lib/rbs/inline_parser.rb#24
|
|
4679
|
+
def initialize(location, message); end
|
|
4680
|
+
|
|
4681
|
+
# Returns the value of attribute location.
|
|
4682
|
+
#
|
|
4683
|
+
# source://rbs//lib/rbs/inline_parser.rb#22
|
|
4684
|
+
def location; end
|
|
4685
|
+
|
|
4686
|
+
# Returns the value of attribute message.
|
|
4687
|
+
#
|
|
4688
|
+
# source://rbs//lib/rbs/inline_parser.rb#22
|
|
4689
|
+
def message; end
|
|
4690
|
+
end
|
|
4691
|
+
|
|
4692
|
+
# source://rbs//lib/rbs/inline_parser.rb#42
|
|
4693
|
+
class RBS::InlineParser::Diagnostic::ClassModuleAliasDeclarationMissingTypeName < ::RBS::InlineParser::Diagnostic::Base; end
|
|
4694
|
+
|
|
4695
|
+
# source://rbs//lib/rbs/inline_parser.rb#39
|
|
4696
|
+
class RBS::InlineParser::Diagnostic::MixinMultipleArguments < ::RBS::InlineParser::Diagnostic::Base; end
|
|
4697
|
+
|
|
4698
|
+
# source://rbs//lib/rbs/inline_parser.rb#40
|
|
4699
|
+
class RBS::InlineParser::Diagnostic::MixinNonConstantModule < ::RBS::InlineParser::Diagnostic::Base; end
|
|
4700
|
+
|
|
4701
|
+
# source://rbs//lib/rbs/inline_parser.rb#31
|
|
4702
|
+
class RBS::InlineParser::Diagnostic::NonConstantClassName < ::RBS::InlineParser::Diagnostic::Base; end
|
|
4703
|
+
|
|
4704
|
+
# source://rbs//lib/rbs/inline_parser.rb#36
|
|
4705
|
+
class RBS::InlineParser::Diagnostic::NonConstantConstantDeclaration < ::RBS::InlineParser::Diagnostic::Base; end
|
|
4706
|
+
|
|
4707
|
+
# source://rbs//lib/rbs/inline_parser.rb#32
|
|
4708
|
+
class RBS::InlineParser::Diagnostic::NonConstantModuleName < ::RBS::InlineParser::Diagnostic::Base; end
|
|
4709
|
+
|
|
4710
|
+
# source://rbs//lib/rbs/inline_parser.rb#33
|
|
4711
|
+
class RBS::InlineParser::Diagnostic::NonConstantSuperClassName < ::RBS::InlineParser::Diagnostic::Base; end
|
|
4712
|
+
|
|
4713
|
+
# source://rbs//lib/rbs/inline_parser.rb#30
|
|
4714
|
+
class RBS::InlineParser::Diagnostic::NotImplementedYet < ::RBS::InlineParser::Diagnostic::Base; end
|
|
4715
|
+
|
|
4716
|
+
# source://rbs//lib/rbs/inline_parser.rb#35
|
|
4717
|
+
class RBS::InlineParser::Diagnostic::TopLevelAttributeDefinition < ::RBS::InlineParser::Diagnostic::Base; end
|
|
4718
|
+
|
|
4719
|
+
# source://rbs//lib/rbs/inline_parser.rb#34
|
|
4720
|
+
class RBS::InlineParser::Diagnostic::TopLevelMethodDefinition < ::RBS::InlineParser::Diagnostic::Base; end
|
|
4721
|
+
|
|
4722
|
+
# source://rbs//lib/rbs/inline_parser.rb#37
|
|
4723
|
+
class RBS::InlineParser::Diagnostic::UnusedInlineAnnotation < ::RBS::InlineParser::Diagnostic::Base; end
|
|
4724
|
+
|
|
4725
|
+
# source://rbs//lib/rbs/inline_parser.rb#57
|
|
4726
|
+
class RBS::InlineParser::Parser < ::Prism::Visitor
|
|
4727
|
+
include ::RBS::AST::Ruby::Helpers::ConstantHelper
|
|
4728
|
+
include ::RBS::AST::Ruby::Helpers::LocationHelper
|
|
4729
|
+
|
|
4730
|
+
# @return [Parser] a new instance of Parser
|
|
4731
|
+
#
|
|
4732
|
+
# source://rbs//lib/rbs/inline_parser.rb#63
|
|
4733
|
+
def initialize(result); end
|
|
4734
|
+
|
|
4735
|
+
# source://rbs//lib/rbs/inline_parser.rb#69
|
|
4736
|
+
def buffer; end
|
|
4737
|
+
|
|
4738
|
+
# Returns the value of attribute comments.
|
|
4739
|
+
#
|
|
4740
|
+
# source://rbs//lib/rbs/inline_parser.rb#58
|
|
4741
|
+
def comments; end
|
|
4742
|
+
|
|
4743
|
+
# source://rbs//lib/rbs/inline_parser.rb#73
|
|
4744
|
+
def current_module; end
|
|
4745
|
+
|
|
4746
|
+
# source://rbs//lib/rbs/inline_parser.rb#77
|
|
4747
|
+
def current_module!; end
|
|
4748
|
+
|
|
4749
|
+
# source://rbs//lib/rbs/inline_parser.rb#81
|
|
4750
|
+
def diagnostics; end
|
|
3541
4751
|
|
|
3542
|
-
#
|
|
3543
|
-
|
|
3544
|
-
# source://rbs//lib/rbs/errors.rb#409
|
|
3545
|
-
def decl; end
|
|
4752
|
+
# source://rbs//lib/rbs/inline_parser.rb#472
|
|
4753
|
+
def insert_declaration(decl); end
|
|
3546
4754
|
|
|
3547
|
-
# Returns the value of attribute
|
|
4755
|
+
# Returns the value of attribute module_nesting.
|
|
3548
4756
|
#
|
|
3549
|
-
# source://rbs//lib/rbs/
|
|
3550
|
-
def
|
|
3551
|
-
end
|
|
4757
|
+
# source://rbs//lib/rbs/inline_parser.rb#58
|
|
4758
|
+
def module_nesting; end
|
|
3552
4759
|
|
|
3553
|
-
# source://rbs//lib/rbs/
|
|
3554
|
-
|
|
3555
|
-
include ::RBS::DetailedMessageable
|
|
4760
|
+
# source://rbs//lib/rbs/inline_parser.rb#315
|
|
4761
|
+
def parse_attribute_call(node); end
|
|
3556
4762
|
|
|
3557
|
-
#
|
|
4763
|
+
# source://rbs//lib/rbs/inline_parser.rb#375
|
|
4764
|
+
def parse_constant_declaration(node); end
|
|
4765
|
+
|
|
4766
|
+
# source://rbs//lib/rbs/inline_parser.rb#259
|
|
4767
|
+
def parse_mixin_call(node); end
|
|
4768
|
+
|
|
4769
|
+
# source://rbs//lib/rbs/inline_parser.rb#508
|
|
4770
|
+
def parse_super_class(super_class_expr, inheritance_operator_loc); end
|
|
4771
|
+
|
|
4772
|
+
# source://rbs//lib/rbs/inline_parser.rb#85
|
|
4773
|
+
def push_module_nesting(mod); end
|
|
4774
|
+
|
|
4775
|
+
# source://rbs//lib/rbs/inline_parser.rb#480
|
|
4776
|
+
def report_unused_annotation(*annotations); end
|
|
4777
|
+
|
|
4778
|
+
# source://rbs//lib/rbs/inline_parser.rb#495
|
|
4779
|
+
def report_unused_block(block); end
|
|
4780
|
+
|
|
4781
|
+
# Returns the value of attribute result.
|
|
3558
4782
|
#
|
|
3559
|
-
# source://rbs//lib/rbs/
|
|
3560
|
-
def
|
|
4783
|
+
# source://rbs//lib/rbs/inline_parser.rb#58
|
|
4784
|
+
def result; end
|
|
3561
4785
|
|
|
3562
|
-
#
|
|
4786
|
+
# @return [Boolean]
|
|
3563
4787
|
#
|
|
3564
|
-
# source://rbs//lib/rbs/
|
|
3565
|
-
def
|
|
4788
|
+
# source://rbs//lib/rbs/inline_parser.rb#92
|
|
4789
|
+
def skip_node?(node); end
|
|
3566
4790
|
|
|
3567
|
-
# source://rbs//lib/rbs/
|
|
3568
|
-
def
|
|
4791
|
+
# source://rbs//lib/rbs/inline_parser.rb#217
|
|
4792
|
+
def visit_call_node(node); end
|
|
4793
|
+
|
|
4794
|
+
# source://rbs//lib/rbs/inline_parser.rb#103
|
|
4795
|
+
def visit_class_node(node); end
|
|
4796
|
+
|
|
4797
|
+
# source://rbs//lib/rbs/inline_parser.rb#253
|
|
4798
|
+
def visit_constant_path_write_node(node); end
|
|
4799
|
+
|
|
4800
|
+
# source://rbs//lib/rbs/inline_parser.rb#246
|
|
4801
|
+
def visit_constant_write_node(node); end
|
|
4802
|
+
|
|
4803
|
+
# source://rbs//lib/rbs/inline_parser.rb#178
|
|
4804
|
+
def visit_def_node(node); end
|
|
4805
|
+
|
|
4806
|
+
# source://rbs//lib/rbs/inline_parser.rb#156
|
|
4807
|
+
def visit_module_node(node); end
|
|
3569
4808
|
end
|
|
3570
4809
|
|
|
3571
|
-
# source://rbs//lib/rbs/
|
|
3572
|
-
class RBS::
|
|
3573
|
-
|
|
4810
|
+
# source://rbs//lib/rbs/inline_parser.rb#5
|
|
4811
|
+
class RBS::InlineParser::Result
|
|
4812
|
+
# @return [Result] a new instance of Result
|
|
4813
|
+
#
|
|
4814
|
+
# source://rbs//lib/rbs/inline_parser.rb#8
|
|
4815
|
+
def initialize(buffer, prism); end
|
|
3574
4816
|
|
|
3575
|
-
#
|
|
4817
|
+
# Returns the value of attribute buffer.
|
|
3576
4818
|
#
|
|
3577
|
-
# source://rbs//lib/rbs/
|
|
3578
|
-
def
|
|
4819
|
+
# source://rbs//lib/rbs/inline_parser.rb#6
|
|
4820
|
+
def buffer; end
|
|
3579
4821
|
|
|
3580
|
-
#
|
|
3581
|
-
|
|
4822
|
+
# Returns the value of attribute declarations.
|
|
4823
|
+
#
|
|
4824
|
+
# source://rbs//lib/rbs/inline_parser.rb#6
|
|
4825
|
+
def declarations; end
|
|
3582
4826
|
|
|
3583
|
-
# Returns the value of attribute
|
|
4827
|
+
# Returns the value of attribute diagnostics.
|
|
3584
4828
|
#
|
|
3585
|
-
# source://rbs//lib/rbs/
|
|
3586
|
-
def
|
|
4829
|
+
# source://rbs//lib/rbs/inline_parser.rb#6
|
|
4830
|
+
def diagnostics; end
|
|
3587
4831
|
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
end
|
|
4832
|
+
# Returns the value of attribute prism_result.
|
|
4833
|
+
#
|
|
4834
|
+
# source://rbs//lib/rbs/inline_parser.rb#6
|
|
4835
|
+
def prism_result; end
|
|
4836
|
+
|
|
4837
|
+
# source://rbs//lib/rbs/inline_parser.rb#15
|
|
4838
|
+
def type_fingerprint; end
|
|
3592
4839
|
end
|
|
3593
4840
|
|
|
3594
4841
|
# source://rbs//lib/rbs/errors.rb#341
|
|
@@ -3671,28 +4918,28 @@ class RBS::InvalidTypeApplicationError < ::RBS::DefinitionError
|
|
|
3671
4918
|
end
|
|
3672
4919
|
end
|
|
3673
4920
|
|
|
3674
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
4921
|
+
# source://rbs//lib/rbs/errors.rb#432
|
|
3675
4922
|
class RBS::InvalidVarianceAnnotationError < ::RBS::DefinitionError
|
|
3676
4923
|
include ::RBS::DetailedMessageable
|
|
3677
4924
|
|
|
3678
4925
|
# @return [InvalidVarianceAnnotationError] a new instance of InvalidVarianceAnnotationError
|
|
3679
4926
|
#
|
|
3680
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
4927
|
+
# source://rbs//lib/rbs/errors.rb#439
|
|
3681
4928
|
def initialize(type_name:, param:, location:); end
|
|
3682
4929
|
|
|
3683
4930
|
# Returns the value of attribute location.
|
|
3684
4931
|
#
|
|
3685
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
4932
|
+
# source://rbs//lib/rbs/errors.rb#437
|
|
3686
4933
|
def location; end
|
|
3687
4934
|
|
|
3688
4935
|
# Returns the value of attribute param.
|
|
3689
4936
|
#
|
|
3690
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
4937
|
+
# source://rbs//lib/rbs/errors.rb#436
|
|
3691
4938
|
def param; end
|
|
3692
4939
|
|
|
3693
4940
|
# Returns the value of attribute type_name.
|
|
3694
4941
|
#
|
|
3695
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
4942
|
+
# source://rbs//lib/rbs/errors.rb#435
|
|
3696
4943
|
def type_name; end
|
|
3697
4944
|
end
|
|
3698
4945
|
|
|
@@ -3701,42 +4948,64 @@ class RBS::LoadingError < ::RBS::BaseError; end
|
|
|
3701
4948
|
|
|
3702
4949
|
# source://rbs//lib/rbs/location_aux.rb#4
|
|
3703
4950
|
class RBS::Location
|
|
4951
|
+
# source://rbs//lib/rbs.rb#72
|
|
3704
4952
|
def initialize(_arg0, _arg1, _arg2); end
|
|
3705
4953
|
|
|
3706
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
4954
|
+
# source://rbs//lib/rbs/location_aux.rb#79
|
|
3707
4955
|
def ==(other); end
|
|
3708
4956
|
|
|
4957
|
+
# source://rbs//lib/rbs.rb#72
|
|
3709
4958
|
def [](_arg0); end
|
|
4959
|
+
|
|
4960
|
+
# source://rbs//lib/rbs.rb#72
|
|
3710
4961
|
def _add_optional_child(_arg0, _arg1, _arg2); end
|
|
4962
|
+
|
|
4963
|
+
# source://rbs//lib/rbs.rb#72
|
|
3711
4964
|
def _add_optional_no_child(_arg0); end
|
|
4965
|
+
|
|
4966
|
+
# source://rbs//lib/rbs.rb#72
|
|
3712
4967
|
def _add_required_child(_arg0, _arg1, _arg2); end
|
|
4968
|
+
|
|
4969
|
+
# source://rbs//lib/rbs.rb#72
|
|
4970
|
+
def _end_pos; end
|
|
4971
|
+
|
|
4972
|
+
# source://rbs//lib/rbs.rb#72
|
|
3713
4973
|
def _optional_keys; end
|
|
4974
|
+
|
|
4975
|
+
# source://rbs//lib/rbs.rb#72
|
|
3714
4976
|
def _required_keys; end
|
|
3715
4977
|
|
|
3716
|
-
# source://rbs//lib/rbs
|
|
4978
|
+
# source://rbs//lib/rbs.rb#72
|
|
4979
|
+
def _start_pos; end
|
|
4980
|
+
|
|
4981
|
+
# source://rbs//lib/rbs/location_aux.rb#110
|
|
3717
4982
|
def add_optional_child(name, range); end
|
|
3718
4983
|
|
|
3719
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
4984
|
+
# source://rbs//lib/rbs/location_aux.rb#106
|
|
3720
4985
|
def add_required_child(name, range); end
|
|
3721
4986
|
|
|
4987
|
+
# source://rbs//lib/rbs/location_aux.rb#27
|
|
3722
4988
|
def aref(_arg0); end
|
|
4989
|
+
|
|
4990
|
+
# source://rbs//lib/rbs.rb#72
|
|
3723
4991
|
def buffer; end
|
|
3724
4992
|
|
|
3725
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
4993
|
+
# source://rbs//lib/rbs/location_aux.rb#118
|
|
3726
4994
|
def each_optional_key(&block); end
|
|
3727
4995
|
|
|
3728
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
4996
|
+
# source://rbs//lib/rbs/location_aux.rb#126
|
|
3729
4997
|
def each_required_key(&block); end
|
|
3730
4998
|
|
|
3731
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
4999
|
+
# source://rbs//lib/rbs/location_aux.rb#55
|
|
3732
5000
|
def end_column; end
|
|
3733
5001
|
|
|
3734
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
5002
|
+
# source://rbs//lib/rbs/location_aux.rb#51
|
|
3735
5003
|
def end_line; end
|
|
3736
5004
|
|
|
3737
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
5005
|
+
# source://rbs//lib/rbs/location_aux.rb#63
|
|
3738
5006
|
def end_loc; end
|
|
3739
5007
|
|
|
5008
|
+
# source://rbs//lib/rbs/location_aux.rb#35
|
|
3740
5009
|
def end_pos; end
|
|
3741
5010
|
|
|
3742
5011
|
# source://rbs//lib/rbs/location_aux.rb#5
|
|
@@ -3744,54 +5013,62 @@ class RBS::Location
|
|
|
3744
5013
|
|
|
3745
5014
|
# @return [Boolean]
|
|
3746
5015
|
#
|
|
3747
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
5016
|
+
# source://rbs//lib/rbs/location_aux.rb#134
|
|
3748
5017
|
def key?(name); end
|
|
3749
5018
|
|
|
3750
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
5019
|
+
# source://rbs//lib/rbs/location_aux.rb#146
|
|
5020
|
+
def local_location; end
|
|
5021
|
+
|
|
5022
|
+
# source://rbs//lib/rbs/location_aux.rb#166
|
|
5023
|
+
def local_source; end
|
|
5024
|
+
|
|
5025
|
+
# source://rbs//lib/rbs/location_aux.rb#39
|
|
3751
5026
|
def name; end
|
|
3752
5027
|
|
|
3753
5028
|
# @return [Boolean]
|
|
3754
5029
|
#
|
|
3755
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
5030
|
+
# source://rbs//lib/rbs/location_aux.rb#138
|
|
3756
5031
|
def optional_key?(name); end
|
|
3757
5032
|
|
|
3758
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
5033
|
+
# source://rbs//lib/rbs/location_aux.rb#67
|
|
3759
5034
|
def range; end
|
|
3760
5035
|
|
|
3761
5036
|
# @return [Boolean]
|
|
3762
5037
|
#
|
|
3763
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
5038
|
+
# source://rbs//lib/rbs/location_aux.rb#142
|
|
3764
5039
|
def required_key?(name); end
|
|
3765
5040
|
|
|
3766
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
5041
|
+
# source://rbs//lib/rbs/location_aux.rb#71
|
|
3767
5042
|
def source; end
|
|
3768
5043
|
|
|
3769
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
5044
|
+
# source://rbs//lib/rbs/location_aux.rb#47
|
|
3770
5045
|
def start_column; end
|
|
3771
5046
|
|
|
3772
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
5047
|
+
# source://rbs//lib/rbs/location_aux.rb#43
|
|
3773
5048
|
def start_line; end
|
|
3774
5049
|
|
|
3775
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
5050
|
+
# source://rbs//lib/rbs/location_aux.rb#59
|
|
3776
5051
|
def start_loc; end
|
|
3777
5052
|
|
|
5053
|
+
# source://rbs//lib/rbs/location_aux.rb#31
|
|
3778
5054
|
def start_pos; end
|
|
3779
5055
|
|
|
3780
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
5056
|
+
# source://rbs//lib/rbs/location_aux.rb#86
|
|
3781
5057
|
def to_json(state = T.unsafe(nil)); end
|
|
3782
5058
|
|
|
3783
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
5059
|
+
# source://rbs//lib/rbs/location_aux.rb#75
|
|
3784
5060
|
def to_s; end
|
|
3785
5061
|
|
|
3786
5062
|
private
|
|
3787
5063
|
|
|
5064
|
+
# source://rbs//lib/rbs.rb#72
|
|
3788
5065
|
def initialize_copy(_arg0); end
|
|
3789
5066
|
|
|
3790
5067
|
class << self
|
|
3791
5068
|
# source://rbs//lib/rbs/location_aux.rb#16
|
|
3792
5069
|
def new(buffer_ = T.unsafe(nil), start_pos_ = T.unsafe(nil), end_pos_ = T.unsafe(nil), buffer: T.unsafe(nil), start_pos: T.unsafe(nil), end_pos: T.unsafe(nil)); end
|
|
3793
5070
|
|
|
3794
|
-
# source://rbs//lib/rbs/location_aux.rb#
|
|
5071
|
+
# source://rbs//lib/rbs/location_aux.rb#102
|
|
3795
5072
|
def to_string(location, default: T.unsafe(nil)); end
|
|
3796
5073
|
end
|
|
3797
5074
|
end
|
|
@@ -3833,7 +5110,7 @@ class RBS::Locator
|
|
|
3833
5110
|
# source://rbs//lib/rbs/locator.rb#42
|
|
3834
5111
|
def find_in_directive(pos, dir, array); end
|
|
3835
5112
|
|
|
3836
|
-
# source://rbs//lib/rbs/locator.rb#
|
|
5113
|
+
# source://rbs//lib/rbs/locator.rb#212
|
|
3837
5114
|
def find_in_loc(pos, location:, array:); end
|
|
3838
5115
|
|
|
3839
5116
|
# source://rbs//lib/rbs/locator.rb#131
|
|
@@ -3842,13 +5119,13 @@ class RBS::Locator
|
|
|
3842
5119
|
# source://rbs//lib/rbs/locator.rb#154
|
|
3843
5120
|
def find_in_method_type(pos, method_type:, array:); end
|
|
3844
5121
|
|
|
3845
|
-
# source://rbs//lib/rbs/locator.rb#
|
|
5122
|
+
# source://rbs//lib/rbs/locator.rb#196
|
|
3846
5123
|
def find_in_type(pos, type:, array:); end
|
|
3847
5124
|
|
|
3848
5125
|
# source://rbs//lib/rbs/locator.rb#172
|
|
3849
5126
|
def find_in_type_param(pos, type_param:, array:); end
|
|
3850
5127
|
|
|
3851
|
-
# source://rbs//lib/rbs/locator.rb#
|
|
5128
|
+
# source://rbs//lib/rbs/locator.rb#239
|
|
3852
5129
|
def test_loc(pos, location:); end
|
|
3853
5130
|
end
|
|
3854
5131
|
|
|
@@ -3931,35 +5208,38 @@ class RBS::MethodType
|
|
|
3931
5208
|
def with_nonreturn_void?; end
|
|
3932
5209
|
end
|
|
3933
5210
|
|
|
3934
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
5211
|
+
# source://rbs//lib/rbs/errors.rb#468
|
|
3935
5212
|
class RBS::MixinClassError < ::RBS::DefinitionError
|
|
3936
5213
|
include ::RBS::DetailedMessageable
|
|
3937
5214
|
|
|
3938
5215
|
# @return [MixinClassError] a new instance of MixinClassError
|
|
3939
5216
|
#
|
|
3940
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
5217
|
+
# source://rbs//lib/rbs/errors.rb#474
|
|
3941
5218
|
def initialize(type_name:, member:); end
|
|
3942
5219
|
|
|
3943
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
5220
|
+
# source://rbs//lib/rbs/errors.rb#481
|
|
3944
5221
|
def location; end
|
|
3945
5222
|
|
|
3946
5223
|
# Returns the value of attribute member.
|
|
3947
5224
|
#
|
|
3948
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
5225
|
+
# source://rbs//lib/rbs/errors.rb#472
|
|
3949
5226
|
def member; end
|
|
3950
5227
|
|
|
3951
5228
|
# Returns the value of attribute type_name.
|
|
3952
5229
|
#
|
|
3953
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
5230
|
+
# source://rbs//lib/rbs/errors.rb#471
|
|
3954
5231
|
def type_name; end
|
|
3955
5232
|
|
|
3956
5233
|
private
|
|
3957
5234
|
|
|
3958
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
5235
|
+
# source://rbs//lib/rbs/errors.rb#502
|
|
5236
|
+
def member_name(member); end
|
|
5237
|
+
|
|
5238
|
+
# source://rbs//lib/rbs/errors.rb#513
|
|
3959
5239
|
def mixin_name; end
|
|
3960
5240
|
|
|
3961
5241
|
class << self
|
|
3962
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
5242
|
+
# source://rbs//lib/rbs/errors.rb#485
|
|
3963
5243
|
def check!(type_name:, env:, member:); end
|
|
3964
5244
|
end
|
|
3965
5245
|
end
|
|
@@ -3996,7 +5276,7 @@ class RBS::Namespace
|
|
|
3996
5276
|
# source://rbs//lib/rbs/namespace.rb#55
|
|
3997
5277
|
def empty?; end
|
|
3998
5278
|
|
|
3999
|
-
# source://rbs//lib/rbs/namespace.rb#
|
|
5279
|
+
# source://rbs//lib/rbs/namespace.rb#63
|
|
4000
5280
|
def eql?(other); end
|
|
4001
5281
|
|
|
4002
5282
|
# source://rbs//lib/rbs/namespace.rb#65
|
|
@@ -4140,43 +5420,65 @@ class RBS::NoTypeFoundError < ::RBS::DefinitionError
|
|
|
4140
5420
|
end
|
|
4141
5421
|
end
|
|
4142
5422
|
|
|
4143
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
5423
|
+
# source://rbs//lib/rbs/errors.rb#545
|
|
4144
5424
|
class RBS::NonregularTypeAliasError < ::RBS::BaseError
|
|
4145
5425
|
include ::RBS::DetailedMessageable
|
|
4146
5426
|
|
|
4147
5427
|
# @return [NonregularTypeAliasError] a new instance of NonregularTypeAliasError
|
|
4148
5428
|
#
|
|
4149
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
5429
|
+
# source://rbs//lib/rbs/errors.rb#551
|
|
4150
5430
|
def initialize(diagnostic:, location:); end
|
|
4151
5431
|
|
|
4152
5432
|
# Returns the value of attribute diagnostic.
|
|
4153
5433
|
#
|
|
4154
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
5434
|
+
# source://rbs//lib/rbs/errors.rb#548
|
|
4155
5435
|
def diagnostic; end
|
|
4156
5436
|
|
|
4157
5437
|
# Returns the value of attribute location.
|
|
4158
5438
|
#
|
|
4159
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
5439
|
+
# source://rbs//lib/rbs/errors.rb#549
|
|
4160
5440
|
def location; end
|
|
4161
5441
|
end
|
|
4162
5442
|
|
|
4163
5443
|
# source://rbs//lib/rbs/parser/lex_result.rb#4
|
|
4164
5444
|
class RBS::Parser
|
|
4165
5445
|
class << self
|
|
5446
|
+
# source://rbs//lib/rbs.rb#72
|
|
4166
5447
|
def _lex(_arg0, _arg1); end
|
|
5448
|
+
|
|
5449
|
+
# source://rbs//lib/rbs.rb#72
|
|
5450
|
+
def _parse_inline_leading_annotation(_arg0, _arg1, _arg2, _arg3); end
|
|
5451
|
+
|
|
5452
|
+
# source://rbs//lib/rbs.rb#72
|
|
5453
|
+
def _parse_inline_trailing_annotation(_arg0, _arg1, _arg2, _arg3); end
|
|
5454
|
+
|
|
5455
|
+
# source://rbs//lib/rbs.rb#72
|
|
4167
5456
|
def _parse_method_type(_arg0, _arg1, _arg2, _arg3, _arg4); end
|
|
5457
|
+
|
|
5458
|
+
# source://rbs//lib/rbs.rb#72
|
|
4168
5459
|
def _parse_signature(_arg0, _arg1, _arg2); end
|
|
4169
|
-
def _parse_type(_arg0, _arg1, _arg2, _arg3, _arg4); end
|
|
4170
5460
|
|
|
4171
|
-
# source://rbs//lib/rbs
|
|
5461
|
+
# source://rbs//lib/rbs.rb#72
|
|
5462
|
+
def _parse_type(_arg0, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6); end
|
|
5463
|
+
|
|
5464
|
+
# source://rbs//lib/rbs.rb#72
|
|
5465
|
+
def _parse_type_params(_arg0, _arg1, _arg2, _arg3); end
|
|
5466
|
+
|
|
5467
|
+
# source://rbs//lib/rbs/parser_aux.rb#76
|
|
4172
5468
|
def buffer(source); end
|
|
4173
5469
|
|
|
4174
|
-
# source://rbs//lib/rbs/parser_aux.rb#
|
|
5470
|
+
# source://rbs//lib/rbs/parser_aux.rb#67
|
|
4175
5471
|
def lex(source); end
|
|
4176
5472
|
|
|
4177
|
-
# source://rbs//lib/rbs/parser_aux.rb#
|
|
5473
|
+
# source://rbs//lib/rbs/parser_aux.rb#43
|
|
4178
5474
|
def magic_comment(buf); end
|
|
4179
5475
|
|
|
5476
|
+
# source://rbs//lib/rbs/parser_aux.rb#119
|
|
5477
|
+
def parse_inline_leading_annotation(source, range, variables: T.unsafe(nil)); end
|
|
5478
|
+
|
|
5479
|
+
# source://rbs//lib/rbs/parser_aux.rb#124
|
|
5480
|
+
def parse_inline_trailing_annotation(source, range, variables: T.unsafe(nil)); end
|
|
5481
|
+
|
|
4180
5482
|
# source://rbs//lib/rbs/parser_aux.rb#13
|
|
4181
5483
|
def parse_method_type(source, range: T.unsafe(nil), variables: T.unsafe(nil), require_eof: T.unsafe(nil)); end
|
|
4182
5484
|
|
|
@@ -4184,11 +5486,14 @@ class RBS::Parser
|
|
|
4184
5486
|
def parse_signature(source); end
|
|
4185
5487
|
|
|
4186
5488
|
# source://rbs//lib/rbs/parser_aux.rb#8
|
|
4187
|
-
def parse_type(source, range: T.unsafe(nil), variables: T.unsafe(nil), require_eof: T.unsafe(nil)); end
|
|
5489
|
+
def parse_type(source, range: T.unsafe(nil), variables: T.unsafe(nil), require_eof: T.unsafe(nil), void_allowed: T.unsafe(nil), self_allowed: T.unsafe(nil)); end
|
|
5490
|
+
|
|
5491
|
+
# source://rbs//lib/rbs/parser_aux.rb#38
|
|
5492
|
+
def parse_type_params(source, module_type_params: T.unsafe(nil)); end
|
|
4188
5493
|
end
|
|
4189
5494
|
end
|
|
4190
5495
|
|
|
4191
|
-
# source://rbs//lib/rbs/parser_aux.rb#
|
|
5496
|
+
# source://rbs//lib/rbs/parser_aux.rb#85
|
|
4192
5497
|
RBS::Parser::KEYWORDS = T.let(T.unsafe(nil), Hash)
|
|
4193
5498
|
|
|
4194
5499
|
# source://rbs//lib/rbs/parser/lex_result.rb#5
|
|
@@ -4374,7 +5679,7 @@ class RBS::Prototype::RB
|
|
|
4374
5679
|
|
|
4375
5680
|
# backward compatible
|
|
4376
5681
|
#
|
|
4377
|
-
# source://rbs//lib/rbs/prototype/rb.rb#
|
|
5682
|
+
# source://rbs//lib/rbs/prototype/rb.rb#762
|
|
4378
5683
|
def node_type(node, default: T.unsafe(nil)); end
|
|
4379
5684
|
|
|
4380
5685
|
# source://rbs//lib/rbs/prototype/rb.rb#719
|
|
@@ -4449,10 +5754,10 @@ class RBS::Prototype::RBI
|
|
|
4449
5754
|
|
|
4450
5755
|
# @return [Boolean]
|
|
4451
5756
|
#
|
|
4452
|
-
# source://rbs//lib/rbs/prototype/rbi.rb#
|
|
5757
|
+
# source://rbs//lib/rbs/prototype/rbi.rb#564
|
|
4453
5758
|
def call_node?(node, name:, receiver: T.unsafe(nil), args: T.unsafe(nil)); end
|
|
4454
5759
|
|
|
4455
|
-
# source://rbs//lib/rbs/prototype/rbi.rb#
|
|
5760
|
+
# source://rbs//lib/rbs/prototype/rbi.rb#568
|
|
4456
5761
|
def const_to_name(node); end
|
|
4457
5762
|
|
|
4458
5763
|
# source://rbs//lib/rbs/prototype/rbi.rb#90
|
|
@@ -4469,10 +5774,10 @@ class RBS::Prototype::RBI
|
|
|
4469
5774
|
# source://rbs//lib/rbs/prototype/rbi.rb#8
|
|
4470
5775
|
def decls; end
|
|
4471
5776
|
|
|
4472
|
-
# source://rbs//lib/rbs/prototype/rbi.rb#
|
|
5777
|
+
# source://rbs//lib/rbs/prototype/rbi.rb#604
|
|
4473
5778
|
def each_arg(array, &block); end
|
|
4474
5779
|
|
|
4475
|
-
# source://rbs//lib/rbs/prototype/rbi.rb#
|
|
5780
|
+
# source://rbs//lib/rbs/prototype/rbi.rb#618
|
|
4476
5781
|
def each_child(node); end
|
|
4477
5782
|
|
|
4478
5783
|
# source://rbs//lib/rbs/prototype/rbi.rb#112
|
|
@@ -4483,7 +5788,7 @@ class RBS::Prototype::RBI
|
|
|
4483
5788
|
# source://rbs//lib/rbs/prototype/rbi.rb#10
|
|
4484
5789
|
def last_sig; end
|
|
4485
5790
|
|
|
4486
|
-
# source://rbs//lib/rbs/prototype/rbi.rb#
|
|
5791
|
+
# source://rbs//lib/rbs/prototype/rbi.rb#281
|
|
4487
5792
|
def method_type(args_node, type_node, variables:, overloads:); end
|
|
4488
5793
|
|
|
4489
5794
|
# Returns the value of attribute modules.
|
|
@@ -4494,13 +5799,13 @@ class RBS::Prototype::RBI
|
|
|
4494
5799
|
# source://rbs//lib/rbs/prototype/rbi.rb#42
|
|
4495
5800
|
def nested_name(name); end
|
|
4496
5801
|
|
|
4497
|
-
# source://rbs//lib/rbs/prototype/rbi.rb#
|
|
5802
|
+
# source://rbs//lib/rbs/prototype/rbi.rb#626
|
|
4498
5803
|
def node_to_hash(node); end
|
|
4499
5804
|
|
|
4500
5805
|
# source://rbs//lib/rbs/prototype/rbi.rb#18
|
|
4501
5806
|
def parse(string); end
|
|
4502
5807
|
|
|
4503
|
-
# source://rbs//lib/rbs/prototype/rbi.rb#
|
|
5808
|
+
# source://rbs//lib/rbs/prototype/rbi.rb#354
|
|
4504
5809
|
def parse_params(args_node, args, method_type, variables:, overloads:); end
|
|
4505
5810
|
|
|
4506
5811
|
# source://rbs//lib/rbs/prototype/rbi.rb#106
|
|
@@ -4508,7 +5813,7 @@ class RBS::Prototype::RBI
|
|
|
4508
5813
|
|
|
4509
5814
|
# @return [Boolean]
|
|
4510
5815
|
#
|
|
4511
|
-
# source://rbs//lib/rbs/prototype/rbi.rb#
|
|
5816
|
+
# source://rbs//lib/rbs/prototype/rbi.rb#556
|
|
4512
5817
|
def proc_type?(type_node); end
|
|
4513
5818
|
|
|
4514
5819
|
# source://rbs//lib/rbs/prototype/rbi.rb#117
|
|
@@ -4523,10 +5828,10 @@ class RBS::Prototype::RBI
|
|
|
4523
5828
|
# source://rbs//lib/rbs/prototype/rbi.rb#98
|
|
4524
5829
|
def push_sig(node); end
|
|
4525
5830
|
|
|
4526
|
-
# source://rbs//lib/rbs/prototype/rbi.rb#
|
|
5831
|
+
# source://rbs//lib/rbs/prototype/rbi.rb#479
|
|
4527
5832
|
def type_of(type_node, variables:); end
|
|
4528
5833
|
|
|
4529
|
-
# source://rbs//lib/rbs/prototype/rbi.rb#
|
|
5834
|
+
# source://rbs//lib/rbs/prototype/rbi.rb#492
|
|
4530
5835
|
def type_of0(type_node, variables:); end
|
|
4531
5836
|
end
|
|
4532
5837
|
|
|
@@ -4537,119 +5842,119 @@ class RBS::Prototype::Runtime
|
|
|
4537
5842
|
|
|
4538
5843
|
# @return [Runtime] a new instance of Runtime
|
|
4539
5844
|
#
|
|
4540
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5845
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#79
|
|
4541
5846
|
def initialize(patterns:, env:, merge:, todo: T.unsafe(nil), owners_included: T.unsafe(nil)); end
|
|
4542
5847
|
|
|
4543
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5848
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#662
|
|
4544
5849
|
def block_from_ast_of(method); end
|
|
4545
5850
|
|
|
4546
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5851
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#109
|
|
4547
5852
|
def builder; end
|
|
4548
5853
|
|
|
4549
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5854
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#117
|
|
4550
5855
|
def decls; end
|
|
4551
5856
|
|
|
4552
5857
|
# Generate/find outer module declarations
|
|
4553
5858
|
# This is broken down into another method to comply with `DRY`
|
|
4554
5859
|
# This generates/finds declarations in nested form & returns the last array of declarations
|
|
4555
5860
|
#
|
|
4556
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5861
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#591
|
|
4557
5862
|
def ensure_outer_module_declarations(mod); end
|
|
4558
5863
|
|
|
4559
5864
|
# Returns the value of attribute env.
|
|
4560
5865
|
#
|
|
4561
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5866
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#73
|
|
4562
5867
|
def env; end
|
|
4563
5868
|
|
|
4564
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5869
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#496
|
|
4565
5870
|
def generate_class(mod); end
|
|
4566
5871
|
|
|
4567
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5872
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#433
|
|
4568
5873
|
def generate_constants(mod, decls); end
|
|
4569
5874
|
|
|
4570
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5875
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#309
|
|
4571
5876
|
def generate_methods(mod, module_name, members); end
|
|
4572
5877
|
|
|
4573
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5878
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#573
|
|
4574
5879
|
def generate_mixin(mod, decl, type_name, type_name_absolute); end
|
|
4575
5880
|
|
|
4576
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5881
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#535
|
|
4577
5882
|
def generate_module(mod); end
|
|
4578
5883
|
|
|
4579
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5884
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#481
|
|
4580
5885
|
def generate_super_class(mod); end
|
|
4581
5886
|
|
|
4582
5887
|
# Returns the value of attribute merge.
|
|
4583
5888
|
#
|
|
4584
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5889
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#74
|
|
4585
5890
|
def merge; end
|
|
4586
5891
|
|
|
4587
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5892
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#248
|
|
4588
5893
|
def merge_rbs(module_name, members, instance: T.unsafe(nil), singleton: T.unsafe(nil)); end
|
|
4589
5894
|
|
|
4590
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5895
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#179
|
|
4591
5896
|
def method_type(method); end
|
|
4592
5897
|
|
|
4593
5898
|
# Returns the value of attribute outline.
|
|
4594
5899
|
#
|
|
4595
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5900
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#77
|
|
4596
5901
|
def outline; end
|
|
4597
5902
|
|
|
4598
5903
|
# Sets the attribute outline
|
|
4599
5904
|
#
|
|
4600
5905
|
# @param value the value to set the attribute outline to.
|
|
4601
5906
|
#
|
|
4602
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5907
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#77
|
|
4603
5908
|
def outline=(_arg0); end
|
|
4604
5909
|
|
|
4605
5910
|
# Returns the value of attribute owners_included.
|
|
4606
5911
|
#
|
|
4607
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5912
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#76
|
|
4608
5913
|
def owners_included; end
|
|
4609
5914
|
|
|
4610
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5915
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#113
|
|
4611
5916
|
def parse(file); end
|
|
4612
5917
|
|
|
4613
5918
|
# Returns the value of attribute patterns.
|
|
4614
5919
|
#
|
|
4615
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5920
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#72
|
|
4616
5921
|
def patterns; end
|
|
4617
5922
|
|
|
4618
5923
|
# @return [Boolean]
|
|
4619
5924
|
#
|
|
4620
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5925
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#92
|
|
4621
5926
|
def target?(const); end
|
|
4622
5927
|
|
|
4623
5928
|
# @return [Boolean]
|
|
4624
5929
|
#
|
|
4625
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5930
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#296
|
|
4626
5931
|
def target_method?(mod, instance: T.unsafe(nil), singleton: T.unsafe(nil)); end
|
|
4627
5932
|
|
|
4628
5933
|
# Returns the value of attribute todo.
|
|
4629
5934
|
#
|
|
4630
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5935
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#75
|
|
4631
5936
|
def todo; end
|
|
4632
5937
|
|
|
4633
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5938
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#105
|
|
4634
5939
|
def todo_object; end
|
|
4635
5940
|
|
|
4636
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5941
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#645
|
|
4637
5942
|
def type_args(type_name); end
|
|
4638
5943
|
|
|
4639
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5944
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#653
|
|
4640
5945
|
def type_params(mod); end
|
|
4641
5946
|
|
|
4642
5947
|
private
|
|
4643
5948
|
|
|
4644
5949
|
# @return [Boolean]
|
|
4645
5950
|
#
|
|
4646
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5951
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#423
|
|
4647
5952
|
def can_alias?(mod, method); end
|
|
4648
5953
|
|
|
4649
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5954
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#137
|
|
4650
5955
|
def each_mixined_module(type_name, mod); end
|
|
4651
5956
|
|
|
4652
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
5957
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#146
|
|
4653
5958
|
def each_mixined_module_one(type_name, mod); end
|
|
4654
5959
|
end
|
|
4655
5960
|
|
|
@@ -4757,12 +6062,12 @@ class RBS::Prototype::Runtime::Todo
|
|
|
4757
6062
|
|
|
4758
6063
|
# @return [Boolean]
|
|
4759
6064
|
#
|
|
4760
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
6065
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#50
|
|
4761
6066
|
def skip_constant?(module_name:, name:); end
|
|
4762
6067
|
|
|
4763
6068
|
# @return [Boolean]
|
|
4764
6069
|
#
|
|
4765
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
6070
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#37
|
|
4766
6071
|
def skip_instance_method?(module_name:, method:, accessibility:); end
|
|
4767
6072
|
|
|
4768
6073
|
# @return [Boolean]
|
|
@@ -4777,7 +6082,7 @@ class RBS::Prototype::Runtime::Todo
|
|
|
4777
6082
|
|
|
4778
6083
|
private
|
|
4779
6084
|
|
|
4780
|
-
# source://rbs//lib/rbs/prototype/runtime.rb#
|
|
6085
|
+
# source://rbs//lib/rbs/prototype/runtime.rb#57
|
|
4781
6086
|
def mixin_decls(type_name); end
|
|
4782
6087
|
end
|
|
4783
6088
|
|
|
@@ -4807,102 +6112,26 @@ class RBS::Prototype::Runtime::ValueObjectBase
|
|
|
4807
6112
|
def build_s_members; end
|
|
4808
6113
|
end
|
|
4809
6114
|
|
|
4810
|
-
# source://rbs//lib/
|
|
4811
|
-
module RBS::RDocPlugin; end
|
|
4812
|
-
|
|
4813
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#7
|
|
4814
|
-
class RBS::RDocPlugin::Parser
|
|
4815
|
-
# @return [Parser] a new instance of Parser
|
|
4816
|
-
#
|
|
4817
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#11
|
|
4818
|
-
def initialize(top_level, content); end
|
|
4819
|
-
|
|
4820
|
-
# Returns the value of attribute content.
|
|
4821
|
-
#
|
|
4822
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#9
|
|
4823
|
-
def content; end
|
|
4824
|
-
|
|
4825
|
-
# Sets the attribute content
|
|
4826
|
-
#
|
|
4827
|
-
# @param value the value to set the attribute content to.
|
|
4828
|
-
#
|
|
4829
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#9
|
|
4830
|
-
def content=(_arg0); end
|
|
4831
|
-
|
|
4832
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#94
|
|
4833
|
-
def parse_attr_decl(decl:, context:, outer_name: T.unsafe(nil)); end
|
|
4834
|
-
|
|
4835
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#53
|
|
4836
|
-
def parse_class_decl(decl:, context:, outer_name: T.unsafe(nil)); end
|
|
4837
|
-
|
|
4838
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#67
|
|
4839
|
-
def parse_constant_decl(decl:, context:, outer_name: T.unsafe(nil)); end
|
|
4840
|
-
|
|
4841
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#125
|
|
4842
|
-
def parse_extend_decl(decl:, context:, outer_name: T.unsafe(nil)); end
|
|
4843
|
-
|
|
4844
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#109
|
|
4845
|
-
def parse_include_decl(decl:, context:, outer_name: T.unsafe(nil)); end
|
|
4846
|
-
|
|
4847
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#24
|
|
4848
|
-
def parse_member(decl:, context:, outer_name: T.unsafe(nil)); end
|
|
4849
|
-
|
|
4850
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#88
|
|
4851
|
-
def parse_method_alias_decl(decl:, context:, outer_name: T.unsafe(nil)); end
|
|
4852
|
-
|
|
4853
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#73
|
|
4854
|
-
def parse_method_decl(decl:, context:, outer_name: T.unsafe(nil)); end
|
|
4855
|
-
|
|
4856
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#60
|
|
4857
|
-
def parse_module_decl(decl:, context:, outer_name: T.unsafe(nil)); end
|
|
4858
|
-
|
|
4859
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#16
|
|
4860
|
-
def scan; end
|
|
4861
|
-
|
|
4862
|
-
# Returns the value of attribute top_level.
|
|
4863
|
-
#
|
|
4864
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#9
|
|
4865
|
-
def top_level; end
|
|
4866
|
-
|
|
4867
|
-
# Sets the attribute top_level
|
|
4868
|
-
#
|
|
4869
|
-
# @param value the value to set the attribute top_level to.
|
|
4870
|
-
#
|
|
4871
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#9
|
|
4872
|
-
def top_level=(_arg0); end
|
|
4873
|
-
|
|
4874
|
-
private
|
|
4875
|
-
|
|
4876
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#149
|
|
4877
|
-
def comment_string(with_comment); end
|
|
4878
|
-
|
|
4879
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#143
|
|
4880
|
-
def construct_comment(context:, comment:); end
|
|
4881
|
-
|
|
4882
|
-
# source://rbs//lib/rdoc_plugin/parser.rb#154
|
|
4883
|
-
def fully_qualified_name(outer_name:, decl:); end
|
|
4884
|
-
end
|
|
4885
|
-
|
|
4886
|
-
# source://rbs//lib/rbs/errors.rb#447
|
|
6115
|
+
# source://rbs//lib/rbs/errors.rb#448
|
|
4887
6116
|
class RBS::RecursiveAliasDefinitionError < ::RBS::DefinitionError
|
|
4888
6117
|
include ::RBS::DetailedMessageable
|
|
4889
6118
|
|
|
4890
6119
|
# @return [RecursiveAliasDefinitionError] a new instance of RecursiveAliasDefinitionError
|
|
4891
6120
|
#
|
|
4892
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
6121
|
+
# source://rbs//lib/rbs/errors.rb#454
|
|
4893
6122
|
def initialize(type:, defs:); end
|
|
4894
6123
|
|
|
4895
6124
|
# Returns the value of attribute defs.
|
|
4896
6125
|
#
|
|
4897
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
6126
|
+
# source://rbs//lib/rbs/errors.rb#452
|
|
4898
6127
|
def defs; end
|
|
4899
6128
|
|
|
4900
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
6129
|
+
# source://rbs//lib/rbs/errors.rb#461
|
|
4901
6130
|
def location; end
|
|
4902
6131
|
|
|
4903
6132
|
# Returns the value of attribute type.
|
|
4904
6133
|
#
|
|
4905
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
6134
|
+
# source://rbs//lib/rbs/errors.rb#451
|
|
4906
6135
|
def type; end
|
|
4907
6136
|
end
|
|
4908
6137
|
|
|
@@ -4929,26 +6158,26 @@ class RBS::RecursiveAncestorError < ::RBS::DefinitionError
|
|
|
4929
6158
|
end
|
|
4930
6159
|
end
|
|
4931
6160
|
|
|
4932
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
6161
|
+
# source://rbs//lib/rbs/errors.rb#527
|
|
4933
6162
|
class RBS::RecursiveTypeAliasError < ::RBS::BaseError
|
|
4934
6163
|
include ::RBS::DetailedMessageable
|
|
4935
6164
|
|
|
4936
6165
|
# @return [RecursiveTypeAliasError] a new instance of RecursiveTypeAliasError
|
|
4937
6166
|
#
|
|
4938
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
6167
|
+
# source://rbs//lib/rbs/errors.rb#533
|
|
4939
6168
|
def initialize(alias_names:, location:); end
|
|
4940
6169
|
|
|
4941
6170
|
# Returns the value of attribute alias_names.
|
|
4942
6171
|
#
|
|
4943
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
6172
|
+
# source://rbs//lib/rbs/errors.rb#530
|
|
4944
6173
|
def alias_names; end
|
|
4945
6174
|
|
|
4946
6175
|
# Returns the value of attribute location.
|
|
4947
6176
|
#
|
|
4948
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
6177
|
+
# source://rbs//lib/rbs/errors.rb#531
|
|
4949
6178
|
def location; end
|
|
4950
6179
|
|
|
4951
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
6180
|
+
# source://rbs//lib/rbs/errors.rb#540
|
|
4952
6181
|
def name; end
|
|
4953
6182
|
end
|
|
4954
6183
|
|
|
@@ -5033,18 +6262,38 @@ end
|
|
|
5033
6262
|
|
|
5034
6263
|
# source://rbs//lib/rbs/repository.rb#69
|
|
5035
6264
|
class RBS::Repository::VersionPath < ::Struct
|
|
6265
|
+
# source://rbs//lib/rbs/repository.rb#69
|
|
5036
6266
|
def gem; end
|
|
6267
|
+
|
|
6268
|
+
# source://rbs//lib/rbs/repository.rb#69
|
|
5037
6269
|
def gem=(_); end
|
|
6270
|
+
|
|
6271
|
+
# source://rbs//lib/rbs/repository.rb#69
|
|
5038
6272
|
def path; end
|
|
6273
|
+
|
|
6274
|
+
# source://rbs//lib/rbs/repository.rb#69
|
|
5039
6275
|
def path=(_); end
|
|
6276
|
+
|
|
6277
|
+
# source://rbs//lib/rbs/repository.rb#69
|
|
5040
6278
|
def version; end
|
|
6279
|
+
|
|
6280
|
+
# source://rbs//lib/rbs/repository.rb#69
|
|
5041
6281
|
def version=(_); end
|
|
5042
6282
|
|
|
5043
6283
|
class << self
|
|
6284
|
+
# source://rbs//lib/rbs/repository.rb#69
|
|
5044
6285
|
def [](*_arg0); end
|
|
6286
|
+
|
|
6287
|
+
# source://rbs//lib/rbs/repository.rb#69
|
|
5045
6288
|
def inspect; end
|
|
6289
|
+
|
|
6290
|
+
# source://rbs//lib/rbs/repository.rb#69
|
|
5046
6291
|
def keyword_init?; end
|
|
6292
|
+
|
|
6293
|
+
# source://rbs//lib/rbs/repository.rb#69
|
|
5047
6294
|
def members; end
|
|
6295
|
+
|
|
6296
|
+
# source://rbs//lib/rbs/repository.rb#69
|
|
5048
6297
|
def new(*_arg0); end
|
|
5049
6298
|
end
|
|
5050
6299
|
end
|
|
@@ -5147,7 +6396,17 @@ class RBS::Resolver::TypeNameResolver
|
|
|
5147
6396
|
# @return [TypeNameResolver] a new instance of TypeNameResolver
|
|
5148
6397
|
#
|
|
5149
6398
|
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#10
|
|
5150
|
-
def initialize(
|
|
6399
|
+
def initialize(all_names, aliases); end
|
|
6400
|
+
|
|
6401
|
+
# @return [Boolean]
|
|
6402
|
+
#
|
|
6403
|
+
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#82
|
|
6404
|
+
def aliased_name?(type_name); end
|
|
6405
|
+
|
|
6406
|
+
# Returns the value of attribute aliases.
|
|
6407
|
+
#
|
|
6408
|
+
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#8
|
|
6409
|
+
def aliases; end
|
|
5151
6410
|
|
|
5152
6411
|
# Returns the value of attribute all_names.
|
|
5153
6412
|
#
|
|
@@ -5159,27 +6418,102 @@ class RBS::Resolver::TypeNameResolver
|
|
|
5159
6418
|
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#7
|
|
5160
6419
|
def cache; end
|
|
5161
6420
|
|
|
5162
|
-
# Returns the value of attribute env.
|
|
5163
|
-
#
|
|
5164
|
-
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#8
|
|
5165
|
-
def env; end
|
|
5166
|
-
|
|
5167
6421
|
# @return [Boolean]
|
|
5168
6422
|
#
|
|
5169
|
-
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#
|
|
5170
|
-
def
|
|
6423
|
+
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#76
|
|
6424
|
+
def has_type_name?(full_name); end
|
|
5171
6425
|
|
|
5172
|
-
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#
|
|
5173
|
-
def
|
|
6426
|
+
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#121
|
|
6427
|
+
def normalize_namespace(type_name, rhs, context, visited); end
|
|
5174
6428
|
|
|
5175
|
-
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#
|
|
6429
|
+
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#39
|
|
5176
6430
|
def resolve(type_name, context:); end
|
|
5177
6431
|
|
|
5178
|
-
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#
|
|
5179
|
-
def
|
|
6432
|
+
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#104
|
|
6433
|
+
def resolve_head_namespace(head, context); end
|
|
6434
|
+
|
|
6435
|
+
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#62
|
|
6436
|
+
def resolve_namespace(type_name, context:); end
|
|
5180
6437
|
|
|
5181
|
-
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#
|
|
6438
|
+
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#136
|
|
6439
|
+
def resolve_namespace0(type_name, context, visited); end
|
|
6440
|
+
|
|
6441
|
+
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#88
|
|
6442
|
+
def resolve_type_name(type_name, context); end
|
|
6443
|
+
|
|
6444
|
+
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#32
|
|
5182
6445
|
def try_cache(query); end
|
|
6446
|
+
|
|
6447
|
+
class << self
|
|
6448
|
+
# source://rbs//lib/rbs/resolver/type_name_resolver.rb#16
|
|
6449
|
+
def build(env); end
|
|
6450
|
+
end
|
|
6451
|
+
end
|
|
6452
|
+
|
|
6453
|
+
# source://rbs//lib/rbs/source.rb#4
|
|
6454
|
+
module RBS::Source; end
|
|
6455
|
+
|
|
6456
|
+
# source://rbs//lib/rbs/source.rb#5
|
|
6457
|
+
class RBS::Source::RBS
|
|
6458
|
+
# @return [RBS] a new instance of RBS
|
|
6459
|
+
#
|
|
6460
|
+
# source://rbs//lib/rbs/source.rb#8
|
|
6461
|
+
def initialize(buffer, directives, decls); end
|
|
6462
|
+
|
|
6463
|
+
# Returns the value of attribute buffer.
|
|
6464
|
+
#
|
|
6465
|
+
# source://rbs//lib/rbs/source.rb#6
|
|
6466
|
+
def buffer; end
|
|
6467
|
+
|
|
6468
|
+
# Returns the value of attribute declarations.
|
|
6469
|
+
#
|
|
6470
|
+
# source://rbs//lib/rbs/source.rb#6
|
|
6471
|
+
def declarations; end
|
|
6472
|
+
|
|
6473
|
+
# Returns the value of attribute directives.
|
|
6474
|
+
#
|
|
6475
|
+
# source://rbs//lib/rbs/source.rb#6
|
|
6476
|
+
def directives; end
|
|
6477
|
+
|
|
6478
|
+
# source://rbs//lib/rbs/source.rb#25
|
|
6479
|
+
def each_declaration_type_name(names, decl, &block); end
|
|
6480
|
+
|
|
6481
|
+
# source://rbs//lib/rbs/source.rb#14
|
|
6482
|
+
def each_type_name(&block); end
|
|
6483
|
+
end
|
|
6484
|
+
|
|
6485
|
+
# source://rbs//lib/rbs/source.rb#52
|
|
6486
|
+
class RBS::Source::Ruby
|
|
6487
|
+
# @return [Ruby] a new instance of Ruby
|
|
6488
|
+
#
|
|
6489
|
+
# source://rbs//lib/rbs/source.rb#58
|
|
6490
|
+
def initialize(buffer, prism, declarations, diagnostics); end
|
|
6491
|
+
|
|
6492
|
+
# Returns the value of attribute buffer.
|
|
6493
|
+
#
|
|
6494
|
+
# source://rbs//lib/rbs/source.rb#53
|
|
6495
|
+
def buffer; end
|
|
6496
|
+
|
|
6497
|
+
# Returns the value of attribute declarations.
|
|
6498
|
+
#
|
|
6499
|
+
# source://rbs//lib/rbs/source.rb#55
|
|
6500
|
+
def declarations; end
|
|
6501
|
+
|
|
6502
|
+
# Returns the value of attribute diagnostics.
|
|
6503
|
+
#
|
|
6504
|
+
# source://rbs//lib/rbs/source.rb#56
|
|
6505
|
+
def diagnostics; end
|
|
6506
|
+
|
|
6507
|
+
# source://rbs//lib/rbs/source.rb#76
|
|
6508
|
+
def each_declaration_type_name(names, decl, &block); end
|
|
6509
|
+
|
|
6510
|
+
# source://rbs//lib/rbs/source.rb#65
|
|
6511
|
+
def each_type_name(&block); end
|
|
6512
|
+
|
|
6513
|
+
# Returns the value of attribute prism_result.
|
|
6514
|
+
#
|
|
6515
|
+
# source://rbs//lib/rbs/source.rb#54
|
|
6516
|
+
def prism_result; end
|
|
5183
6517
|
end
|
|
5184
6518
|
|
|
5185
6519
|
# source://rbs//lib/rbs/substitution.rb#4
|
|
@@ -5192,7 +6526,7 @@ class RBS::Substitution
|
|
|
5192
6526
|
# source://rbs//lib/rbs/substitution.rb#66
|
|
5193
6527
|
def +(other); end
|
|
5194
6528
|
|
|
5195
|
-
# source://rbs//lib/rbs/substitution.rb#
|
|
6529
|
+
# source://rbs//lib/rbs/substitution.rb#53
|
|
5196
6530
|
def [](ty); end
|
|
5197
6531
|
|
|
5198
6532
|
# source://rbs//lib/rbs/substitution.rb#16
|
|
@@ -5244,26 +6578,26 @@ class RBS::Subtractor
|
|
|
5244
6578
|
|
|
5245
6579
|
private
|
|
5246
6580
|
|
|
5247
|
-
# source://rbs//lib/rbs/subtractor.rb#
|
|
6581
|
+
# source://rbs//lib/rbs/subtractor.rb#180
|
|
5248
6582
|
def absolute_typename(name, context:); end
|
|
5249
6583
|
|
|
5250
6584
|
# @return [Boolean]
|
|
5251
6585
|
#
|
|
5252
|
-
# source://rbs//lib/rbs/subtractor.rb#
|
|
6586
|
+
# source://rbs//lib/rbs/subtractor.rb#163
|
|
5253
6587
|
def access_modifier?(decl); end
|
|
5254
6588
|
|
|
5255
6589
|
# @return [Boolean]
|
|
5256
6590
|
#
|
|
5257
|
-
# source://rbs//lib/rbs/subtractor.rb#
|
|
6591
|
+
# source://rbs//lib/rbs/subtractor.rb#120
|
|
5258
6592
|
def cvar_exist?(owner, name); end
|
|
5259
6593
|
|
|
5260
|
-
# source://rbs//lib/rbs/subtractor.rb#
|
|
6594
|
+
# source://rbs//lib/rbs/subtractor.rb#129
|
|
5261
6595
|
def each_member(owner, &block); end
|
|
5262
6596
|
|
|
5263
6597
|
# source://rbs//lib/rbs/subtractor.rb#48
|
|
5264
6598
|
def filter_members(decl, context:); end
|
|
5265
6599
|
|
|
5266
|
-
# source://rbs//lib/rbs/subtractor.rb#
|
|
6600
|
+
# source://rbs//lib/rbs/subtractor.rb#151
|
|
5267
6601
|
def filter_redundant_access_modifiers(decls); end
|
|
5268
6602
|
|
|
5269
6603
|
# @return [Boolean]
|
|
@@ -5283,13 +6617,13 @@ class RBS::Subtractor
|
|
|
5283
6617
|
|
|
5284
6618
|
# @return [Boolean]
|
|
5285
6619
|
#
|
|
5286
|
-
# source://rbs//lib/rbs/subtractor.rb#
|
|
6620
|
+
# source://rbs//lib/rbs/subtractor.rb#140
|
|
5287
6621
|
def mixin_exist?(owner, mixin, context:); end
|
|
5288
6622
|
|
|
5289
|
-
# source://rbs//lib/rbs/subtractor.rb#
|
|
6623
|
+
# source://rbs//lib/rbs/subtractor.rb#189
|
|
5290
6624
|
def typename_candidates(name, context:); end
|
|
5291
6625
|
|
|
5292
|
-
# source://rbs//lib/rbs/subtractor.rb#
|
|
6626
|
+
# source://rbs//lib/rbs/subtractor.rb#167
|
|
5293
6627
|
def update_decl(decl, members:); end
|
|
5294
6628
|
end
|
|
5295
6629
|
|
|
@@ -5469,7 +6803,7 @@ class RBS::TypeName
|
|
|
5469
6803
|
# source://rbs//lib/rbs/type_name.rb#47
|
|
5470
6804
|
def class?; end
|
|
5471
6805
|
|
|
5472
|
-
# source://rbs//lib/rbs/type_name.rb#
|
|
6806
|
+
# source://rbs//lib/rbs/type_name.rb#29
|
|
5473
6807
|
def eql?(other); end
|
|
5474
6808
|
|
|
5475
6809
|
# source://rbs//lib/rbs/type_name.rb#31
|
|
@@ -5519,27 +6853,27 @@ class RBS::TypeName
|
|
|
5519
6853
|
end
|
|
5520
6854
|
end
|
|
5521
6855
|
|
|
5522
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
6856
|
+
# source://rbs//lib/rbs/errors.rb#625
|
|
5523
6857
|
class RBS::TypeParamDefaultReferenceError < ::RBS::DefinitionError
|
|
5524
6858
|
include ::RBS::DetailedMessageable
|
|
5525
6859
|
|
|
5526
6860
|
# @return [TypeParamDefaultReferenceError] a new instance of TypeParamDefaultReferenceError
|
|
5527
6861
|
#
|
|
5528
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
6862
|
+
# source://rbs//lib/rbs/errors.rb#631
|
|
5529
6863
|
def initialize(type_param, location:); end
|
|
5530
6864
|
|
|
5531
6865
|
# Returns the value of attribute location.
|
|
5532
6866
|
#
|
|
5533
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
6867
|
+
# source://rbs//lib/rbs/errors.rb#629
|
|
5534
6868
|
def location; end
|
|
5535
6869
|
|
|
5536
6870
|
# Returns the value of attribute type_param.
|
|
5537
6871
|
#
|
|
5538
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
6872
|
+
# source://rbs//lib/rbs/errors.rb#628
|
|
5539
6873
|
def type_param; end
|
|
5540
6874
|
|
|
5541
6875
|
class << self
|
|
5542
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
6876
|
+
# source://rbs//lib/rbs/errors.rb#637
|
|
5543
6877
|
def check!(type_params); end
|
|
5544
6878
|
end
|
|
5545
6879
|
end
|
|
@@ -5587,7 +6921,7 @@ module RBS::Types::Application
|
|
|
5587
6921
|
# source://rbs//lib/rbs/types.rb#284
|
|
5588
6922
|
def each_type(&block); end
|
|
5589
6923
|
|
|
5590
|
-
# source://rbs//lib/rbs/types.rb#
|
|
6924
|
+
# source://rbs//lib/rbs/types.rb#262
|
|
5591
6925
|
def eql?(other); end
|
|
5592
6926
|
|
|
5593
6927
|
# source://rbs//lib/rbs/types.rb#268
|
|
@@ -5649,7 +6983,7 @@ class RBS::Types::Bases::Base
|
|
|
5649
6983
|
# source://rbs//lib/rbs/types.rb#49
|
|
5650
6984
|
def ==(other); end
|
|
5651
6985
|
|
|
5652
|
-
# source://rbs//lib/rbs/types.rb#
|
|
6986
|
+
# source://rbs//lib/rbs/types.rb#57
|
|
5653
6987
|
def eql?(other); end
|
|
5654
6988
|
|
|
5655
6989
|
# @return [Boolean]
|
|
@@ -5713,13 +7047,18 @@ class RBS::Types::Bases::Void < ::RBS::Types::Bases::Base; end
|
|
|
5713
7047
|
class RBS::Types::Block
|
|
5714
7048
|
# @return [Block] a new instance of Block
|
|
5715
7049
|
#
|
|
5716
|
-
# source://rbs//lib/rbs/types.rb#
|
|
5717
|
-
def initialize(type:, required:, self_type: T.unsafe(nil)); end
|
|
7050
|
+
# source://rbs//lib/rbs/types.rb#1344
|
|
7051
|
+
def initialize(type:, required:, location: T.unsafe(nil), self_type: T.unsafe(nil)); end
|
|
5718
7052
|
|
|
5719
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7053
|
+
# source://rbs//lib/rbs/types.rb#1351
|
|
5720
7054
|
def ==(other); end
|
|
5721
7055
|
|
|
5722
|
-
#
|
|
7056
|
+
# Returns the value of attribute location.
|
|
7057
|
+
#
|
|
7058
|
+
# source://rbs//lib/rbs/types.rb#1342
|
|
7059
|
+
def location; end
|
|
7060
|
+
|
|
7061
|
+
# source://rbs//lib/rbs/types.rb#1376
|
|
5723
7062
|
def map_type(&block); end
|
|
5724
7063
|
|
|
5725
7064
|
# Returns the value of attribute required.
|
|
@@ -5732,10 +7071,10 @@ class RBS::Types::Block
|
|
|
5732
7071
|
# source://rbs//lib/rbs/types.rb#1341
|
|
5733
7072
|
def self_type; end
|
|
5734
7073
|
|
|
5735
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7074
|
+
# source://rbs//lib/rbs/types.rb#1366
|
|
5736
7075
|
def sub(s); end
|
|
5737
7076
|
|
|
5738
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7077
|
+
# source://rbs//lib/rbs/types.rb#1358
|
|
5739
7078
|
def to_json(state = T.unsafe(nil)); end
|
|
5740
7079
|
|
|
5741
7080
|
# Returns the value of attribute type.
|
|
@@ -5785,7 +7124,7 @@ class RBS::Types::ClassSingleton
|
|
|
5785
7124
|
# source://rbs//lib/rbs/types.rb#211
|
|
5786
7125
|
def ==(other); end
|
|
5787
7126
|
|
|
5788
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7127
|
+
# source://rbs//lib/rbs/types.rb#215
|
|
5789
7128
|
def eql?(other); end
|
|
5790
7129
|
|
|
5791
7130
|
# @return [Boolean]
|
|
@@ -5865,7 +7204,7 @@ class RBS::Types::Function
|
|
|
5865
7204
|
# source://rbs//lib/rbs/types.rb#1153
|
|
5866
7205
|
def empty?; end
|
|
5867
7206
|
|
|
5868
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7207
|
+
# source://rbs//lib/rbs/types.rb#984
|
|
5869
7208
|
def eql?(other); end
|
|
5870
7209
|
|
|
5871
7210
|
# source://rbs//lib/rbs/types.rb#998
|
|
@@ -5977,7 +7316,7 @@ class RBS::Types::Function::Param
|
|
|
5977
7316
|
# source://rbs//lib/rbs/types.rb#917
|
|
5978
7317
|
def ==(other); end
|
|
5979
7318
|
|
|
5980
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7319
|
+
# source://rbs//lib/rbs/types.rb#921
|
|
5981
7320
|
def eql?(other); end
|
|
5982
7321
|
|
|
5983
7322
|
# source://rbs//lib/rbs/types.rb#923
|
|
@@ -6048,7 +7387,7 @@ class RBS::Types::Intersection
|
|
|
6048
7387
|
# source://rbs//lib/rbs/types.rb#869
|
|
6049
7388
|
def each_type(&block); end
|
|
6050
7389
|
|
|
6051
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7390
|
+
# source://rbs//lib/rbs/types.rb#835
|
|
6052
7391
|
def eql?(other); end
|
|
6053
7392
|
|
|
6054
7393
|
# source://rbs//lib/rbs/types.rb#841
|
|
@@ -6098,7 +7437,7 @@ class RBS::Types::Intersection
|
|
|
6098
7437
|
def with_nonreturn_void?; end
|
|
6099
7438
|
end
|
|
6100
7439
|
|
|
6101
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7440
|
+
# source://rbs//lib/rbs/types.rb#1520
|
|
6102
7441
|
class RBS::Types::Literal
|
|
6103
7442
|
include ::RBS::Types::NoFreeVariables
|
|
6104
7443
|
include ::RBS::Types::NoSubst
|
|
@@ -6107,56 +7446,56 @@ class RBS::Types::Literal
|
|
|
6107
7446
|
|
|
6108
7447
|
# @return [Literal] a new instance of Literal
|
|
6109
7448
|
#
|
|
6110
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7449
|
+
# source://rbs//lib/rbs/types.rb#1524
|
|
6111
7450
|
def initialize(literal:, location:); end
|
|
6112
7451
|
|
|
6113
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7452
|
+
# source://rbs//lib/rbs/types.rb#1529
|
|
6114
7453
|
def ==(other); end
|
|
6115
7454
|
|
|
6116
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7455
|
+
# source://rbs//lib/rbs/types.rb#1533
|
|
6117
7456
|
def eql?(other); end
|
|
6118
7457
|
|
|
6119
7458
|
# @return [Boolean]
|
|
6120
7459
|
#
|
|
6121
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7460
|
+
# source://rbs//lib/rbs/types.rb#1556
|
|
6122
7461
|
def has_classish_type?; end
|
|
6123
7462
|
|
|
6124
7463
|
# @return [Boolean]
|
|
6125
7464
|
#
|
|
6126
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7465
|
+
# source://rbs//lib/rbs/types.rb#1552
|
|
6127
7466
|
def has_self_type?; end
|
|
6128
7467
|
|
|
6129
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7468
|
+
# source://rbs//lib/rbs/types.rb#1535
|
|
6130
7469
|
def hash; end
|
|
6131
7470
|
|
|
6132
7471
|
# Returns the value of attribute literal.
|
|
6133
7472
|
#
|
|
6134
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7473
|
+
# source://rbs//lib/rbs/types.rb#1521
|
|
6135
7474
|
def literal; end
|
|
6136
7475
|
|
|
6137
7476
|
# Returns the value of attribute location.
|
|
6138
7477
|
#
|
|
6139
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7478
|
+
# source://rbs//lib/rbs/types.rb#1522
|
|
6140
7479
|
def location; end
|
|
6141
7480
|
|
|
6142
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7481
|
+
# source://rbs//lib/rbs/types.rb#1544
|
|
6143
7482
|
def to_json(state = T.unsafe(nil)); end
|
|
6144
7483
|
|
|
6145
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7484
|
+
# source://rbs//lib/rbs/types.rb#1548
|
|
6146
7485
|
def to_s(level = T.unsafe(nil)); end
|
|
6147
7486
|
|
|
6148
7487
|
# @return [Boolean]
|
|
6149
7488
|
#
|
|
6150
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7489
|
+
# source://rbs//lib/rbs/types.rb#1560
|
|
6151
7490
|
def with_nonreturn_void?; end
|
|
6152
7491
|
|
|
6153
7492
|
class << self
|
|
6154
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7493
|
+
# source://rbs//lib/rbs/types.rb#1580
|
|
6155
7494
|
def unescape_string(string, is_double_quote); end
|
|
6156
7495
|
end
|
|
6157
7496
|
end
|
|
6158
7497
|
|
|
6159
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7498
|
+
# source://rbs//lib/rbs/types.rb#1564
|
|
6160
7499
|
RBS::Types::Literal::TABLE = T.let(T.unsafe(nil), Hash)
|
|
6161
7500
|
|
|
6162
7501
|
# source://rbs//lib/rbs/types.rb#5
|
|
@@ -6190,7 +7529,7 @@ class RBS::Types::Optional
|
|
|
6190
7529
|
# source://rbs//lib/rbs/types.rb#692
|
|
6191
7530
|
def each_type; end
|
|
6192
7531
|
|
|
6193
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7532
|
+
# source://rbs//lib/rbs/types.rb#658
|
|
6194
7533
|
def eql?(other); end
|
|
6195
7534
|
|
|
6196
7535
|
# source://rbs//lib/rbs/types.rb#664
|
|
@@ -6240,76 +7579,76 @@ class RBS::Types::Optional
|
|
|
6240
7579
|
def with_nonreturn_void?; end
|
|
6241
7580
|
end
|
|
6242
7581
|
|
|
6243
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7582
|
+
# source://rbs//lib/rbs/types.rb#1397
|
|
6244
7583
|
class RBS::Types::Proc
|
|
6245
7584
|
# @return [Proc] a new instance of Proc
|
|
6246
7585
|
#
|
|
6247
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7586
|
+
# source://rbs//lib/rbs/types.rb#1403
|
|
6248
7587
|
def initialize(location:, type:, block:, self_type: T.unsafe(nil)); end
|
|
6249
7588
|
|
|
6250
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7589
|
+
# source://rbs//lib/rbs/types.rb#1410
|
|
6251
7590
|
def ==(other); end
|
|
6252
7591
|
|
|
6253
7592
|
# Returns the value of attribute block.
|
|
6254
7593
|
#
|
|
6255
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7594
|
+
# source://rbs//lib/rbs/types.rb#1399
|
|
6256
7595
|
def block; end
|
|
6257
7596
|
|
|
6258
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7597
|
+
# source://rbs//lib/rbs/types.rb#1464
|
|
6259
7598
|
def each_type(&block); end
|
|
6260
7599
|
|
|
6261
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7600
|
+
# source://rbs//lib/rbs/types.rb#1414
|
|
6262
7601
|
def eql?(other); end
|
|
6263
7602
|
|
|
6264
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7603
|
+
# source://rbs//lib/rbs/types.rb#1420
|
|
6265
7604
|
def free_variables(set = T.unsafe(nil)); end
|
|
6266
7605
|
|
|
6267
7606
|
# @return [Boolean]
|
|
6268
7607
|
#
|
|
6269
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7608
|
+
# source://rbs//lib/rbs/types.rb#1503
|
|
6270
7609
|
def has_classish_type?; end
|
|
6271
7610
|
|
|
6272
7611
|
# @return [Boolean]
|
|
6273
7612
|
#
|
|
6274
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7613
|
+
# source://rbs//lib/rbs/types.rb#1499
|
|
6275
7614
|
def has_self_type?; end
|
|
6276
7615
|
|
|
6277
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7616
|
+
# source://rbs//lib/rbs/types.rb#1416
|
|
6278
7617
|
def hash; end
|
|
6279
7618
|
|
|
6280
7619
|
# Returns the value of attribute location.
|
|
6281
7620
|
#
|
|
6282
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7621
|
+
# source://rbs//lib/rbs/types.rb#1401
|
|
6283
7622
|
def location; end
|
|
6284
7623
|
|
|
6285
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7624
|
+
# source://rbs//lib/rbs/types.rb#1486
|
|
6286
7625
|
def map_type(&block); end
|
|
6287
7626
|
|
|
6288
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7627
|
+
# source://rbs//lib/rbs/types.rb#1477
|
|
6289
7628
|
def map_type_name(&block); end
|
|
6290
7629
|
|
|
6291
7630
|
# Returns the value of attribute self_type.
|
|
6292
7631
|
#
|
|
6293
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7632
|
+
# source://rbs//lib/rbs/types.rb#1400
|
|
6294
7633
|
def self_type; end
|
|
6295
7634
|
|
|
6296
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7635
|
+
# source://rbs//lib/rbs/types.rb#1437
|
|
6297
7636
|
def sub(s); end
|
|
6298
7637
|
|
|
6299
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7638
|
+
# source://rbs//lib/rbs/types.rb#1427
|
|
6300
7639
|
def to_json(state = T.unsafe(nil)); end
|
|
6301
7640
|
|
|
6302
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7641
|
+
# source://rbs//lib/rbs/types.rb#1448
|
|
6303
7642
|
def to_s(level = T.unsafe(nil)); end
|
|
6304
7643
|
|
|
6305
7644
|
# Returns the value of attribute type.
|
|
6306
7645
|
#
|
|
6307
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7646
|
+
# source://rbs//lib/rbs/types.rb#1398
|
|
6308
7647
|
def type; end
|
|
6309
7648
|
|
|
6310
7649
|
# @return [Boolean]
|
|
6311
7650
|
#
|
|
6312
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7651
|
+
# source://rbs//lib/rbs/types.rb#1507
|
|
6313
7652
|
def with_nonreturn_void?; end
|
|
6314
7653
|
end
|
|
6315
7654
|
|
|
@@ -6331,7 +7670,7 @@ class RBS::Types::Record
|
|
|
6331
7670
|
# source://rbs//lib/rbs/types.rb#605
|
|
6332
7671
|
def each_type(&block); end
|
|
6333
7672
|
|
|
6334
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7673
|
+
# source://rbs//lib/rbs/types.rb#559
|
|
6335
7674
|
def eql?(other); end
|
|
6336
7675
|
|
|
6337
7676
|
# Returns the value of attribute fields.
|
|
@@ -6386,15 +7725,15 @@ class RBS::Types::Record
|
|
|
6386
7725
|
def with_nonreturn_void?; end
|
|
6387
7726
|
end
|
|
6388
7727
|
|
|
6389
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7728
|
+
# source://rbs//lib/rbs/types.rb#1385
|
|
6390
7729
|
module RBS::Types::SelfTypeBindingHelper
|
|
6391
7730
|
private
|
|
6392
7731
|
|
|
6393
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7732
|
+
# source://rbs//lib/rbs/types.rb#1388
|
|
6394
7733
|
def self_type_binding_to_s(t); end
|
|
6395
7734
|
|
|
6396
7735
|
class << self
|
|
6397
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7736
|
+
# source://rbs//lib/rbs/types.rb#1388
|
|
6398
7737
|
def self_type_binding_to_s(t); end
|
|
6399
7738
|
end
|
|
6400
7739
|
end
|
|
@@ -6412,7 +7751,7 @@ class RBS::Types::Tuple
|
|
|
6412
7751
|
# source://rbs//lib/rbs/types.rb#488
|
|
6413
7752
|
def each_type(&block); end
|
|
6414
7753
|
|
|
6415
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7754
|
+
# source://rbs//lib/rbs/types.rb#455
|
|
6416
7755
|
def eql?(other); end
|
|
6417
7756
|
|
|
6418
7757
|
# source://rbs//lib/rbs/types.rb#461
|
|
@@ -6475,7 +7814,7 @@ class RBS::Types::Union
|
|
|
6475
7814
|
# source://rbs//lib/rbs/types.rb#786
|
|
6476
7815
|
def each_type(&block); end
|
|
6477
7816
|
|
|
6478
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7817
|
+
# source://rbs//lib/rbs/types.rb#744
|
|
6479
7818
|
def eql?(other); end
|
|
6480
7819
|
|
|
6481
7820
|
# source://rbs//lib/rbs/types.rb#750
|
|
@@ -6546,7 +7885,7 @@ class RBS::Types::UntypedFunction
|
|
|
6546
7885
|
# source://rbs//lib/rbs/types.rb#1302
|
|
6547
7886
|
def empty?; end
|
|
6548
7887
|
|
|
6549
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7888
|
+
# source://rbs//lib/rbs/types.rb#1330
|
|
6550
7889
|
def eql?(other); end
|
|
6551
7890
|
|
|
6552
7891
|
# source://rbs//lib/rbs/types.rb#1248
|
|
@@ -6613,7 +7952,7 @@ class RBS::Types::Variable
|
|
|
6613
7952
|
# source://rbs//lib/rbs/types.rb#144
|
|
6614
7953
|
def ==(other); end
|
|
6615
7954
|
|
|
6616
|
-
# source://rbs//lib/rbs/types.rb#
|
|
7955
|
+
# source://rbs//lib/rbs/types.rb#148
|
|
6617
7956
|
def eql?(other); end
|
|
6618
7957
|
|
|
6619
7958
|
# source://rbs//lib/rbs/types.rb#154
|
|
@@ -6876,18 +8215,18 @@ class RBS::Vendorer
|
|
|
6876
8215
|
def vendor_dir; end
|
|
6877
8216
|
end
|
|
6878
8217
|
|
|
6879
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
8218
|
+
# source://rbs//lib/rbs/errors.rb#614
|
|
6880
8219
|
class RBS::WillSyntaxError < ::RBS::DefinitionError
|
|
6881
8220
|
include ::RBS::DetailedMessageable
|
|
6882
8221
|
|
|
6883
8222
|
# @return [WillSyntaxError] a new instance of WillSyntaxError
|
|
6884
8223
|
#
|
|
6885
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
8224
|
+
# source://rbs//lib/rbs/errors.rb#619
|
|
6886
8225
|
def initialize(message, location:); end
|
|
6887
8226
|
|
|
6888
8227
|
# Returns the value of attribute location.
|
|
6889
8228
|
#
|
|
6890
|
-
# source://rbs//lib/rbs/errors.rb#
|
|
8229
|
+
# source://rbs//lib/rbs/errors.rb#617
|
|
6891
8230
|
def location; end
|
|
6892
8231
|
end
|
|
6893
8232
|
|
|
@@ -6970,9 +8309,3 @@ class RBS::Writer
|
|
|
6970
8309
|
# source://rbs//lib/rbs/writer.rb#102
|
|
6971
8310
|
def write_use_directive(dir); end
|
|
6972
8311
|
end
|
|
6973
|
-
|
|
6974
|
-
# source://rbs//lib/rdoc/discover.rb#8
|
|
6975
|
-
class RDoc::Parser::RBS < ::RDoc::Parser
|
|
6976
|
-
# source://rbs//lib/rdoc/discover.rb#10
|
|
6977
|
-
def scan; end
|
|
6978
|
-
end
|