lunchmoney 1.4.1 → 1.5.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.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build_and_publish_yard_docs.yml +2 -2
  3. data/.github/workflows/ci.yml +9 -10
  4. data/.github/workflows/rbi-updater.yml +1 -1
  5. data/.github/workflows/release_pipeline.yml +1 -1
  6. data/.rubocop.yml +1 -1
  7. data/.ruby-version +1 -1
  8. data/.toys/.toys.rb +8 -0
  9. data/Gemfile +1 -1
  10. data/Gemfile.lock +76 -60
  11. data/README.md +0 -2
  12. data/SECURITY.md +151 -0
  13. data/bin/check_vcr_version +94 -0
  14. data/lib/lunchmoney/api.rb +25 -38
  15. data/lib/lunchmoney/calls/assets.rb +10 -13
  16. data/lib/lunchmoney/calls/base.rb +59 -7
  17. data/lib/lunchmoney/calls/budgets.rb +22 -25
  18. data/lib/lunchmoney/calls/categories.rb +28 -36
  19. data/lib/lunchmoney/calls/crypto.rb +7 -9
  20. data/lib/lunchmoney/calls/plaid_accounts.rb +7 -9
  21. data/lib/lunchmoney/calls/recurring_expenses.rb +4 -5
  22. data/lib/lunchmoney/calls/tags.rb +3 -4
  23. data/lib/lunchmoney/calls/transactions.rb +28 -36
  24. data/lib/lunchmoney/calls/users.rb +3 -4
  25. data/lib/lunchmoney/configuration.rb +20 -0
  26. data/lib/lunchmoney/objects/object.rb +4 -9
  27. data/lib/lunchmoney/validators.rb +8 -6
  28. data/lib/lunchmoney/version.rb +1 -1
  29. data/lib/lunchmoney.rb +3 -3
  30. data/lunchmoney.gemspec +1 -1
  31. data/sorbet/rbi/annotations/activesupport.rbi +35 -0
  32. data/sorbet/rbi/dsl/active_support/callbacks.rbi +0 -2
  33. data/sorbet/rbi/gems/{activesupport@7.2.2.1.rbi → activesupport@8.0.2.1.rbi} +1369 -989
  34. data/sorbet/rbi/gems/{ast@2.4.2.rbi → ast@2.4.3.rbi} +4 -3
  35. data/sorbet/rbi/gems/{base64@0.2.0.rbi → base64@0.3.0.rbi} +76 -39
  36. data/sorbet/rbi/gems/{benchmark@0.4.0.rbi → benchmark@0.4.1.rbi} +50 -49
  37. data/sorbet/rbi/gems/bigdecimal@3.2.2.rbi +275 -0
  38. data/sorbet/rbi/gems/{dotenv@3.1.7.rbi → dotenv@3.1.8.rbi} +9 -9
  39. data/sorbet/rbi/gems/{drb@2.2.1.rbi → drb@2.2.3.rbi} +503 -188
  40. data/sorbet/rbi/gems/{faraday-net_http@3.4.0.rbi → faraday-net_http@3.4.1.rbi} +23 -23
  41. data/sorbet/rbi/gems/{faraday@2.12.2.rbi → faraday@2.13.4.rbi} +468 -141
  42. data/sorbet/rbi/gems/{hashdiff@1.1.2.rbi → hashdiff@1.2.0.rbi} +5 -3
  43. data/sorbet/rbi/gems/{json@2.10.2.rbi → json@2.13.2.rbi} +386 -175
  44. data/sorbet/rbi/gems/{kramdown@2.4.0.rbi → kramdown@2.5.1.rbi} +316 -234
  45. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +240 -0
  46. data/sorbet/rbi/gems/{logger@1.6.6.rbi → logger@1.7.0.rbi} +63 -40
  47. data/sorbet/rbi/gems/{parser@3.3.7.1.rbi → parser@3.3.9.0.rbi} +303 -291
  48. data/sorbet/rbi/gems/{rack@3.1.9.rbi → rack@3.2.1.rbi} +712 -547
  49. data/sorbet/rbi/gems/{rake@13.2.1.rbi → rake@13.3.0.rbi} +238 -227
  50. data/sorbet/rbi/gems/{rbi@0.3.1.rbi → rbi@0.3.6.rbi} +1084 -2521
  51. data/sorbet/rbi/gems/{rbs@3.9.0.rbi → rbs@4.0.0.dev.4.rbi} +1336 -419
  52. data/sorbet/rbi/gems/{regexp_parser@2.10.0.rbi → regexp_parser@2.11.2.rbi} +1044 -956
  53. data/sorbet/rbi/gems/require-hooks@0.2.2.rbi +110 -0
  54. data/sorbet/rbi/gems/{rexml@3.4.1.rbi → rexml@3.4.2.rbi} +302 -292
  55. data/sorbet/rbi/gems/{rubocop-ast@1.38.0.rbi → rubocop-ast@1.46.0.rbi} +802 -1016
  56. data/sorbet/rbi/gems/{rubocop-minitest@0.36.0.rbi → rubocop-minitest@0.38.2.rbi} +129 -93
  57. data/sorbet/rbi/gems/{rubocop-rails@2.29.1.rbi → rubocop-rails@2.33.3.rbi} +575 -230
  58. data/sorbet/rbi/gems/{rubocop-shopify@2.15.1.rbi → rubocop-shopify@2.17.1.rbi} +1 -0
  59. data/sorbet/rbi/gems/{rubocop-sorbet@0.8.7.rbi → rubocop-sorbet@0.10.5.rbi} +761 -83
  60. data/sorbet/rbi/gems/{rubocop@1.71.2.rbi → rubocop@1.80.1.rbi} +6543 -3097
  61. data/sorbet/rbi/gems/{spoom@1.6.1.rbi → spoom@1.7.6.rbi} +1179 -2621
  62. data/sorbet/rbi/gems/{tapioca@0.16.11.rbi → tapioca@0.17.7.rbi} +623 -745
  63. data/sorbet/rbi/gems/{thor@1.3.2.rbi → thor@1.4.0.rbi} +88 -67
  64. data/sorbet/rbi/gems/{unicode-display_width@3.1.4.rbi → unicode-display_width@3.1.5.rbi} +5 -5
  65. data/sorbet/rbi/gems/{vcr@6.3.1.rbi → vcr@6.3.1-ce35c236fe48899f02ddf780973b44cdb756c0ee.rbi} +140 -123
  66. metadata +42 -38
  67. data/sorbet/rbi/gems/bigdecimal@3.1.9.rbi +0 -78
  68. /data/sorbet/rbi/gems/{connection_pool@2.5.0.rbi → connection_pool@2.5.3.rbi} +0 -0
  69. /data/sorbet/rbi/gems/{language_server-protocol@3.17.0.4.rbi → language_server-protocol@3.17.0.5.rbi} +0 -0
  70. /data/sorbet/rbi/gems/{parallel@1.26.3.rbi → parallel@1.27.0.rbi} +0 -0
@@ -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#69
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#66
16
+ # source://rbs//lib/rbs.rb#78
26
17
  def logger_level; end
27
18
 
28
- # source://rbs//lib/rbs.rb#78
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#67
24
+ # source://rbs//lib/rbs.rb#79
34
25
  def logger_output; end
35
26
 
36
- # source://rbs//lib/rbs.rb#73
27
+ # source://rbs//lib/rbs.rb#85
37
28
  def logger_output=(val); end
38
29
 
39
- # source://rbs//lib/rbs.rb#83
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#14
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#14
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#434
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#119
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#67
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#362
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#400
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#278
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#220
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#159
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#321
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#416
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#281
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#372
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#66
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#18
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#134
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,6 +1066,475 @@ 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#7
1076
+ class RBS::AST::Ruby::Annotations::Base
1077
+ # @return [Base] a new instance of Base
1078
+ #
1079
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#10
1080
+ def initialize(location, prefix_location); end
1081
+
1082
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#15
1083
+ def buffer; end
1084
+
1085
+ # Returns the value of attribute location.
1086
+ #
1087
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#8
1088
+ def location; end
1089
+
1090
+ # Returns the value of attribute prefix_location.
1091
+ #
1092
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#8
1093
+ def prefix_location; end
1094
+ end
1095
+
1096
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#36
1097
+ class RBS::AST::Ruby::Annotations::ColonMethodTypeAnnotation < ::RBS::AST::Ruby::Annotations::Base
1098
+ # @return [ColonMethodTypeAnnotation] a new instance of ColonMethodTypeAnnotation
1099
+ #
1100
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#39
1101
+ def initialize(location:, prefix_location:, annotations:, method_type:); end
1102
+
1103
+ # Returns the value of attribute annotations.
1104
+ #
1105
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#37
1106
+ def annotations; end
1107
+
1108
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#45
1109
+ def map_type_name; end
1110
+
1111
+ # Returns the value of attribute method_type.
1112
+ #
1113
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#37
1114
+ def method_type; end
1115
+ end
1116
+
1117
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#55
1118
+ class RBS::AST::Ruby::Annotations::MethodTypesAnnotation < ::RBS::AST::Ruby::Annotations::Base
1119
+ # @return [MethodTypesAnnotation] a new instance of MethodTypesAnnotation
1120
+ #
1121
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#60
1122
+ def initialize(location:, prefix_location:, overloads:, vertical_bar_locations:); end
1123
+
1124
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#66
1125
+ def map_type_name(&block); end
1126
+
1127
+ # Returns the value of attribute overloads.
1128
+ #
1129
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#58
1130
+ def overloads; end
1131
+
1132
+ # Returns the value of attribute vertical_bar_locations.
1133
+ #
1134
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#58
1135
+ def vertical_bar_locations; end
1136
+ end
1137
+
1138
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#56
1139
+ RBS::AST::Ruby::Annotations::MethodTypesAnnotation::Overload = RBS::AST::Members::MethodDefinition::Overload
1140
+
1141
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#20
1142
+ class RBS::AST::Ruby::Annotations::NodeTypeAssertion < ::RBS::AST::Ruby::Annotations::Base
1143
+ # @return [NodeTypeAssertion] a new instance of NodeTypeAssertion
1144
+ #
1145
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#23
1146
+ def initialize(location:, prefix_location:, type:); end
1147
+
1148
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#28
1149
+ def map_type_name; end
1150
+
1151
+ # Returns the value of attribute type.
1152
+ #
1153
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#21
1154
+ def type; end
1155
+ end
1156
+
1157
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#88
1158
+ class RBS::AST::Ruby::Annotations::ReturnTypeAnnotation < ::RBS::AST::Ruby::Annotations::Base
1159
+ # @return [ReturnTypeAnnotation] a new instance of ReturnTypeAnnotation
1160
+ #
1161
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#97
1162
+ def initialize(location:, prefix_location:, return_location:, colon_location:, return_type:, comment_location:); end
1163
+
1164
+ # Returns the value of attribute colon_location.
1165
+ #
1166
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#91
1167
+ def colon_location; end
1168
+
1169
+ # Returns the value of attribute comment_location.
1170
+ #
1171
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#95
1172
+ def comment_location; end
1173
+
1174
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#105
1175
+ def map_type_name(&block); end
1176
+
1177
+ # Returns the value of attribute return_location.
1178
+ #
1179
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#89
1180
+ def return_location; end
1181
+
1182
+ # Returns the value of attribute return_type.
1183
+ #
1184
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#93
1185
+ def return_type; end
1186
+ end
1187
+
1188
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#78
1189
+ class RBS::AST::Ruby::Annotations::SkipAnnotation < ::RBS::AST::Ruby::Annotations::Base
1190
+ # @return [SkipAnnotation] a new instance of SkipAnnotation
1191
+ #
1192
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#81
1193
+ def initialize(location:, prefix_location:, skip_location:, comment_location:); end
1194
+
1195
+ # Returns the value of attribute comment_location.
1196
+ #
1197
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#79
1198
+ def comment_location; end
1199
+
1200
+ # Returns the value of attribute skip_location.
1201
+ #
1202
+ # source://rbs//lib/rbs/ast/ruby/annotations.rb#79
1203
+ def skip_location; end
1204
+ end
1205
+
1206
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#6
1207
+ class RBS::AST::Ruby::CommentBlock
1208
+ # @return [CommentBlock] a new instance of CommentBlock
1209
+ #
1210
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#9
1211
+ def initialize(source_buffer, comments); end
1212
+
1213
+ # Returns the value of attribute comment_buffer.
1214
+ #
1215
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#7
1216
+ def comment_buffer; end
1217
+
1218
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#204
1219
+ def comments; end
1220
+
1221
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#98
1222
+ def each_paragraph(variables, &block); end
1223
+
1224
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#50
1225
+ def end_line; end
1226
+
1227
+ # @return [Boolean]
1228
+ #
1229
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#36
1230
+ def leading?; end
1231
+
1232
+ # @return [Boolean]
1233
+ #
1234
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#208
1235
+ def leading_annotation?(index); end
1236
+
1237
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#174
1238
+ def line_location(start_line, end_line); end
1239
+
1240
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#54
1241
+ def line_starts; end
1242
+
1243
+ # Returns the value of attribute name.
1244
+ #
1245
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#7
1246
+ def name; end
1247
+
1248
+ # Returns the value of attribute offsets.
1249
+ #
1250
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#7
1251
+ def offsets; end
1252
+
1253
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#180
1254
+ def parse_annotation_lines(start_line, end_line, variables); end
1255
+
1256
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#46
1257
+ def start_line; end
1258
+
1259
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#169
1260
+ def text(comment_index); end
1261
+
1262
+ # @return [Boolean]
1263
+ #
1264
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#41
1265
+ def trailing?; end
1266
+
1267
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#190
1268
+ def trailing_annotation(variables); end
1269
+
1270
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#130
1271
+ def yield_annotation(start_line, end_line, current_line, variables, &block); end
1272
+
1273
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#110
1274
+ def yield_paragraph(start_line, current_line, variables, &block); end
1275
+
1276
+ class << self
1277
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#60
1278
+ def build(buffer, comments); end
1279
+ end
1280
+ end
1281
+
1282
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
1283
+ class RBS::AST::Ruby::CommentBlock::AnnotationSyntaxError < ::Struct
1284
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
1285
+ def error; end
1286
+
1287
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
1288
+ def error=(_); end
1289
+
1290
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
1291
+ def location; end
1292
+
1293
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
1294
+ def location=(_); end
1295
+
1296
+ class << self
1297
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
1298
+ def [](*_arg0); end
1299
+
1300
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
1301
+ def inspect; end
1302
+
1303
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
1304
+ def keyword_init?; end
1305
+
1306
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
1307
+ def members; end
1308
+
1309
+ # source://rbs//lib/rbs/ast/ruby/comment_block.rb#96
1310
+ def new(*_arg0); end
1311
+ end
1312
+ end
1313
+
1314
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#6
1315
+ module RBS::AST::Ruby::Declarations; end
1316
+
1317
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#7
1318
+ class RBS::AST::Ruby::Declarations::Base
1319
+ include ::RBS::AST::Ruby::Helpers::ConstantHelper
1320
+ include ::RBS::AST::Ruby::Helpers::LocationHelper
1321
+
1322
+ # @return [Base] a new instance of Base
1323
+ #
1324
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#13
1325
+ def initialize(buffer); end
1326
+
1327
+ # Returns the value of attribute buffer.
1328
+ #
1329
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#8
1330
+ def buffer; end
1331
+ end
1332
+
1333
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#18
1334
+ class RBS::AST::Ruby::Declarations::ClassDecl < ::RBS::AST::Ruby::Declarations::Base
1335
+ # @return [ClassDecl] a new instance of ClassDecl
1336
+ #
1337
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#25
1338
+ def initialize(buffer, name, node); end
1339
+
1340
+ # Returns the value of attribute class_name.
1341
+ #
1342
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#19
1343
+ def class_name; end
1344
+
1345
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#32
1346
+ def each_decl(&block); end
1347
+
1348
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#46
1349
+ def location; end
1350
+
1351
+ # Returns the value of attribute members.
1352
+ #
1353
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#21
1354
+ def members; end
1355
+
1356
+ # Returns the value of attribute node.
1357
+ #
1358
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#23
1359
+ def node; end
1360
+
1361
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#42
1362
+ def super_class; end
1363
+
1364
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#44
1365
+ def type_params; end
1366
+ end
1367
+
1368
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#51
1369
+ class RBS::AST::Ruby::Declarations::ModuleDecl < ::RBS::AST::Ruby::Declarations::Base
1370
+ # @return [ModuleDecl] a new instance of ModuleDecl
1371
+ #
1372
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#58
1373
+ def initialize(buffer, name, node); end
1374
+
1375
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#65
1376
+ def each_decl(&block); end
1377
+
1378
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#79
1379
+ def location; end
1380
+
1381
+ # Returns the value of attribute members.
1382
+ #
1383
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#54
1384
+ def members; end
1385
+
1386
+ # Returns the value of attribute module_name.
1387
+ #
1388
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#52
1389
+ def module_name; end
1390
+
1391
+ # Returns the value of attribute node.
1392
+ #
1393
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#56
1394
+ def node; end
1395
+
1396
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#77
1397
+ def self_types; end
1398
+
1399
+ # source://rbs//lib/rbs/ast/ruby/declarations.rb#75
1400
+ def type_params; end
1401
+ end
1402
+
1403
+ # source://rbs//lib/rbs/ast/ruby/helpers/constant_helper.rb#6
1404
+ module RBS::AST::Ruby::Helpers; end
1405
+
1406
+ # source://rbs//lib/rbs/ast/ruby/helpers/constant_helper.rb#7
1407
+ module RBS::AST::Ruby::Helpers::ConstantHelper
1408
+ private
1409
+
1410
+ # source://rbs//lib/rbs/ast/ruby/helpers/constant_helper.rb#10
1411
+ def constant_as_type_name(node); end
1412
+
1413
+ class << self
1414
+ # source://rbs//lib/rbs/ast/ruby/helpers/constant_helper.rb#10
1415
+ def constant_as_type_name(node); end
1416
+ end
1417
+ end
1418
+
1419
+ # source://rbs//lib/rbs/ast/ruby/helpers/location_helper.rb#7
1420
+ module RBS::AST::Ruby::Helpers::LocationHelper
1421
+ # source://rbs//lib/rbs/ast/ruby/helpers/location_helper.rb#8
1422
+ def rbs_location(location); end
1423
+ end
1424
+
1425
+ # source://rbs//lib/rbs/ast/ruby/members.rb#6
1426
+ module RBS::AST::Ruby::Members; end
1427
+
1428
+ # source://rbs//lib/rbs/ast/ruby/members.rb#7
1429
+ class RBS::AST::Ruby::Members::Base
1430
+ include ::RBS::AST::Ruby::Helpers::LocationHelper
1431
+
1432
+ # @return [Base] a new instance of Base
1433
+ #
1434
+ # source://rbs//lib/rbs/ast/ruby/members.rb#10
1435
+ def initialize(buffer); end
1436
+
1437
+ # Returns the value of attribute buffer.
1438
+ #
1439
+ # source://rbs//lib/rbs/ast/ruby/members.rb#8
1440
+ def buffer; end
1441
+ end
1442
+
1443
+ # source://rbs//lib/rbs/ast/ruby/members.rb#180
1444
+ class RBS::AST::Ruby::Members::DefMember < ::RBS::AST::Ruby::Members::Base
1445
+ # @return [DefMember] a new instance of DefMember
1446
+ #
1447
+ # source://rbs//lib/rbs/ast/ruby/members.rb#187
1448
+ def initialize(buffer, name, node, method_type); end
1449
+
1450
+ # source://rbs//lib/rbs/ast/ruby/members.rb#206
1451
+ def annotations; end
1452
+
1453
+ # source://rbs//lib/rbs/ast/ruby/members.rb#194
1454
+ def location; end
1455
+
1456
+ # Returns the value of attribute method_type.
1457
+ #
1458
+ # source://rbs//lib/rbs/ast/ruby/members.rb#185
1459
+ def method_type; end
1460
+
1461
+ # Returns the value of attribute name.
1462
+ #
1463
+ # source://rbs//lib/rbs/ast/ruby/members.rb#183
1464
+ def name; end
1465
+
1466
+ # Returns the value of attribute node.
1467
+ #
1468
+ # source://rbs//lib/rbs/ast/ruby/members.rb#184
1469
+ def node; end
1470
+
1471
+ # @return [Boolean]
1472
+ #
1473
+ # source://rbs//lib/rbs/ast/ruby/members.rb#202
1474
+ def overloading?; end
1475
+
1476
+ # source://rbs//lib/rbs/ast/ruby/members.rb#198
1477
+ def overloads; end
1478
+ end
1479
+
1480
+ # source://rbs//lib/rbs/ast/ruby/members.rb#181
1481
+ RBS::AST::Ruby::Members::DefMember::Overload = RBS::AST::Members::MethodDefinition::Overload
1482
+
1483
+ # source://rbs//lib/rbs/ast/ruby/members.rb#17
1484
+ class RBS::AST::Ruby::Members::MethodTypeAnnotation
1485
+ # @return [MethodTypeAnnotation] a new instance of MethodTypeAnnotation
1486
+ #
1487
+ # source://rbs//lib/rbs/ast/ruby/members.rb#64
1488
+ def initialize(type_annotations:); end
1489
+
1490
+ # @return [Boolean]
1491
+ #
1492
+ # source://rbs//lib/rbs/ast/ruby/members.rb#139
1493
+ def empty?; end
1494
+
1495
+ # source://rbs//lib/rbs/ast/ruby/members.rb#68
1496
+ def map_type_name(&block); end
1497
+
1498
+ # source://rbs//lib/rbs/ast/ruby/members.rb#143
1499
+ def overloads; end
1500
+
1501
+ # Returns the value of attribute type_annotations.
1502
+ #
1503
+ # source://rbs//lib/rbs/ast/ruby/members.rb#62
1504
+ def type_annotations; end
1505
+
1506
+ class << self
1507
+ # source://rbs//lib/rbs/ast/ruby/members.rb#81
1508
+ def build(leading_block, trailing_block, variables); end
1509
+ end
1510
+ end
1511
+
1512
+ # source://rbs//lib/rbs/ast/ruby/members.rb#18
1513
+ class RBS::AST::Ruby::Members::MethodTypeAnnotation::DocStyle
1514
+ # @return [DocStyle] a new instance of DocStyle
1515
+ #
1516
+ # source://rbs//lib/rbs/ast/ruby/members.rb#21
1517
+ def initialize; end
1518
+
1519
+ # source://rbs//lib/rbs/ast/ruby/members.rb#25
1520
+ def map_type_name(&block); end
1521
+
1522
+ # source://rbs//lib/rbs/ast/ruby/members.rb#31
1523
+ def method_type; end
1524
+
1525
+ # Returns the value of attribute return_type_annotation.
1526
+ #
1527
+ # source://rbs//lib/rbs/ast/ruby/members.rb#19
1528
+ def return_type_annotation; end
1529
+
1530
+ # Sets the attribute return_type_annotation
1531
+ #
1532
+ # @param value the value to set the attribute return_type_annotation to.
1533
+ #
1534
+ # source://rbs//lib/rbs/ast/ruby/members.rb#19
1535
+ def return_type_annotation=(_arg0); end
1536
+ end
1537
+
1078
1538
  # source://rbs//lib/rbs/ast/type_param.rb#5
1079
1539
  class RBS::AST::TypeParam
1080
1540
  # @return [TypeParam] a new instance of TypeParam
@@ -1090,7 +1550,7 @@ class RBS::AST::TypeParam
1090
1550
  # source://rbs//lib/rbs/ast/type_param.rb#6
1091
1551
  def default_type; end
1092
1552
 
1093
- # source://rbs//lib/rbs/ast/type_param.rb#33
1553
+ # source://rbs//lib/rbs/ast/type_param.rb#42
1094
1554
  def eql?(other); end
1095
1555
 
1096
1556
  # source://rbs//lib/rbs/ast/type_param.rb#44
@@ -1296,28 +1756,52 @@ end
1296
1756
 
1297
1757
  # source://rbs//lib/rbs/ancestor_graph.rb#5
1298
1758
  class RBS::AncestorGraph::InstanceNode < ::Struct
1759
+ # source://rbs//lib/rbs/ancestor_graph.rb#5
1299
1760
  def type_name; end
1761
+
1762
+ # source://rbs//lib/rbs/ancestor_graph.rb#5
1300
1763
  def type_name=(_); end
1301
1764
 
1302
1765
  class << self
1766
+ # source://rbs//lib/rbs/ancestor_graph.rb#5
1303
1767
  def [](*_arg0); end
1768
+
1769
+ # source://rbs//lib/rbs/ancestor_graph.rb#5
1304
1770
  def inspect; end
1771
+
1772
+ # source://rbs//lib/rbs/ancestor_graph.rb#5
1305
1773
  def keyword_init?; end
1774
+
1775
+ # source://rbs//lib/rbs/ancestor_graph.rb#5
1306
1776
  def members; end
1777
+
1778
+ # source://rbs//lib/rbs/ancestor_graph.rb#5
1307
1779
  def new(*_arg0); end
1308
1780
  end
1309
1781
  end
1310
1782
 
1311
1783
  # source://rbs//lib/rbs/ancestor_graph.rb#6
1312
1784
  class RBS::AncestorGraph::SingletonNode < ::Struct
1785
+ # source://rbs//lib/rbs/ancestor_graph.rb#6
1313
1786
  def type_name; end
1787
+
1788
+ # source://rbs//lib/rbs/ancestor_graph.rb#6
1314
1789
  def type_name=(_); end
1315
1790
 
1316
1791
  class << self
1792
+ # source://rbs//lib/rbs/ancestor_graph.rb#6
1317
1793
  def [](*_arg0); end
1794
+
1795
+ # source://rbs//lib/rbs/ancestor_graph.rb#6
1318
1796
  def inspect; end
1797
+
1798
+ # source://rbs//lib/rbs/ancestor_graph.rb#6
1319
1799
  def keyword_init?; end
1800
+
1801
+ # source://rbs//lib/rbs/ancestor_graph.rb#6
1320
1802
  def members; end
1803
+
1804
+ # source://rbs//lib/rbs/ancestor_graph.rb#6
1321
1805
  def new(*_arg0); end
1322
1806
  end
1323
1807
  end
@@ -1329,24 +1813,33 @@ class RBS::BaseError < ::StandardError; end
1329
1813
  class RBS::Buffer
1330
1814
  # @return [Buffer] a new instance of Buffer
1331
1815
  #
1332
- # source://rbs//lib/rbs/buffer.rb#8
1333
- def initialize(name:, content:); end
1816
+ # source://rbs//lib/rbs/buffer.rb#9
1817
+ def initialize(content:, name: T.unsafe(nil), parent: T.unsafe(nil)); end
1818
+
1819
+ # source://rbs//lib/rbs/buffer.rb#126
1820
+ def absolute_position(position); end
1334
1821
 
1335
1822
  # Returns the value of attribute content.
1336
1823
  #
1337
1824
  # source://rbs//lib/rbs/buffer.rb#6
1338
1825
  def content; end
1339
1826
 
1340
- # source://rbs//lib/rbs/buffer.rb#63
1827
+ # source://rbs//lib/rbs/buffer.rb#143
1828
+ def detach; end
1829
+
1830
+ # source://rbs//lib/rbs/buffer.rb#81
1341
1831
  def inspect; end
1342
1832
 
1343
- # source://rbs//lib/rbs/buffer.rb#59
1833
+ # source://rbs//lib/rbs/buffer.rb#73
1344
1834
  def last_position; end
1345
1835
 
1346
- # source://rbs//lib/rbs/buffer.rb#13
1836
+ # source://rbs//lib/rbs/buffer.rb#26
1837
+ def line_count; end
1838
+
1839
+ # source://rbs//lib/rbs/buffer.rb#22
1347
1840
  def lines; end
1348
1841
 
1349
- # source://rbs//lib/rbs/buffer.rb#49
1842
+ # source://rbs//lib/rbs/buffer.rb#63
1350
1843
  def loc_to_pos(loc); end
1351
1844
 
1352
1845
  # Returns the value of attribute name.
@@ -1354,11 +1847,31 @@ class RBS::Buffer
1354
1847
  # source://rbs//lib/rbs/buffer.rb#5
1355
1848
  def name; end
1356
1849
 
1357
- # source://rbs//lib/rbs/buffer.rb#37
1850
+ # Returns the value of attribute parent.
1851
+ #
1852
+ # source://rbs//lib/rbs/buffer.rb#7
1853
+ def parent; end
1854
+
1855
+ # source://rbs//lib/rbs/buffer.rb#111
1856
+ def parent_buffer; end
1857
+
1858
+ # source://rbs//lib/rbs/buffer.rb#117
1859
+ def parent_position(position); end
1860
+
1861
+ # source://rbs//lib/rbs/buffer.rb#51
1358
1862
  def pos_to_loc(pos); end
1359
1863
 
1360
- # source://rbs//lib/rbs/buffer.rb#17
1864
+ # source://rbs//lib/rbs/buffer.rb#30
1361
1865
  def ranges; end
1866
+
1867
+ # source://rbs//lib/rbs/buffer.rb#85
1868
+ def rbs_location(location, loc2 = T.unsafe(nil)); end
1869
+
1870
+ # source://rbs//lib/rbs/buffer.rb#93
1871
+ def sub_buffer(lines:); end
1872
+
1873
+ # source://rbs//lib/rbs/buffer.rb#135
1874
+ def top_buffer; end
1362
1875
  end
1363
1876
 
1364
1877
  # source://rbs//lib/rbs/builtin_names.rb#4
@@ -1959,7 +2472,10 @@ class RBS::Collection::Sources::Rubygems
1959
2472
  class << self
1960
2473
  private
1961
2474
 
2475
+ # source://rbs//lib/rbs/collection/sources/rubygems.rb#11
1962
2476
  def allocate; end
2477
+
2478
+ # source://rbs//lib/rbs/collection/sources/rubygems.rb#11
1963
2479
  def new(*_arg0); end
1964
2480
  end
1965
2481
  end
@@ -1998,7 +2514,10 @@ class RBS::Collection::Sources::Stdlib
1998
2514
  class << self
1999
2515
  private
2000
2516
 
2517
+ # source://rbs//lib/rbs/collection/sources/stdlib.rb#11
2001
2518
  def allocate; end
2519
+
2520
+ # source://rbs//lib/rbs/collection/sources/stdlib.rb#11
2002
2521
  def new(*_arg0); end
2003
2522
  end
2004
2523
  end
@@ -2021,7 +2540,7 @@ class RBS::Constant
2021
2540
  # source://rbs//lib/rbs/constant.rb#7
2022
2541
  def entry; end
2023
2542
 
2024
- # source://rbs//lib/rbs/constant.rb#15
2543
+ # source://rbs//lib/rbs/constant.rb#22
2025
2544
  def eql?(other); end
2026
2545
 
2027
2546
  # source://rbs//lib/rbs/constant.rb#24
@@ -2038,51 +2557,51 @@ class RBS::Constant
2038
2557
  def type; end
2039
2558
  end
2040
2559
 
2041
- # source://rbs//lib/rbs/errors.rb#577
2560
+ # source://rbs//lib/rbs/errors.rb#578
2042
2561
  class RBS::CyclicClassAliasDefinitionError < ::RBS::BaseError
2043
2562
  include ::RBS::DetailedMessageable
2044
2563
 
2045
2564
  # @return [CyclicClassAliasDefinitionError] a new instance of CyclicClassAliasDefinitionError
2046
2565
  #
2047
- # source://rbs//lib/rbs/errors.rb#582
2566
+ # source://rbs//lib/rbs/errors.rb#583
2048
2567
  def initialize(entry); end
2049
2568
 
2050
2569
  # Returns the value of attribute alias_entry.
2051
2570
  #
2052
- # source://rbs//lib/rbs/errors.rb#580
2571
+ # source://rbs//lib/rbs/errors.rb#581
2053
2572
  def alias_entry; end
2054
2573
 
2055
- # source://rbs//lib/rbs/errors.rb#588
2574
+ # source://rbs//lib/rbs/errors.rb#589
2056
2575
  def location; end
2057
2576
  end
2058
2577
 
2059
- # source://rbs//lib/rbs/errors.rb#538
2578
+ # source://rbs//lib/rbs/errors.rb#539
2060
2579
  class RBS::CyclicTypeParameterBound < ::RBS::BaseError
2061
2580
  include ::RBS::DetailedMessageable
2062
2581
 
2063
2582
  # @return [CyclicTypeParameterBound] a new instance of CyclicTypeParameterBound
2064
2583
  #
2065
- # source://rbs//lib/rbs/errors.rb#543
2584
+ # source://rbs//lib/rbs/errors.rb#544
2066
2585
  def initialize(type_name:, method_name:, params:, location:); end
2067
2586
 
2068
2587
  # Returns the value of attribute location.
2069
2588
  #
2070
- # source://rbs//lib/rbs/errors.rb#541
2589
+ # source://rbs//lib/rbs/errors.rb#542
2071
2590
  def location; end
2072
2591
 
2073
2592
  # Returns the value of attribute method_name.
2074
2593
  #
2075
- # source://rbs//lib/rbs/errors.rb#541
2594
+ # source://rbs//lib/rbs/errors.rb#542
2076
2595
  def method_name; end
2077
2596
 
2078
2597
  # Returns the value of attribute params.
2079
2598
  #
2080
- # source://rbs//lib/rbs/errors.rb#541
2599
+ # source://rbs//lib/rbs/errors.rb#542
2081
2600
  def params; end
2082
2601
 
2083
2602
  # Returns the value of attribute type_name.
2084
2603
  #
2085
- # source://rbs//lib/rbs/errors.rb#541
2604
+ # source://rbs//lib/rbs/errors.rb#542
2086
2605
  def type_name; end
2087
2606
  end
2088
2607
 
@@ -2090,170 +2609,170 @@ end
2090
2609
  class RBS::Definition
2091
2610
  # @return [Definition] a new instance of Definition
2092
2611
  #
2093
- # source://rbs//lib/rbs/definition.rb#297
2612
+ # source://rbs//lib/rbs/definition.rb#302
2094
2613
  def initialize(type_name:, entry:, self_type:, ancestors:); end
2095
2614
 
2096
2615
  # Returns the value of attribute ancestors.
2097
2616
  #
2098
- # source://rbs//lib/rbs/definition.rb#291
2617
+ # source://rbs//lib/rbs/definition.rb#296
2099
2618
  def ancestors; end
2100
2619
 
2101
2620
  # @return [Boolean]
2102
2621
  #
2103
- # source://rbs//lib/rbs/definition.rb#320
2622
+ # source://rbs//lib/rbs/definition.rb#325
2104
2623
  def class?; end
2105
2624
 
2106
2625
  # @return [Boolean]
2107
2626
  #
2108
- # source://rbs//lib/rbs/definition.rb#337
2627
+ # source://rbs//lib/rbs/definition.rb#342
2109
2628
  def class_type?; end
2110
2629
 
2111
2630
  # Returns the value of attribute class_variables.
2112
2631
  #
2113
- # source://rbs//lib/rbs/definition.rb#295
2632
+ # source://rbs//lib/rbs/definition.rb#300
2114
2633
  def class_variables; end
2115
2634
 
2116
- # source://rbs//lib/rbs/definition.rb#384
2635
+ # source://rbs//lib/rbs/definition.rb#389
2117
2636
  def each_type(&block); end
2118
2637
 
2119
2638
  # Returns the value of attribute entry.
2120
2639
  #
2121
- # source://rbs//lib/rbs/definition.rb#290
2640
+ # source://rbs//lib/rbs/definition.rb#295
2122
2641
  def entry; end
2123
2642
 
2124
2643
  # @return [Boolean]
2125
2644
  #
2126
- # source://rbs//lib/rbs/definition.rb#341
2645
+ # source://rbs//lib/rbs/definition.rb#346
2127
2646
  def instance_type?; end
2128
2647
 
2129
2648
  # Returns the value of attribute instance_variables.
2130
2649
  #
2131
- # source://rbs//lib/rbs/definition.rb#294
2650
+ # source://rbs//lib/rbs/definition.rb#299
2132
2651
  def instance_variables; end
2133
2652
 
2134
2653
  # @return [Boolean]
2135
2654
  #
2136
- # source://rbs//lib/rbs/definition.rb#328
2655
+ # source://rbs//lib/rbs/definition.rb#333
2137
2656
  def interface?; end
2138
2657
 
2139
2658
  # @return [Boolean]
2140
2659
  #
2141
- # source://rbs//lib/rbs/definition.rb#345
2660
+ # source://rbs//lib/rbs/definition.rb#350
2142
2661
  def interface_type?; end
2143
2662
 
2144
- # source://rbs//lib/rbs/definition.rb#374
2663
+ # source://rbs//lib/rbs/definition.rb#379
2145
2664
  def map_method_type(&block); end
2146
2665
 
2147
2666
  # Returns the value of attribute methods.
2148
2667
  #
2149
- # source://rbs//lib/rbs/definition.rb#293
2668
+ # source://rbs//lib/rbs/definition.rb#298
2150
2669
  def methods; end
2151
2670
 
2152
2671
  # @return [Boolean]
2153
2672
  #
2154
- # source://rbs//lib/rbs/definition.rb#324
2673
+ # source://rbs//lib/rbs/definition.rb#329
2155
2674
  def module?; end
2156
2675
 
2157
2676
  # Returns the value of attribute self_type.
2158
2677
  #
2159
- # source://rbs//lib/rbs/definition.rb#292
2678
+ # source://rbs//lib/rbs/definition.rb#297
2160
2679
  def self_type; end
2161
2680
 
2162
- # source://rbs//lib/rbs/definition.rb#362
2681
+ # source://rbs//lib/rbs/definition.rb#367
2163
2682
  def sub(s); end
2164
2683
 
2165
2684
  # Returns the value of attribute type_name.
2166
2685
  #
2167
- # source://rbs//lib/rbs/definition.rb#289
2686
+ # source://rbs//lib/rbs/definition.rb#294
2168
2687
  def type_name; end
2169
2688
 
2170
- # source://rbs//lib/rbs/definition.rb#349
2689
+ # source://rbs//lib/rbs/definition.rb#354
2171
2690
  def type_params; end
2172
2691
 
2173
- # source://rbs//lib/rbs/definition.rb#353
2692
+ # source://rbs//lib/rbs/definition.rb#358
2174
2693
  def type_params_decl; end
2175
2694
  end
2176
2695
 
2177
- # source://rbs//lib/rbs/definition.rb#204
2696
+ # source://rbs//lib/rbs/definition.rb#209
2178
2697
  module RBS::Definition::Ancestor; end
2179
2698
 
2180
- # source://rbs//lib/rbs/definition.rb#205
2699
+ # source://rbs//lib/rbs/definition.rb#210
2181
2700
  class RBS::Definition::Ancestor::Instance
2182
2701
  # @return [Instance] a new instance of Instance
2183
2702
  #
2184
- # source://rbs//lib/rbs/definition.rb#208
2703
+ # source://rbs//lib/rbs/definition.rb#213
2185
2704
  def initialize(name:, args:, source:); end
2186
2705
 
2187
- # source://rbs//lib/rbs/definition.rb#214
2706
+ # source://rbs//lib/rbs/definition.rb#219
2188
2707
  def ==(other); end
2189
2708
 
2190
2709
  # Returns the value of attribute args.
2191
2710
  #
2192
- # source://rbs//lib/rbs/definition.rb#206
2711
+ # source://rbs//lib/rbs/definition.rb#211
2193
2712
  def args; end
2194
2713
 
2195
- # source://rbs//lib/rbs/definition.rb#214
2714
+ # source://rbs//lib/rbs/definition.rb#223
2196
2715
  def eql?(other); end
2197
2716
 
2198
- # source://rbs//lib/rbs/definition.rb#220
2717
+ # source://rbs//lib/rbs/definition.rb#225
2199
2718
  def hash; end
2200
2719
 
2201
2720
  # Returns the value of attribute name.
2202
2721
  #
2203
- # source://rbs//lib/rbs/definition.rb#206
2722
+ # source://rbs//lib/rbs/definition.rb#211
2204
2723
  def name; end
2205
2724
 
2206
2725
  # Returns the value of attribute source.
2207
2726
  #
2208
- # source://rbs//lib/rbs/definition.rb#206
2727
+ # source://rbs//lib/rbs/definition.rb#211
2209
2728
  def source; end
2210
2729
  end
2211
2730
 
2212
- # source://rbs//lib/rbs/definition.rb#225
2731
+ # source://rbs//lib/rbs/definition.rb#230
2213
2732
  class RBS::Definition::Ancestor::Singleton
2214
2733
  # @return [Singleton] a new instance of Singleton
2215
2734
  #
2216
- # source://rbs//lib/rbs/definition.rb#228
2735
+ # source://rbs//lib/rbs/definition.rb#233
2217
2736
  def initialize(name:); end
2218
2737
 
2219
- # source://rbs//lib/rbs/definition.rb#232
2738
+ # source://rbs//lib/rbs/definition.rb#237
2220
2739
  def ==(other); end
2221
2740
 
2222
- # source://rbs//lib/rbs/definition.rb#232
2741
+ # source://rbs//lib/rbs/definition.rb#241
2223
2742
  def eql?(other); end
2224
2743
 
2225
- # source://rbs//lib/rbs/definition.rb#238
2744
+ # source://rbs//lib/rbs/definition.rb#243
2226
2745
  def hash; end
2227
2746
 
2228
2747
  # Returns the value of attribute name.
2229
2748
  #
2230
- # source://rbs//lib/rbs/definition.rb#226
2749
+ # source://rbs//lib/rbs/definition.rb#231
2231
2750
  def name; end
2232
2751
  end
2233
2752
 
2234
- # source://rbs//lib/rbs/definition.rb#244
2753
+ # source://rbs//lib/rbs/definition.rb#249
2235
2754
  class RBS::Definition::InstanceAncestors
2236
2755
  # @return [InstanceAncestors] a new instance of InstanceAncestors
2237
2756
  #
2238
- # source://rbs//lib/rbs/definition.rb#249
2757
+ # source://rbs//lib/rbs/definition.rb#254
2239
2758
  def initialize(type_name:, params:, ancestors:); end
2240
2759
 
2241
2760
  # Returns the value of attribute ancestors.
2242
2761
  #
2243
- # source://rbs//lib/rbs/definition.rb#247
2762
+ # source://rbs//lib/rbs/definition.rb#252
2244
2763
  def ancestors; end
2245
2764
 
2246
- # source://rbs//lib/rbs/definition.rb#255
2765
+ # source://rbs//lib/rbs/definition.rb#260
2247
2766
  def apply(args, env:, location:); end
2248
2767
 
2249
2768
  # Returns the value of attribute params.
2250
2769
  #
2251
- # source://rbs//lib/rbs/definition.rb#246
2770
+ # source://rbs//lib/rbs/definition.rb#251
2252
2771
  def params; end
2253
2772
 
2254
2773
  # Returns the value of attribute type_name.
2255
2774
  #
2256
- # source://rbs//lib/rbs/definition.rb#245
2775
+ # source://rbs//lib/rbs/definition.rb#250
2257
2776
  def type_name; end
2258
2777
  end
2259
2778
 
@@ -2261,91 +2780,91 @@ end
2261
2780
  class RBS::Definition::Method
2262
2781
  # @return [Method] a new instance of Method
2263
2782
  #
2264
- # source://rbs//lib/rbs/definition.rb#102
2783
+ # source://rbs//lib/rbs/definition.rb#107
2265
2784
  def initialize(super_method:, defs:, accessibility:, alias_of:, annotations: T.unsafe(nil), alias_member: T.unsafe(nil)); end
2266
2785
 
2267
- # source://rbs//lib/rbs/definition.rb#112
2786
+ # source://rbs//lib/rbs/definition.rb#117
2268
2787
  def ==(other); end
2269
2788
 
2270
2789
  # Returns the value of attribute accessibility.
2271
2790
  #
2272
- # source://rbs//lib/rbs/definition.rb#96
2791
+ # source://rbs//lib/rbs/definition.rb#101
2273
2792
  def accessibility; end
2274
2793
 
2275
2794
  # Returns the value of attribute alias_member.
2276
2795
  #
2277
- # source://rbs//lib/rbs/definition.rb#100
2796
+ # source://rbs//lib/rbs/definition.rb#105
2278
2797
  def alias_member; end
2279
2798
 
2280
2799
  # Returns the value of attribute alias_of.
2281
2800
  #
2282
- # source://rbs//lib/rbs/definition.rb#99
2801
+ # source://rbs//lib/rbs/definition.rb#104
2283
2802
  def alias_of; end
2284
2803
 
2285
2804
  # Returns the value of attribute annotations.
2286
2805
  #
2287
- # source://rbs//lib/rbs/definition.rb#98
2806
+ # source://rbs//lib/rbs/definition.rb#103
2288
2807
  def annotations; end
2289
2808
 
2290
- # source://rbs//lib/rbs/definition.rb#146
2809
+ # source://rbs//lib/rbs/definition.rb#151
2291
2810
  def comments; end
2292
2811
 
2293
- # source://rbs//lib/rbs/definition.rb#128
2812
+ # source://rbs//lib/rbs/definition.rb#133
2294
2813
  def defined_in; end
2295
2814
 
2296
2815
  # Returns the value of attribute defs.
2297
2816
  #
2298
- # source://rbs//lib/rbs/definition.rb#95
2817
+ # source://rbs//lib/rbs/definition.rb#100
2299
2818
  def defs; end
2300
2819
 
2301
- # source://rbs//lib/rbs/definition.rb#112
2820
+ # source://rbs//lib/rbs/definition.rb#127
2302
2821
  def eql?(other); end
2303
2822
 
2304
2823
  # Returns the value of attribute extra_annotations.
2305
2824
  #
2306
- # source://rbs//lib/rbs/definition.rb#97
2825
+ # source://rbs//lib/rbs/definition.rb#102
2307
2826
  def extra_annotations; end
2308
2827
 
2309
- # source://rbs//lib/rbs/definition.rb#124
2828
+ # source://rbs//lib/rbs/definition.rb#129
2310
2829
  def hash; end
2311
2830
 
2312
- # source://rbs//lib/rbs/definition.rb#135
2831
+ # source://rbs//lib/rbs/definition.rb#140
2313
2832
  def implemented_in; end
2314
2833
 
2315
- # source://rbs//lib/rbs/definition.rb#185
2834
+ # source://rbs//lib/rbs/definition.rb#190
2316
2835
  def map_method_type(&block); end
2317
2836
 
2318
- # source://rbs//lib/rbs/definition.rb#171
2837
+ # source://rbs//lib/rbs/definition.rb#176
2319
2838
  def map_type(&block); end
2320
2839
 
2321
- # source://rbs//lib/rbs/definition.rb#178
2840
+ # source://rbs//lib/rbs/definition.rb#183
2322
2841
  def map_type_bound(&block); end
2323
2842
 
2324
- # source://rbs//lib/rbs/definition.rb#150
2843
+ # source://rbs//lib/rbs/definition.rb#155
2325
2844
  def members; end
2326
2845
 
2327
- # source://rbs//lib/rbs/definition.rb#142
2846
+ # source://rbs//lib/rbs/definition.rb#147
2328
2847
  def method_types; end
2329
2848
 
2330
2849
  # @return [Boolean]
2331
2850
  #
2332
- # source://rbs//lib/rbs/definition.rb#158
2851
+ # source://rbs//lib/rbs/definition.rb#163
2333
2852
  def private?; end
2334
2853
 
2335
2854
  # @return [Boolean]
2336
2855
  #
2337
- # source://rbs//lib/rbs/definition.rb#154
2856
+ # source://rbs//lib/rbs/definition.rb#159
2338
2857
  def public?; end
2339
2858
 
2340
- # source://rbs//lib/rbs/definition.rb#162
2859
+ # source://rbs//lib/rbs/definition.rb#167
2341
2860
  def sub(s); end
2342
2861
 
2343
2862
  # Returns the value of attribute super_method.
2344
2863
  #
2345
- # source://rbs//lib/rbs/definition.rb#94
2864
+ # source://rbs//lib/rbs/definition.rb#99
2346
2865
  def super_method; end
2347
2866
 
2348
- # source://rbs//lib/rbs/definition.rb#191
2867
+ # source://rbs//lib/rbs/definition.rb#196
2349
2868
  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
2869
  end
2351
2870
 
@@ -2372,10 +2891,10 @@ class RBS::Definition::Method::TypeDef
2372
2891
  # source://rbs//lib/rbs/definition.rb#34
2373
2892
  def defined_in; end
2374
2893
 
2375
- # source://rbs//lib/rbs/definition.rb#84
2894
+ # source://rbs//lib/rbs/definition.rb#89
2376
2895
  def each_annotation(&block); end
2377
2896
 
2378
- # source://rbs//lib/rbs/definition.rb#50
2897
+ # source://rbs//lib/rbs/definition.rb#58
2379
2898
  def eql?(other); end
2380
2899
 
2381
2900
  # source://rbs//lib/rbs/definition.rb#60
@@ -2398,7 +2917,7 @@ class RBS::Definition::Method::TypeDef
2398
2917
 
2399
2918
  # @return [Boolean]
2400
2919
  #
2401
- # source://rbs//lib/rbs/definition.rb#75
2920
+ # source://rbs//lib/rbs/definition.rb#80
2402
2921
  def overload?; end
2403
2922
 
2404
2923
  # Returns the value of attribute overload_annotations.
@@ -2411,25 +2930,25 @@ class RBS::Definition::Method::TypeDef
2411
2930
  # source://rbs//lib/rbs/definition.rb#32
2412
2931
  def type; end
2413
2932
 
2414
- # source://rbs//lib/rbs/definition.rb#68
2933
+ # source://rbs//lib/rbs/definition.rb#73
2415
2934
  def update(type: T.unsafe(nil), member: T.unsafe(nil), defined_in: T.unsafe(nil), implemented_in: T.unsafe(nil)); end
2416
2935
  end
2417
2936
 
2418
- # source://rbs//lib/rbs/definition.rb#279
2937
+ # source://rbs//lib/rbs/definition.rb#284
2419
2938
  class RBS::Definition::SingletonAncestors
2420
2939
  # @return [SingletonAncestors] a new instance of SingletonAncestors
2421
2940
  #
2422
- # source://rbs//lib/rbs/definition.rb#283
2941
+ # source://rbs//lib/rbs/definition.rb#288
2423
2942
  def initialize(type_name:, ancestors:); end
2424
2943
 
2425
2944
  # Returns the value of attribute ancestors.
2426
2945
  #
2427
- # source://rbs//lib/rbs/definition.rb#281
2946
+ # source://rbs//lib/rbs/definition.rb#286
2428
2947
  def ancestors; end
2429
2948
 
2430
2949
  # Returns the value of attribute type_name.
2431
2950
  #
2432
- # source://rbs//lib/rbs/definition.rb#280
2951
+ # source://rbs//lib/rbs/definition.rb#285
2433
2952
  def type_name; end
2434
2953
  end
2435
2954
 
@@ -2496,7 +3015,7 @@ class RBS::DefinitionBuilder
2496
3015
  # source://rbs//lib/rbs/definition_builder.rb#33
2497
3016
  def define_interface(definition, type_name, subst); end
2498
3017
 
2499
- # source://rbs//lib/rbs/definition_builder.rb#642
3018
+ # source://rbs//lib/rbs/definition_builder.rb#646
2500
3019
  def define_method(methods, definition, method, subst, self_type_methods, defined_in:, implemented_in: T.unsafe(nil)); end
2501
3020
 
2502
3021
  # source://rbs//lib/rbs/definition_builder.rb#25
@@ -2507,19 +3026,19 @@ class RBS::DefinitionBuilder
2507
3026
  # source://rbs//lib/rbs/definition_builder.rb#5
2508
3027
  def env; end
2509
3028
 
2510
- # source://rbs//lib/rbs/definition_builder.rb#826
3029
+ # source://rbs//lib/rbs/definition_builder.rb#861
2511
3030
  def expand_alias(type_name); end
2512
3031
 
2513
- # source://rbs//lib/rbs/definition_builder.rb#830
3032
+ # source://rbs//lib/rbs/definition_builder.rb#865
2514
3033
  def expand_alias1(type_name); end
2515
3034
 
2516
- # source://rbs//lib/rbs/definition_builder.rb#837
3035
+ # source://rbs//lib/rbs/definition_builder.rb#872
2517
3036
  def expand_alias2(type_name, args); end
2518
3037
 
2519
- # source://rbs//lib/rbs/definition_builder.rb#581
3038
+ # source://rbs//lib/rbs/definition_builder.rb#585
2520
3039
  def import_methods(definition, module_name, module_methods, interfaces_methods, subst, self_type_methods); end
2521
3040
 
2522
- # source://rbs//lib/rbs/definition_builder.rb#543
3041
+ # source://rbs//lib/rbs/definition_builder.rb#547
2523
3042
  def insert_variable(type_name, variables, name:, type:, source:); end
2524
3043
 
2525
3044
  # Returns the value of attribute instance_cache.
@@ -2556,10 +3075,10 @@ class RBS::DefinitionBuilder
2556
3075
  # source://rbs//lib/rbs/definition_builder.rb#66
2557
3076
  def tapp_subst(name, args); end
2558
3077
 
2559
- # source://rbs//lib/rbs/definition_builder.rb#822
3078
+ # source://rbs//lib/rbs/definition_builder.rb#857
2560
3079
  def try_cache(type_name, cache:); end
2561
3080
 
2562
- # source://rbs//lib/rbs/definition_builder.rb#861
3081
+ # source://rbs//lib/rbs/definition_builder.rb#896
2563
3082
  def update(env:, except:, ancestor_builder:); end
2564
3083
 
2565
3084
  # source://rbs//lib/rbs/definition_builder.rb#437
@@ -2567,16 +3086,16 @@ class RBS::DefinitionBuilder
2567
3086
 
2568
3087
  # @raise [NoTypeFoundError]
2569
3088
  #
2570
- # source://rbs//lib/rbs/definition_builder.rb#890
3089
+ # source://rbs//lib/rbs/definition_builder.rb#925
2571
3090
  def validate_type_name(name, location); end
2572
3091
 
2573
- # source://rbs//lib/rbs/definition_builder.rb#461
3092
+ # source://rbs//lib/rbs/definition_builder.rb#465
2574
3093
  def validate_type_params(definition, ancestors:, methods:); end
2575
3094
 
2576
- # source://rbs//lib/rbs/definition_builder.rb#879
3095
+ # source://rbs//lib/rbs/definition_builder.rb#914
2577
3096
  def validate_type_presence(type); end
2578
3097
 
2579
- # source://rbs//lib/rbs/definition_builder.rb#553
3098
+ # source://rbs//lib/rbs/definition_builder.rb#557
2580
3099
  def validate_variable(var); end
2581
3100
  end
2582
3101
 
@@ -2592,10 +3111,10 @@ class RBS::DefinitionBuilder::AncestorBuilder
2592
3111
  # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#151
2593
3112
  def env; end
2594
3113
 
2595
- # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#608
3114
+ # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#611
2596
3115
  def fill_ancestor_source(ancestor, name:, source:, &block); end
2597
3116
 
2598
- # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#436
3117
+ # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#439
2599
3118
  def instance_ancestors(type_name, building_ancestors: T.unsafe(nil)); end
2600
3119
 
2601
3120
  # Returns the value of attribute instance_ancestors_cache.
@@ -2603,7 +3122,7 @@ class RBS::DefinitionBuilder::AncestorBuilder
2603
3122
  # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#154
2604
3123
  def instance_ancestors_cache; end
2605
3124
 
2606
- # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#572
3125
+ # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#575
2607
3126
  def interface_ancestors(type_name, building_ancestors: T.unsafe(nil)); end
2608
3127
 
2609
3128
  # Returns the value of attribute interface_ancestors_cache.
@@ -2611,7 +3130,7 @@ class RBS::DefinitionBuilder::AncestorBuilder
2611
3130
  # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#160
2612
3131
  def interface_ancestors_cache; end
2613
3132
 
2614
- # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#416
3133
+ # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#421
2615
3134
  def mixin_ancestors(entry, type_name, included_modules:, included_interfaces:, extended_modules:, prepended_modules:, extended_interfaces:); end
2616
3135
 
2617
3136
  # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#350
@@ -2641,7 +3160,7 @@ class RBS::DefinitionBuilder::AncestorBuilder
2641
3160
  # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#156
2642
3161
  def one_singleton_ancestors_cache; end
2643
3162
 
2644
- # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#517
3163
+ # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#520
2645
3164
  def singleton_ancestors(type_name, building_ancestors: T.unsafe(nil)); end
2646
3165
 
2647
3166
  # Returns the value of attribute singleton_ancestors_cache.
@@ -2750,26 +3269,26 @@ class RBS::DefinitionBuilder::MethodBuilder
2750
3269
  # source://rbs//lib/rbs/definition_builder/method_builder.rb#91
2751
3270
  def initialize(env:); end
2752
3271
 
2753
- # source://rbs//lib/rbs/definition_builder/method_builder.rb#194
3272
+ # source://rbs//lib/rbs/definition_builder/method_builder.rb#209
2754
3273
  def build_alias(methods, type, member:); end
2755
3274
 
2756
- # source://rbs//lib/rbs/definition_builder/method_builder.rb#199
3275
+ # source://rbs//lib/rbs/definition_builder/method_builder.rb#214
2757
3276
  def build_attribute(methods, type, member:, accessibility:); end
2758
3277
 
2759
3278
  # source://rbs//lib/rbs/definition_builder/method_builder.rb#99
2760
3279
  def build_instance(type_name); end
2761
3280
 
2762
- # source://rbs//lib/rbs/definition_builder/method_builder.rb#174
3281
+ # source://rbs//lib/rbs/definition_builder/method_builder.rb#189
2763
3282
  def build_interface(type_name); end
2764
3283
 
2765
- # source://rbs//lib/rbs/definition_builder/method_builder.rb#215
3284
+ # source://rbs//lib/rbs/definition_builder/method_builder.rb#230
2766
3285
  def build_method(methods, type, member:, accessibility:); end
2767
3286
 
2768
- # source://rbs//lib/rbs/definition_builder/method_builder.rb#145
3287
+ # source://rbs//lib/rbs/definition_builder/method_builder.rb#160
2769
3288
  def build_singleton(type_name); end
2770
3289
 
2771
- # source://rbs//lib/rbs/definition_builder/method_builder.rb#226
2772
- def each_member_with_accessibility(members, accessibility: T.unsafe(nil)); end
3290
+ # source://rbs//lib/rbs/definition_builder/method_builder.rb#241
3291
+ def each_rbs_member_with_accessibility(members, accessibility: T.unsafe(nil)); end
2773
3292
 
2774
3293
  # Returns the value of attribute env.
2775
3294
  #
@@ -2791,7 +3310,7 @@ class RBS::DefinitionBuilder::MethodBuilder
2791
3310
  # source://rbs//lib/rbs/definition_builder/method_builder.rb#88
2792
3311
  def singleton_methods; end
2793
3312
 
2794
- # source://rbs//lib/rbs/definition_builder/method_builder.rb#239
3313
+ # source://rbs//lib/rbs/definition_builder/method_builder.rb#254
2795
3314
  def update(env:, except:); end
2796
3315
  end
2797
3316
 
@@ -2897,21 +3416,21 @@ class RBS::Diff
2897
3416
  def each_diff_methods(kind, before_methods, after_methods); end
2898
3417
  end
2899
3418
 
2900
- # source://rbs//lib/rbs/errors.rb#418
3419
+ # source://rbs//lib/rbs/errors.rb#419
2901
3420
  class RBS::DuplicatedDeclarationError < ::RBS::LoadingError
2902
3421
  # @return [DuplicatedDeclarationError] a new instance of DuplicatedDeclarationError
2903
3422
  #
2904
- # source://rbs//lib/rbs/errors.rb#422
3423
+ # source://rbs//lib/rbs/errors.rb#423
2905
3424
  def initialize(name, *decls); end
2906
3425
 
2907
3426
  # Returns the value of attribute decls.
2908
3427
  #
2909
- # source://rbs//lib/rbs/errors.rb#420
3428
+ # source://rbs//lib/rbs/errors.rb#421
2910
3429
  def decls; end
2911
3430
 
2912
3431
  # Returns the value of attribute name.
2913
3432
  #
2914
- # source://rbs//lib/rbs/errors.rb#419
3433
+ # source://rbs//lib/rbs/errors.rb#420
2915
3434
  def name; end
2916
3435
  end
2917
3436
 
@@ -2990,330 +3509,337 @@ end
2990
3509
  class RBS::Environment
2991
3510
  # @return [Environment] a new instance of Environment
2992
3511
  #
2993
- # source://rbs//lib/rbs/environment.rb#145
3512
+ # source://rbs//lib/rbs/environment.rb#48
2994
3513
  def initialize; end
2995
3514
 
2996
- # source://rbs//lib/rbs/environment.rb#470
2997
- def <<(decl); end
2998
-
2999
- # source://rbs//lib/rbs/environment.rb#807
3515
+ # source://rbs//lib/rbs/environment.rb#841
3000
3516
  def absolute_type(resolver, map, type, context:); end
3001
3517
 
3002
- # source://rbs//lib/rbs/environment.rb#802
3518
+ # source://rbs//lib/rbs/environment.rb#836
3003
3519
  def absolute_type_name(resolver, map, type_name, context:); end
3004
3520
 
3005
- # source://rbs//lib/rbs/environment.rb#476
3006
- def add_signature(buffer:, directives:, decls:); end
3521
+ # source://rbs//lib/rbs/environment.rb#417
3522
+ def add_source(source); end
3007
3523
 
3008
- # source://rbs//lib/rbs/environment.rb#539
3524
+ # source://rbs//lib/rbs/environment.rb#522
3009
3525
  def append_context(context, decl); end
3010
3526
 
3011
- # source://rbs//lib/rbs/environment.rb#818
3527
+ # source://rbs//lib/rbs/environment.rb#852
3012
3528
  def buffers; end
3013
3529
 
3014
3530
  # @return [Boolean]
3015
3531
  #
3016
- # source://rbs//lib/rbs/environment.rb#218
3532
+ # source://rbs//lib/rbs/environment.rb#117
3017
3533
  def class_alias?(name); end
3018
3534
 
3019
3535
  # Returns the value of attribute class_alias_decls.
3020
3536
  #
3021
- # source://rbs//lib/rbs/environment.rb#12
3537
+ # source://rbs//lib/rbs/environment.rb#10
3022
3538
  def class_alias_decls; end
3023
3539
 
3024
3540
  # @return [Boolean]
3025
3541
  #
3026
- # source://rbs//lib/rbs/environment.rb#202
3542
+ # source://rbs//lib/rbs/environment.rb#101
3027
3543
  def class_decl?(name); end
3028
3544
 
3029
3545
  # Returns the value of attribute class_decls.
3030
3546
  #
3031
- # source://rbs//lib/rbs/environment.rb#7
3547
+ # source://rbs//lib/rbs/environment.rb#5
3032
3548
  def class_decls; end
3033
3549
 
3034
- # source://rbs//lib/rbs/environment.rb#226
3550
+ # source://rbs//lib/rbs/environment.rb#125
3035
3551
  def class_entry(type_name); end
3036
3552
 
3037
3553
  # @return [Boolean]
3038
3554
  #
3039
- # source://rbs//lib/rbs/environment.rb#198
3555
+ # source://rbs//lib/rbs/environment.rb#97
3040
3556
  def constant_decl?(name); end
3041
3557
 
3042
3558
  # Returns the value of attribute constant_decls.
3043
3559
  #
3044
- # source://rbs//lib/rbs/environment.rb#10
3560
+ # source://rbs//lib/rbs/environment.rb#8
3045
3561
  def constant_decls; end
3046
3562
 
3047
- # source://rbs//lib/rbs/environment.rb#274
3563
+ # source://rbs//lib/rbs/environment.rb#173
3048
3564
  def constant_entry(type_name); end
3049
3565
 
3050
3566
  # @return [Boolean]
3051
3567
  #
3052
- # source://rbs//lib/rbs/environment.rb#194
3568
+ # source://rbs//lib/rbs/environment.rb#93
3053
3569
  def constant_name?(name); end
3054
3570
 
3055
- # Returns the value of attribute declarations.
3056
- #
3057
- # source://rbs//lib/rbs/environment.rb#5
3571
+ # source://rbs//lib/rbs/environment.rb#14
3058
3572
  def declarations; end
3059
3573
 
3574
+ # source://rbs//lib/rbs/environment.rb#432
3575
+ def each_rbs_source(&block); end
3576
+
3577
+ # source://rbs//lib/rbs/environment.rb#444
3578
+ def each_ruby_source(&block); end
3579
+
3060
3580
  # Returns the value of attribute global_decls.
3061
3581
  #
3062
- # source://rbs//lib/rbs/environment.rb#11
3582
+ # source://rbs//lib/rbs/environment.rb#9
3063
3583
  def global_decls; end
3064
3584
 
3065
- # source://rbs//lib/rbs/environment.rb#373
3066
- def insert_decl(decl, outer:, namespace:); end
3585
+ # source://rbs//lib/rbs/environment.rb#272
3586
+ def insert_rbs_decl(decl, context:, namespace:); end
3067
3587
 
3068
- # source://rbs//lib/rbs/environment.rb#813
3588
+ # source://rbs//lib/rbs/environment.rb#369
3589
+ def insert_ruby_decl(decl, context:, namespace:); end
3590
+
3591
+ # source://rbs//lib/rbs/environment.rb#847
3069
3592
  def inspect; end
3070
3593
 
3071
3594
  # Returns the value of attribute interface_decls.
3072
3595
  #
3073
- # source://rbs//lib/rbs/environment.rb#8
3596
+ # source://rbs//lib/rbs/environment.rb#6
3074
3597
  def interface_decls; end
3075
3598
 
3076
3599
  # @return [Boolean]
3077
3600
  #
3078
- # source://rbs//lib/rbs/environment.rb#176
3601
+ # source://rbs//lib/rbs/environment.rb#75
3079
3602
  def interface_name?(name); end
3080
3603
 
3081
3604
  # @return [Boolean]
3082
3605
  #
3083
- # source://rbs//lib/rbs/environment.rb#210
3606
+ # source://rbs//lib/rbs/environment.rb#109
3084
3607
  def module_alias?(name); end
3085
3608
 
3086
- # source://rbs//lib/rbs/environment.rb#266
3609
+ # source://rbs//lib/rbs/environment.rb#165
3087
3610
  def module_class_entry(type_name); end
3088
3611
 
3089
3612
  # @return [Boolean]
3090
3613
  #
3091
- # source://rbs//lib/rbs/environment.rb#206
3614
+ # source://rbs//lib/rbs/environment.rb#105
3092
3615
  def module_decl?(name); end
3093
3616
 
3094
- # source://rbs//lib/rbs/environment.rb#235
3617
+ # source://rbs//lib/rbs/environment.rb#134
3095
3618
  def module_entry(type_name); end
3096
3619
 
3097
3620
  # @return [Boolean]
3098
3621
  #
3099
- # source://rbs//lib/rbs/environment.rb#184
3622
+ # source://rbs//lib/rbs/environment.rb#83
3100
3623
  def module_name?(name); end
3101
3624
 
3102
- # source://rbs//lib/rbs/environment.rb#332
3625
+ # source://rbs//lib/rbs/environment.rb#231
3103
3626
  def normalize_module_name(name); end
3104
3627
 
3105
3628
  # @return [Boolean]
3106
3629
  #
3107
- # source://rbs//lib/rbs/environment.rb#336
3630
+ # source://rbs//lib/rbs/environment.rb#235
3108
3631
  def normalize_module_name?(name); end
3109
3632
 
3110
- # source://rbs//lib/rbs/environment.rb#328
3633
+ # source://rbs//lib/rbs/environment.rb#227
3111
3634
  def normalize_type_name(name); end
3112
3635
 
3113
- # source://rbs//lib/rbs/environment.rb#297
3636
+ # source://rbs//lib/rbs/environment.rb#196
3114
3637
  def normalize_type_name!(name); end
3115
3638
 
3116
3639
  # @return [Boolean]
3117
3640
  #
3118
- # source://rbs//lib/rbs/environment.rb#278
3641
+ # source://rbs//lib/rbs/environment.rb#177
3119
3642
  def normalize_type_name?(name); end
3120
3643
 
3121
- # source://rbs//lib/rbs/environment.rb#244
3644
+ # source://rbs//lib/rbs/environment.rb#143
3122
3645
  def normalized_class_entry(type_name); end
3123
3646
 
3124
- # source://rbs//lib/rbs/environment.rb#270
3647
+ # source://rbs//lib/rbs/environment.rb#169
3125
3648
  def normalized_module_class_entry(type_name); end
3126
3649
 
3127
- # source://rbs//lib/rbs/environment.rb#255
3650
+ # source://rbs//lib/rbs/environment.rb#154
3128
3651
  def normalized_module_entry(type_name); end
3129
3652
 
3130
- # source://rbs//lib/rbs/environment.rb#323
3653
+ # source://rbs//lib/rbs/environment.rb#222
3131
3654
  def normalized_type_name!(name); end
3132
3655
 
3133
3656
  # @return [Boolean]
3134
3657
  #
3135
- # source://rbs//lib/rbs/environment.rb#310
3658
+ # source://rbs//lib/rbs/environment.rb#209
3136
3659
  def normalized_type_name?(type_name); end
3137
3660
 
3138
- # source://rbs//lib/rbs/environment.rb#548
3139
- def resolve_declaration(resolver, map, decl, outer:, prefix:); end
3661
+ # source://rbs//lib/rbs/environment.rb#531
3662
+ def resolve_declaration(resolver, map, decl, context:, prefix:); end
3140
3663
 
3141
- # source://rbs//lib/rbs/environment.rb#688
3664
+ # source://rbs//lib/rbs/environment.rb#722
3142
3665
  def resolve_member(resolver, map, member, context:); end
3143
3666
 
3144
- # source://rbs//lib/rbs/environment.rb#788
3667
+ # source://rbs//lib/rbs/environment.rb#822
3145
3668
  def resolve_method_type(resolver, map, type, context:); end
3146
3669
 
3147
- # source://rbs//lib/rbs/environment.rb#489
3670
+ # source://rbs//lib/rbs/environment.rb#667
3671
+ def resolve_ruby_decl(resolver, decl, context:, prefix:); end
3672
+
3673
+ # source://rbs//lib/rbs/environment.rb#708
3674
+ def resolve_ruby_member(resolver, member, context:); end
3675
+
3676
+ # source://rbs//lib/rbs/environment.rb#462
3148
3677
  def resolve_signature(resolver, table, dirs, decls, only: T.unsafe(nil)); end
3149
3678
 
3150
- # source://rbs//lib/rbs/environment.rb#511
3679
+ # source://rbs//lib/rbs/environment.rb#484
3151
3680
  def resolve_type_names(only: T.unsafe(nil)); end
3152
3681
 
3153
- # source://rbs//lib/rbs/environment.rb#796
3682
+ # source://rbs//lib/rbs/environment.rb#830
3154
3683
  def resolve_type_params(resolver, map, params, context:); end
3155
3684
 
3156
- # source://rbs//lib/rbs/environment.rb#533
3685
+ # source://rbs//lib/rbs/environment.rb#516
3157
3686
  def resolver_context(*nesting); end
3158
3687
 
3159
- # Returns the value of attribute signatures.
3688
+ # Returns the value of attribute sources.
3160
3689
  #
3161
- # source://rbs//lib/rbs/environment.rb#14
3162
- def signatures; end
3690
+ # source://rbs//lib/rbs/environment.rb#12
3691
+ def sources; end
3163
3692
 
3164
3693
  # Returns the value of attribute type_alias_decls.
3165
3694
  #
3166
- # source://rbs//lib/rbs/environment.rb#9
3695
+ # source://rbs//lib/rbs/environment.rb#7
3167
3696
  def type_alias_decls; end
3168
3697
 
3169
3698
  # @return [Boolean]
3170
3699
  #
3171
- # source://rbs//lib/rbs/environment.rb#180
3700
+ # source://rbs//lib/rbs/environment.rb#79
3172
3701
  def type_alias_name?(name); end
3173
3702
 
3174
3703
  # @return [Boolean]
3175
3704
  #
3176
- # source://rbs//lib/rbs/environment.rb#188
3705
+ # source://rbs//lib/rbs/environment.rb#87
3177
3706
  def type_name?(name); end
3178
3707
 
3179
- # source://rbs//lib/rbs/environment.rb#822
3708
+ # source://rbs//lib/rbs/environment.rb#856
3180
3709
  def unload(buffers); end
3181
3710
 
3182
- # source://rbs//lib/rbs/environment.rb#483
3711
+ # source://rbs//lib/rbs/environment.rb#456
3183
3712
  def validate_type_params; end
3184
3713
 
3185
3714
  private
3186
3715
 
3187
- # source://rbs//lib/rbs/environment.rb#158
3716
+ # source://rbs//lib/rbs/environment.rb#59
3188
3717
  def initialize_copy(other); end
3189
3718
 
3190
3719
  class << self
3191
- # source://rbs//lib/rbs/environment.rb#170
3720
+ # source://rbs//lib/rbs/environment.rb#69
3192
3721
  def from_loader(loader); end
3193
3722
  end
3194
3723
  end
3195
3724
 
3196
- # source://rbs//lib/rbs/environment.rb#130
3725
+ # source://rbs//lib/rbs/environment.rb#33
3197
3726
  class RBS::Environment::ClassAliasEntry < ::RBS::Environment::SingleEntry; end
3198
3727
 
3199
- # source://rbs//lib/rbs/environment.rb#100
3200
- class RBS::Environment::ClassEntry < ::RBS::Environment::MultiEntry
3201
- # source://rbs//lib/rbs/environment.rb#101
3202
- def primary; end
3203
- end
3728
+ # source://rbs//lib/rbs/environment/class_entry.rb#5
3729
+ class RBS::Environment::ClassEntry
3730
+ # @return [ClassEntry] a new instance of ClassEntry
3731
+ #
3732
+ # source://rbs//lib/rbs/environment/class_entry.rb#10
3733
+ def initialize(name); end
3204
3734
 
3205
- # source://rbs//lib/rbs/environment.rb#139
3206
- class RBS::Environment::ConstantEntry < ::RBS::Environment::SingleEntry; end
3735
+ # source://rbs//lib/rbs/environment/class_entry.rb#15
3736
+ def <<(context_decl); end
3737
+
3738
+ # Returns the value of attribute context_decls.
3739
+ #
3740
+ # source://rbs//lib/rbs/environment/class_entry.rb#8
3741
+ def context_decls; end
3207
3742
 
3208
- # source://rbs//lib/rbs/environment.rb#16
3209
- module RBS::Environment::ContextUtil
3210
- # source://rbs//lib/rbs/environment.rb#17
3211
- def calculate_context(decls); end
3743
+ # source://rbs//lib/rbs/environment/class_entry.rb#21
3744
+ def each_decl(&block); end
3745
+
3746
+ # @return [Boolean]
3747
+ #
3748
+ # source://rbs//lib/rbs/environment/class_entry.rb#31
3749
+ def empty?; end
3750
+
3751
+ # Returns the value of attribute name.
3752
+ #
3753
+ # source://rbs//lib/rbs/environment/class_entry.rb#6
3754
+ def name; end
3755
+
3756
+ # source://rbs//lib/rbs/environment/class_entry.rb#35
3757
+ def primary_decl; end
3758
+
3759
+ # source://rbs//lib/rbs/environment/class_entry.rb#47
3760
+ def type_params; end
3761
+
3762
+ # source://rbs//lib/rbs/environment/class_entry.rb#52
3763
+ def validate_type_params; end
3212
3764
  end
3213
3765
 
3214
- # source://rbs//lib/rbs/environment.rb#142
3766
+ # source://rbs//lib/rbs/environment.rb#42
3767
+ class RBS::Environment::ConstantEntry < ::RBS::Environment::SingleEntry; end
3768
+
3769
+ # source://rbs//lib/rbs/environment.rb#45
3215
3770
  class RBS::Environment::GlobalEntry < ::RBS::Environment::SingleEntry; end
3216
3771
 
3217
- # source://rbs//lib/rbs/environment.rb#133
3772
+ # source://rbs//lib/rbs/environment.rb#36
3218
3773
  class RBS::Environment::InterfaceEntry < ::RBS::Environment::SingleEntry; end
3219
3774
 
3220
- # source://rbs//lib/rbs/environment.rb#127
3775
+ # source://rbs//lib/rbs/environment.rb#30
3221
3776
  class RBS::Environment::ModuleAliasEntry < ::RBS::Environment::SingleEntry; end
3222
3777
 
3223
- # source://rbs//lib/rbs/environment.rb#85
3224
- class RBS::Environment::ModuleEntry < ::RBS::Environment::MultiEntry
3225
- # source://rbs//lib/rbs/environment.rb#92
3226
- def primary; end
3778
+ # source://rbs//lib/rbs/environment/module_entry.rb#5
3779
+ class RBS::Environment::ModuleEntry
3780
+ # @return [ModuleEntry] a new instance of ModuleEntry
3781
+ #
3782
+ # source://rbs//lib/rbs/environment/module_entry.rb#10
3783
+ def initialize(name); end
3227
3784
 
3228
- # source://rbs//lib/rbs/environment.rb#86
3229
- def self_types; end
3230
- end
3785
+ # source://rbs//lib/rbs/environment/module_entry.rb#15
3786
+ def <<(context_decl); end
3231
3787
 
3232
- # source://rbs//lib/rbs/environment.rb#29
3233
- class RBS::Environment::MultiEntry
3234
- # @return [MultiEntry] a new instance of MultiEntry
3788
+ # Returns the value of attribute context_decls.
3235
3789
  #
3236
- # source://rbs//lib/rbs/environment.rb#43
3237
- def initialize(name:); end
3790
+ # source://rbs//lib/rbs/environment/module_entry.rb#8
3791
+ def context_decls; end
3238
3792
 
3239
- # @return [Boolean]
3240
- #
3241
- # source://rbs//lib/rbs/environment.rb#70
3242
- def compatible_params?(ps1, ps2); end
3793
+ # source://rbs//lib/rbs/environment/module_entry.rb#20
3794
+ def each_decl(&block); end
3243
3795
 
3244
- # Returns the value of attribute decls.
3796
+ # @return [Boolean]
3245
3797
  #
3246
- # source://rbs//lib/rbs/environment.rb#41
3247
- def decls; end
3248
-
3249
- # source://rbs//lib/rbs/environment.rb#48
3250
- def insert(decl:, outer:); end
3798
+ # source://rbs//lib/rbs/environment/module_entry.rb#30
3799
+ def empty?; end
3251
3800
 
3252
3801
  # Returns the value of attribute name.
3253
3802
  #
3254
- # source://rbs//lib/rbs/environment.rb#40
3803
+ # source://rbs//lib/rbs/environment/module_entry.rb#6
3255
3804
  def name; end
3256
3805
 
3257
- # source://rbs//lib/rbs/environment.rb#80
3258
- def primary; end
3806
+ # source://rbs//lib/rbs/environment/module_entry.rb#34
3807
+ def primary_decl; end
3259
3808
 
3260
- # source://rbs//lib/rbs/environment.rb#76
3809
+ # source://rbs//lib/rbs/environment/module_entry.rb#43
3810
+ def self_types; end
3811
+
3812
+ # source://rbs//lib/rbs/environment/module_entry.rb#38
3261
3813
  def type_params; end
3262
3814
 
3263
- # source://rbs//lib/rbs/environment.rb#53
3815
+ # source://rbs//lib/rbs/environment/module_entry.rb#49
3264
3816
  def validate_type_params; end
3265
3817
  end
3266
3818
 
3267
- # source://rbs//lib/rbs/environment.rb#30
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
3819
+ # source://rbs//lib/rbs/environment.rb#18
3289
3820
  class RBS::Environment::SingleEntry
3290
- include ::RBS::Environment::ContextUtil
3291
-
3292
3821
  # @return [SingleEntry] a new instance of SingleEntry
3293
3822
  #
3294
- # source://rbs//lib/rbs/environment.rb#114
3295
- def initialize(name:, decl:, outer:); end
3823
+ # source://rbs//lib/rbs/environment.rb#23
3824
+ def initialize(name:, decl:, context:); end
3296
3825
 
3297
- # source://rbs//lib/rbs/environment.rb#122
3826
+ # Returns the value of attribute context.
3827
+ #
3828
+ # source://rbs//lib/rbs/environment.rb#20
3298
3829
  def context; end
3299
3830
 
3300
3831
  # Returns the value of attribute decl.
3301
3832
  #
3302
- # source://rbs//lib/rbs/environment.rb#112
3833
+ # source://rbs//lib/rbs/environment.rb#21
3303
3834
  def decl; end
3304
3835
 
3305
3836
  # Returns the value of attribute name.
3306
3837
  #
3307
- # source://rbs//lib/rbs/environment.rb#110
3838
+ # source://rbs//lib/rbs/environment.rb#19
3308
3839
  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
3840
  end
3315
3841
 
3316
- # source://rbs//lib/rbs/environment.rb#136
3842
+ # source://rbs//lib/rbs/environment.rb#39
3317
3843
  class RBS::Environment::TypeAliasEntry < ::RBS::Environment::SingleEntry; end
3318
3844
 
3319
3845
  # source://rbs//lib/rbs/environment/use_map.rb#5
@@ -3478,42 +4004,78 @@ end
3478
4004
 
3479
4005
  # source://rbs//lib/rbs/environment_walker.rb#5
3480
4006
  class RBS::EnvironmentWalker::InstanceNode < ::Struct
4007
+ # source://rbs//lib/rbs/environment_walker.rb#5
3481
4008
  def type_name; end
4009
+
4010
+ # source://rbs//lib/rbs/environment_walker.rb#5
3482
4011
  def type_name=(_); end
3483
4012
 
3484
4013
  class << self
4014
+ # source://rbs//lib/rbs/environment_walker.rb#5
3485
4015
  def [](*_arg0); end
4016
+
4017
+ # source://rbs//lib/rbs/environment_walker.rb#5
3486
4018
  def inspect; end
4019
+
4020
+ # source://rbs//lib/rbs/environment_walker.rb#5
3487
4021
  def keyword_init?; end
4022
+
4023
+ # source://rbs//lib/rbs/environment_walker.rb#5
3488
4024
  def members; end
4025
+
4026
+ # source://rbs//lib/rbs/environment_walker.rb#5
3489
4027
  def new(*_arg0); end
3490
4028
  end
3491
4029
  end
3492
4030
 
3493
4031
  # source://rbs//lib/rbs/environment_walker.rb#6
3494
4032
  class RBS::EnvironmentWalker::SingletonNode < ::Struct
4033
+ # source://rbs//lib/rbs/environment_walker.rb#6
3495
4034
  def type_name; end
4035
+
4036
+ # source://rbs//lib/rbs/environment_walker.rb#6
3496
4037
  def type_name=(_); end
3497
4038
 
3498
4039
  class << self
4040
+ # source://rbs//lib/rbs/environment_walker.rb#6
3499
4041
  def [](*_arg0); end
4042
+
4043
+ # source://rbs//lib/rbs/environment_walker.rb#6
3500
4044
  def inspect; end
4045
+
4046
+ # source://rbs//lib/rbs/environment_walker.rb#6
3501
4047
  def keyword_init?; end
4048
+
4049
+ # source://rbs//lib/rbs/environment_walker.rb#6
3502
4050
  def members; end
4051
+
4052
+ # source://rbs//lib/rbs/environment_walker.rb#6
3503
4053
  def new(*_arg0); end
3504
4054
  end
3505
4055
  end
3506
4056
 
3507
4057
  # source://rbs//lib/rbs/environment_walker.rb#7
3508
4058
  class RBS::EnvironmentWalker::TypeNameNode < ::Struct
4059
+ # source://rbs//lib/rbs/environment_walker.rb#7
3509
4060
  def type_name; end
4061
+
4062
+ # source://rbs//lib/rbs/environment_walker.rb#7
3510
4063
  def type_name=(_); end
3511
4064
 
3512
4065
  class << self
4066
+ # source://rbs//lib/rbs/environment_walker.rb#7
3513
4067
  def [](*_arg0); end
4068
+
4069
+ # source://rbs//lib/rbs/environment_walker.rb#7
3514
4070
  def inspect; end
4071
+
4072
+ # source://rbs//lib/rbs/environment_walker.rb#7
3515
4073
  def keyword_init?; end
4074
+
4075
+ # source://rbs//lib/rbs/environment_walker.rb#7
3516
4076
  def members; end
4077
+
4078
+ # source://rbs//lib/rbs/environment_walker.rb#7
3517
4079
  def new(*_arg0); end
3518
4080
  end
3519
4081
  end
@@ -3537,7 +4099,7 @@ class RBS::GenericParameterMismatchError < ::RBS::LoadingError
3537
4099
  # @return [GenericParameterMismatchError] a new instance of GenericParameterMismatchError
3538
4100
  #
3539
4101
  # source://rbs//lib/rbs/errors.rb#411
3540
- def initialize(name:, decl:); end
4102
+ def initialize(name:, decl:, location: T.unsafe(nil)); end
3541
4103
 
3542
4104
  # Returns the value of attribute decl.
3543
4105
  #
@@ -3550,21 +4112,21 @@ class RBS::GenericParameterMismatchError < ::RBS::LoadingError
3550
4112
  def name; end
3551
4113
  end
3552
4114
 
3553
- # source://rbs//lib/rbs/errors.rb#553
4115
+ # source://rbs//lib/rbs/errors.rb#554
3554
4116
  class RBS::InconsistentClassModuleAliasError < ::RBS::BaseError
3555
4117
  include ::RBS::DetailedMessageable
3556
4118
 
3557
4119
  # @return [InconsistentClassModuleAliasError] a new instance of InconsistentClassModuleAliasError
3558
4120
  #
3559
- # source://rbs//lib/rbs/errors.rb#558
4121
+ # source://rbs//lib/rbs/errors.rb#559
3560
4122
  def initialize(entry); end
3561
4123
 
3562
4124
  # Returns the value of attribute alias_entry.
3563
4125
  #
3564
- # source://rbs//lib/rbs/errors.rb#556
4126
+ # source://rbs//lib/rbs/errors.rb#557
3565
4127
  def alias_entry; end
3566
4128
 
3567
- # source://rbs//lib/rbs/errors.rb#572
4129
+ # source://rbs//lib/rbs/errors.rb#573
3568
4130
  def location; end
3569
4131
  end
3570
4132
 
@@ -3591,6 +4153,217 @@ class RBS::InheritModuleError < ::RBS::DefinitionError
3591
4153
  end
3592
4154
  end
3593
4155
 
4156
+ # source://rbs//lib/rbs/inline_parser.rb#4
4157
+ class RBS::InlineParser
4158
+ class << self
4159
+ # source://rbs//lib/rbs/inline_parser.rb#34
4160
+ def parse(buffer, prism); end
4161
+ end
4162
+ end
4163
+
4164
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#5
4165
+ class RBS::InlineParser::CommentAssociation
4166
+ # @return [CommentAssociation] a new instance of CommentAssociation
4167
+ #
4168
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#8
4169
+ def initialize(blocks); end
4170
+
4171
+ # Returns the value of attribute associated_blocks.
4172
+ #
4173
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#6
4174
+ def associated_blocks; end
4175
+
4176
+ # Returns the value of attribute blocks.
4177
+ #
4178
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#6
4179
+ def blocks; end
4180
+
4181
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#84
4182
+ def each_enclosed_block(node); end
4183
+
4184
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#104
4185
+ def each_unassociated_block; end
4186
+
4187
+ # Returns the value of attribute end_line_map.
4188
+ #
4189
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#6
4190
+ def end_line_map; end
4191
+
4192
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#47
4193
+ def leading_block(node); end
4194
+
4195
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#55
4196
+ def leading_block!(node); end
4197
+
4198
+ # Returns the value of attribute start_line_map.
4199
+ #
4200
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#6
4201
+ def start_line_map; end
4202
+
4203
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#63
4204
+ def trailing_block(node); end
4205
+
4206
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#76
4207
+ def trailing_block!(node); end
4208
+
4209
+ class << self
4210
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#24
4211
+ def build(buffer, result); end
4212
+ end
4213
+ end
4214
+
4215
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#29
4216
+ class RBS::InlineParser::CommentAssociation::Reference
4217
+ # @return [Reference] a new instance of Reference
4218
+ #
4219
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#32
4220
+ def initialize(block, association); end
4221
+
4222
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#37
4223
+ def associate!; end
4224
+
4225
+ # @return [Boolean]
4226
+ #
4227
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#42
4228
+ def associated?; end
4229
+
4230
+ # Returns the value of attribute block.
4231
+ #
4232
+ # source://rbs//lib/rbs/inline_parser/comment_association.rb#30
4233
+ def block; end
4234
+ end
4235
+
4236
+ # source://rbs//lib/rbs/inline_parser.rb#16
4237
+ module RBS::InlineParser::Diagnostic; end
4238
+
4239
+ # source://rbs//lib/rbs/inline_parser.rb#31
4240
+ class RBS::InlineParser::Diagnostic::AnnotationSyntaxError < ::RBS::InlineParser::Diagnostic::Base; end
4241
+
4242
+ # source://rbs//lib/rbs/inline_parser.rb#17
4243
+ class RBS::InlineParser::Diagnostic::Base
4244
+ # @return [Base] a new instance of Base
4245
+ #
4246
+ # source://rbs//lib/rbs/inline_parser.rb#20
4247
+ def initialize(location, message); end
4248
+
4249
+ # Returns the value of attribute location.
4250
+ #
4251
+ # source://rbs//lib/rbs/inline_parser.rb#18
4252
+ def location; end
4253
+
4254
+ # Returns the value of attribute message.
4255
+ #
4256
+ # source://rbs//lib/rbs/inline_parser.rb#18
4257
+ def message; end
4258
+ end
4259
+
4260
+ # source://rbs//lib/rbs/inline_parser.rb#27
4261
+ class RBS::InlineParser::Diagnostic::NonConstantClassName < ::RBS::InlineParser::Diagnostic::Base; end
4262
+
4263
+ # source://rbs//lib/rbs/inline_parser.rb#28
4264
+ class RBS::InlineParser::Diagnostic::NonConstantModuleName < ::RBS::InlineParser::Diagnostic::Base; end
4265
+
4266
+ # source://rbs//lib/rbs/inline_parser.rb#26
4267
+ class RBS::InlineParser::Diagnostic::NotImplementedYet < ::RBS::InlineParser::Diagnostic::Base; end
4268
+
4269
+ # source://rbs//lib/rbs/inline_parser.rb#29
4270
+ class RBS::InlineParser::Diagnostic::TopLevelMethodDefinition < ::RBS::InlineParser::Diagnostic::Base; end
4271
+
4272
+ # source://rbs//lib/rbs/inline_parser.rb#30
4273
+ class RBS::InlineParser::Diagnostic::UnusedInlineAnnotation < ::RBS::InlineParser::Diagnostic::Base; end
4274
+
4275
+ # source://rbs//lib/rbs/inline_parser.rb#42
4276
+ class RBS::InlineParser::Parser < ::Prism::Visitor
4277
+ include ::RBS::AST::Ruby::Helpers::ConstantHelper
4278
+ include ::RBS::AST::Ruby::Helpers::LocationHelper
4279
+
4280
+ # @return [Parser] a new instance of Parser
4281
+ #
4282
+ # source://rbs//lib/rbs/inline_parser.rb#48
4283
+ def initialize(result); end
4284
+
4285
+ # source://rbs//lib/rbs/inline_parser.rb#54
4286
+ def buffer; end
4287
+
4288
+ # Returns the value of attribute comments.
4289
+ #
4290
+ # source://rbs//lib/rbs/inline_parser.rb#43
4291
+ def comments; end
4292
+
4293
+ # source://rbs//lib/rbs/inline_parser.rb#58
4294
+ def current_module; end
4295
+
4296
+ # source://rbs//lib/rbs/inline_parser.rb#62
4297
+ def current_module!; end
4298
+
4299
+ # source://rbs//lib/rbs/inline_parser.rb#66
4300
+ def diagnostics; end
4301
+
4302
+ # source://rbs//lib/rbs/inline_parser.rb#171
4303
+ def insert_declaration(decl); end
4304
+
4305
+ # Returns the value of attribute module_nesting.
4306
+ #
4307
+ # source://rbs//lib/rbs/inline_parser.rb#43
4308
+ def module_nesting; end
4309
+
4310
+ # source://rbs//lib/rbs/inline_parser.rb#70
4311
+ def push_module_nesting(mod); end
4312
+
4313
+ # source://rbs//lib/rbs/inline_parser.rb#179
4314
+ def report_unused_annotation(*annotations); end
4315
+
4316
+ # source://rbs//lib/rbs/inline_parser.rb#194
4317
+ def report_unused_block(block); end
4318
+
4319
+ # Returns the value of attribute result.
4320
+ #
4321
+ # source://rbs//lib/rbs/inline_parser.rb#43
4322
+ def result; end
4323
+
4324
+ # @return [Boolean]
4325
+ #
4326
+ # source://rbs//lib/rbs/inline_parser.rb#77
4327
+ def skip_node?(node); end
4328
+
4329
+ # source://rbs//lib/rbs/inline_parser.rb#88
4330
+ def visit_class_node(node); end
4331
+
4332
+ # source://rbs//lib/rbs/inline_parser.rb#132
4333
+ def visit_def_node(node); end
4334
+
4335
+ # source://rbs//lib/rbs/inline_parser.rb#110
4336
+ def visit_module_node(node); end
4337
+ end
4338
+
4339
+ # source://rbs//lib/rbs/inline_parser.rb#5
4340
+ class RBS::InlineParser::Result
4341
+ # @return [Result] a new instance of Result
4342
+ #
4343
+ # source://rbs//lib/rbs/inline_parser.rb#8
4344
+ def initialize(buffer, prism); end
4345
+
4346
+ # Returns the value of attribute buffer.
4347
+ #
4348
+ # source://rbs//lib/rbs/inline_parser.rb#6
4349
+ def buffer; end
4350
+
4351
+ # Returns the value of attribute declarations.
4352
+ #
4353
+ # source://rbs//lib/rbs/inline_parser.rb#6
4354
+ def declarations; end
4355
+
4356
+ # Returns the value of attribute diagnostics.
4357
+ #
4358
+ # source://rbs//lib/rbs/inline_parser.rb#6
4359
+ def diagnostics; end
4360
+
4361
+ # Returns the value of attribute prism_result.
4362
+ #
4363
+ # source://rbs//lib/rbs/inline_parser.rb#6
4364
+ def prism_result; end
4365
+ end
4366
+
3594
4367
  # source://rbs//lib/rbs/errors.rb#341
3595
4368
  class RBS::InstanceVariableDuplicationError < ::RBS::VariableDuplicationError
3596
4369
  # source://rbs//lib/rbs/errors.rb#342
@@ -3671,28 +4444,28 @@ class RBS::InvalidTypeApplicationError < ::RBS::DefinitionError
3671
4444
  end
3672
4445
  end
3673
4446
 
3674
- # source://rbs//lib/rbs/errors.rb#431
4447
+ # source://rbs//lib/rbs/errors.rb#432
3675
4448
  class RBS::InvalidVarianceAnnotationError < ::RBS::DefinitionError
3676
4449
  include ::RBS::DetailedMessageable
3677
4450
 
3678
4451
  # @return [InvalidVarianceAnnotationError] a new instance of InvalidVarianceAnnotationError
3679
4452
  #
3680
- # source://rbs//lib/rbs/errors.rb#438
4453
+ # source://rbs//lib/rbs/errors.rb#439
3681
4454
  def initialize(type_name:, param:, location:); end
3682
4455
 
3683
4456
  # Returns the value of attribute location.
3684
4457
  #
3685
- # source://rbs//lib/rbs/errors.rb#436
4458
+ # source://rbs//lib/rbs/errors.rb#437
3686
4459
  def location; end
3687
4460
 
3688
4461
  # Returns the value of attribute param.
3689
4462
  #
3690
- # source://rbs//lib/rbs/errors.rb#435
4463
+ # source://rbs//lib/rbs/errors.rb#436
3691
4464
  def param; end
3692
4465
 
3693
4466
  # Returns the value of attribute type_name.
3694
4467
  #
3695
- # source://rbs//lib/rbs/errors.rb#434
4468
+ # source://rbs//lib/rbs/errors.rb#435
3696
4469
  def type_name; end
3697
4470
  end
3698
4471
 
@@ -3701,42 +4474,64 @@ class RBS::LoadingError < ::RBS::BaseError; end
3701
4474
 
3702
4475
  # source://rbs//lib/rbs/location_aux.rb#4
3703
4476
  class RBS::Location
4477
+ # source://rbs//lib/rbs.rb#72
3704
4478
  def initialize(_arg0, _arg1, _arg2); end
3705
4479
 
3706
- # source://rbs//lib/rbs/location_aux.rb#71
4480
+ # source://rbs//lib/rbs/location_aux.rb#79
3707
4481
  def ==(other); end
3708
4482
 
4483
+ # source://rbs//lib/rbs.rb#72
3709
4484
  def [](_arg0); end
4485
+
4486
+ # source://rbs//lib/rbs.rb#72
3710
4487
  def _add_optional_child(_arg0, _arg1, _arg2); end
4488
+
4489
+ # source://rbs//lib/rbs.rb#72
3711
4490
  def _add_optional_no_child(_arg0); end
4491
+
4492
+ # source://rbs//lib/rbs.rb#72
3712
4493
  def _add_required_child(_arg0, _arg1, _arg2); end
4494
+
4495
+ # source://rbs//lib/rbs.rb#72
4496
+ def _end_pos; end
4497
+
4498
+ # source://rbs//lib/rbs.rb#72
3713
4499
  def _optional_keys; end
4500
+
4501
+ # source://rbs//lib/rbs.rb#72
3714
4502
  def _required_keys; end
3715
4503
 
3716
- # source://rbs//lib/rbs/location_aux.rb#102
4504
+ # source://rbs//lib/rbs.rb#72
4505
+ def _start_pos; end
4506
+
4507
+ # source://rbs//lib/rbs/location_aux.rb#110
3717
4508
  def add_optional_child(name, range); end
3718
4509
 
3719
- # source://rbs//lib/rbs/location_aux.rb#98
4510
+ # source://rbs//lib/rbs/location_aux.rb#106
3720
4511
  def add_required_child(name, range); end
3721
4512
 
4513
+ # source://rbs//lib/rbs/location_aux.rb#27
3722
4514
  def aref(_arg0); end
4515
+
4516
+ # source://rbs//lib/rbs.rb#72
3723
4517
  def buffer; end
3724
4518
 
3725
- # source://rbs//lib/rbs/location_aux.rb#110
4519
+ # source://rbs//lib/rbs/location_aux.rb#118
3726
4520
  def each_optional_key(&block); end
3727
4521
 
3728
- # source://rbs//lib/rbs/location_aux.rb#118
4522
+ # source://rbs//lib/rbs/location_aux.rb#126
3729
4523
  def each_required_key(&block); end
3730
4524
 
3731
- # source://rbs//lib/rbs/location_aux.rb#47
4525
+ # source://rbs//lib/rbs/location_aux.rb#55
3732
4526
  def end_column; end
3733
4527
 
3734
- # source://rbs//lib/rbs/location_aux.rb#43
4528
+ # source://rbs//lib/rbs/location_aux.rb#51
3735
4529
  def end_line; end
3736
4530
 
3737
- # source://rbs//lib/rbs/location_aux.rb#55
4531
+ # source://rbs//lib/rbs/location_aux.rb#63
3738
4532
  def end_loc; end
3739
4533
 
4534
+ # source://rbs//lib/rbs/location_aux.rb#35
3740
4535
  def end_pos; end
3741
4536
 
3742
4537
  # source://rbs//lib/rbs/location_aux.rb#5
@@ -3744,54 +4539,62 @@ class RBS::Location
3744
4539
 
3745
4540
  # @return [Boolean]
3746
4541
  #
3747
- # source://rbs//lib/rbs/location_aux.rb#126
4542
+ # source://rbs//lib/rbs/location_aux.rb#134
3748
4543
  def key?(name); end
3749
4544
 
3750
- # source://rbs//lib/rbs/location_aux.rb#31
4545
+ # source://rbs//lib/rbs/location_aux.rb#146
4546
+ def local_location; end
4547
+
4548
+ # source://rbs//lib/rbs/location_aux.rb#166
4549
+ def local_source; end
4550
+
4551
+ # source://rbs//lib/rbs/location_aux.rb#39
3751
4552
  def name; end
3752
4553
 
3753
4554
  # @return [Boolean]
3754
4555
  #
3755
- # source://rbs//lib/rbs/location_aux.rb#130
4556
+ # source://rbs//lib/rbs/location_aux.rb#138
3756
4557
  def optional_key?(name); end
3757
4558
 
3758
- # source://rbs//lib/rbs/location_aux.rb#59
4559
+ # source://rbs//lib/rbs/location_aux.rb#67
3759
4560
  def range; end
3760
4561
 
3761
4562
  # @return [Boolean]
3762
4563
  #
3763
- # source://rbs//lib/rbs/location_aux.rb#134
4564
+ # source://rbs//lib/rbs/location_aux.rb#142
3764
4565
  def required_key?(name); end
3765
4566
 
3766
- # source://rbs//lib/rbs/location_aux.rb#63
4567
+ # source://rbs//lib/rbs/location_aux.rb#71
3767
4568
  def source; end
3768
4569
 
3769
- # source://rbs//lib/rbs/location_aux.rb#39
4570
+ # source://rbs//lib/rbs/location_aux.rb#47
3770
4571
  def start_column; end
3771
4572
 
3772
- # source://rbs//lib/rbs/location_aux.rb#35
4573
+ # source://rbs//lib/rbs/location_aux.rb#43
3773
4574
  def start_line; end
3774
4575
 
3775
- # source://rbs//lib/rbs/location_aux.rb#51
4576
+ # source://rbs//lib/rbs/location_aux.rb#59
3776
4577
  def start_loc; end
3777
4578
 
4579
+ # source://rbs//lib/rbs/location_aux.rb#31
3778
4580
  def start_pos; end
3779
4581
 
3780
- # source://rbs//lib/rbs/location_aux.rb#78
4582
+ # source://rbs//lib/rbs/location_aux.rb#86
3781
4583
  def to_json(state = T.unsafe(nil)); end
3782
4584
 
3783
- # source://rbs//lib/rbs/location_aux.rb#67
4585
+ # source://rbs//lib/rbs/location_aux.rb#75
3784
4586
  def to_s; end
3785
4587
 
3786
4588
  private
3787
4589
 
4590
+ # source://rbs//lib/rbs.rb#72
3788
4591
  def initialize_copy(_arg0); end
3789
4592
 
3790
4593
  class << self
3791
4594
  # source://rbs//lib/rbs/location_aux.rb#16
3792
4595
  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
4596
 
3794
- # source://rbs//lib/rbs/location_aux.rb#94
4597
+ # source://rbs//lib/rbs/location_aux.rb#102
3795
4598
  def to_string(location, default: T.unsafe(nil)); end
3796
4599
  end
3797
4600
  end
@@ -3931,35 +4734,35 @@ class RBS::MethodType
3931
4734
  def with_nonreturn_void?; end
3932
4735
  end
3933
4736
 
3934
- # source://rbs//lib/rbs/errors.rb#467
4737
+ # source://rbs//lib/rbs/errors.rb#468
3935
4738
  class RBS::MixinClassError < ::RBS::DefinitionError
3936
4739
  include ::RBS::DetailedMessageable
3937
4740
 
3938
4741
  # @return [MixinClassError] a new instance of MixinClassError
3939
4742
  #
3940
- # source://rbs//lib/rbs/errors.rb#473
4743
+ # source://rbs//lib/rbs/errors.rb#474
3941
4744
  def initialize(type_name:, member:); end
3942
4745
 
3943
- # source://rbs//lib/rbs/errors.rb#480
4746
+ # source://rbs//lib/rbs/errors.rb#481
3944
4747
  def location; end
3945
4748
 
3946
4749
  # Returns the value of attribute member.
3947
4750
  #
3948
- # source://rbs//lib/rbs/errors.rb#471
4751
+ # source://rbs//lib/rbs/errors.rb#472
3949
4752
  def member; end
3950
4753
 
3951
4754
  # Returns the value of attribute type_name.
3952
4755
  #
3953
- # source://rbs//lib/rbs/errors.rb#470
4756
+ # source://rbs//lib/rbs/errors.rb#471
3954
4757
  def type_name; end
3955
4758
 
3956
4759
  private
3957
4760
 
3958
- # source://rbs//lib/rbs/errors.rb#492
4761
+ # source://rbs//lib/rbs/errors.rb#493
3959
4762
  def mixin_name; end
3960
4763
 
3961
4764
  class << self
3962
- # source://rbs//lib/rbs/errors.rb#484
4765
+ # source://rbs//lib/rbs/errors.rb#485
3963
4766
  def check!(type_name:, env:, member:); end
3964
4767
  end
3965
4768
  end
@@ -3996,7 +4799,7 @@ class RBS::Namespace
3996
4799
  # source://rbs//lib/rbs/namespace.rb#55
3997
4800
  def empty?; end
3998
4801
 
3999
- # source://rbs//lib/rbs/namespace.rb#59
4802
+ # source://rbs//lib/rbs/namespace.rb#63
4000
4803
  def eql?(other); end
4001
4804
 
4002
4805
  # source://rbs//lib/rbs/namespace.rb#65
@@ -4140,43 +4943,65 @@ class RBS::NoTypeFoundError < ::RBS::DefinitionError
4140
4943
  end
4141
4944
  end
4142
4945
 
4143
- # source://rbs//lib/rbs/errors.rb#524
4946
+ # source://rbs//lib/rbs/errors.rb#525
4144
4947
  class RBS::NonregularTypeAliasError < ::RBS::BaseError
4145
4948
  include ::RBS::DetailedMessageable
4146
4949
 
4147
4950
  # @return [NonregularTypeAliasError] a new instance of NonregularTypeAliasError
4148
4951
  #
4149
- # source://rbs//lib/rbs/errors.rb#530
4952
+ # source://rbs//lib/rbs/errors.rb#531
4150
4953
  def initialize(diagnostic:, location:); end
4151
4954
 
4152
4955
  # Returns the value of attribute diagnostic.
4153
4956
  #
4154
- # source://rbs//lib/rbs/errors.rb#527
4957
+ # source://rbs//lib/rbs/errors.rb#528
4155
4958
  def diagnostic; end
4156
4959
 
4157
4960
  # Returns the value of attribute location.
4158
4961
  #
4159
- # source://rbs//lib/rbs/errors.rb#528
4962
+ # source://rbs//lib/rbs/errors.rb#529
4160
4963
  def location; end
4161
4964
  end
4162
4965
 
4163
4966
  # source://rbs//lib/rbs/parser/lex_result.rb#4
4164
4967
  class RBS::Parser
4165
4968
  class << self
4969
+ # source://rbs//lib/rbs.rb#72
4166
4970
  def _lex(_arg0, _arg1); end
4971
+
4972
+ # source://rbs//lib/rbs.rb#72
4973
+ def _parse_inline_leading_annotation(_arg0, _arg1, _arg2, _arg3); end
4974
+
4975
+ # source://rbs//lib/rbs.rb#72
4976
+ def _parse_inline_trailing_annotation(_arg0, _arg1, _arg2, _arg3); end
4977
+
4978
+ # source://rbs//lib/rbs.rb#72
4167
4979
  def _parse_method_type(_arg0, _arg1, _arg2, _arg3, _arg4); end
4980
+
4981
+ # source://rbs//lib/rbs.rb#72
4168
4982
  def _parse_signature(_arg0, _arg1, _arg2); end
4983
+
4984
+ # source://rbs//lib/rbs.rb#72
4169
4985
  def _parse_type(_arg0, _arg1, _arg2, _arg3, _arg4); end
4170
4986
 
4171
- # source://rbs//lib/rbs/parser_aux.rb#71
4987
+ # source://rbs//lib/rbs.rb#72
4988
+ def _parse_type_params(_arg0, _arg1, _arg2, _arg3); end
4989
+
4990
+ # source://rbs//lib/rbs/parser_aux.rb#76
4172
4991
  def buffer(source); end
4173
4992
 
4174
- # source://rbs//lib/rbs/parser_aux.rb#62
4993
+ # source://rbs//lib/rbs/parser_aux.rb#67
4175
4994
  def lex(source); end
4176
4995
 
4177
- # source://rbs//lib/rbs/parser_aux.rb#38
4996
+ # source://rbs//lib/rbs/parser_aux.rb#43
4178
4997
  def magic_comment(buf); end
4179
4998
 
4999
+ # source://rbs//lib/rbs/parser_aux.rb#119
5000
+ def parse_inline_leading_annotation(source, range, variables: T.unsafe(nil)); end
5001
+
5002
+ # source://rbs//lib/rbs/parser_aux.rb#124
5003
+ def parse_inline_trailing_annotation(source, range, variables: T.unsafe(nil)); end
5004
+
4180
5005
  # source://rbs//lib/rbs/parser_aux.rb#13
4181
5006
  def parse_method_type(source, range: T.unsafe(nil), variables: T.unsafe(nil), require_eof: T.unsafe(nil)); end
4182
5007
 
@@ -4185,10 +5010,13 @@ class RBS::Parser
4185
5010
 
4186
5011
  # source://rbs//lib/rbs/parser_aux.rb#8
4187
5012
  def parse_type(source, range: T.unsafe(nil), variables: T.unsafe(nil), require_eof: T.unsafe(nil)); end
5013
+
5014
+ # source://rbs//lib/rbs/parser_aux.rb#38
5015
+ def parse_type_params(source, module_type_params: T.unsafe(nil)); end
4188
5016
  end
4189
5017
  end
4190
5018
 
4191
- # source://rbs//lib/rbs/parser_aux.rb#80
5019
+ # source://rbs//lib/rbs/parser_aux.rb#85
4192
5020
  RBS::Parser::KEYWORDS = T.let(T.unsafe(nil), Hash)
4193
5021
 
4194
5022
  # source://rbs//lib/rbs/parser/lex_result.rb#5
@@ -4374,7 +5202,7 @@ class RBS::Prototype::RB
4374
5202
 
4375
5203
  # backward compatible
4376
5204
  #
4377
- # source://rbs//lib/rbs/prototype/rb.rb#719
5205
+ # source://rbs//lib/rbs/prototype/rb.rb#762
4378
5206
  def node_type(node, default: T.unsafe(nil)); end
4379
5207
 
4380
5208
  # source://rbs//lib/rbs/prototype/rb.rb#719
@@ -4661,7 +5489,6 @@ class RBS::Prototype::Runtime::DataGenerator < ::RBS::Prototype::Runtime::ValueO
4661
5489
  def add_decl_members(decl); end
4662
5490
 
4663
5491
  # def self.new: (untyped foo, untyped bar) -> instance
4664
- # | (foo: untyped, bar: untyped) -> instance
4665
5492
  #
4666
5493
  # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#237
4667
5494
  def build_s_new; end
@@ -4729,7 +5556,6 @@ class RBS::Prototype::Runtime::StructGenerator < ::RBS::Prototype::Runtime::Valu
4729
5556
  def build_s_keyword_init_p; end
4730
5557
 
4731
5558
  # def self.new: (?untyped foo, ?untyped bar) -> instance
4732
- # | (?foo: untyped, ?bar: untyped) -> instance
4733
5559
  #
4734
5560
  # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#117
4735
5561
  def build_s_new; end
@@ -4883,26 +5709,26 @@ class RBS::RDocPlugin::Parser
4883
5709
  def fully_qualified_name(outer_name:, decl:); end
4884
5710
  end
4885
5711
 
4886
- # source://rbs//lib/rbs/errors.rb#447
5712
+ # source://rbs//lib/rbs/errors.rb#448
4887
5713
  class RBS::RecursiveAliasDefinitionError < ::RBS::DefinitionError
4888
5714
  include ::RBS::DetailedMessageable
4889
5715
 
4890
5716
  # @return [RecursiveAliasDefinitionError] a new instance of RecursiveAliasDefinitionError
4891
5717
  #
4892
- # source://rbs//lib/rbs/errors.rb#453
5718
+ # source://rbs//lib/rbs/errors.rb#454
4893
5719
  def initialize(type:, defs:); end
4894
5720
 
4895
5721
  # Returns the value of attribute defs.
4896
5722
  #
4897
- # source://rbs//lib/rbs/errors.rb#451
5723
+ # source://rbs//lib/rbs/errors.rb#452
4898
5724
  def defs; end
4899
5725
 
4900
- # source://rbs//lib/rbs/errors.rb#460
5726
+ # source://rbs//lib/rbs/errors.rb#461
4901
5727
  def location; end
4902
5728
 
4903
5729
  # Returns the value of attribute type.
4904
5730
  #
4905
- # source://rbs//lib/rbs/errors.rb#450
5731
+ # source://rbs//lib/rbs/errors.rb#451
4906
5732
  def type; end
4907
5733
  end
4908
5734
 
@@ -4929,26 +5755,26 @@ class RBS::RecursiveAncestorError < ::RBS::DefinitionError
4929
5755
  end
4930
5756
  end
4931
5757
 
4932
- # source://rbs//lib/rbs/errors.rb#506
5758
+ # source://rbs//lib/rbs/errors.rb#507
4933
5759
  class RBS::RecursiveTypeAliasError < ::RBS::BaseError
4934
5760
  include ::RBS::DetailedMessageable
4935
5761
 
4936
5762
  # @return [RecursiveTypeAliasError] a new instance of RecursiveTypeAliasError
4937
5763
  #
4938
- # source://rbs//lib/rbs/errors.rb#512
5764
+ # source://rbs//lib/rbs/errors.rb#513
4939
5765
  def initialize(alias_names:, location:); end
4940
5766
 
4941
5767
  # Returns the value of attribute alias_names.
4942
5768
  #
4943
- # source://rbs//lib/rbs/errors.rb#509
5769
+ # source://rbs//lib/rbs/errors.rb#510
4944
5770
  def alias_names; end
4945
5771
 
4946
5772
  # Returns the value of attribute location.
4947
5773
  #
4948
- # source://rbs//lib/rbs/errors.rb#510
5774
+ # source://rbs//lib/rbs/errors.rb#511
4949
5775
  def location; end
4950
5776
 
4951
- # source://rbs//lib/rbs/errors.rb#519
5777
+ # source://rbs//lib/rbs/errors.rb#520
4952
5778
  def name; end
4953
5779
  end
4954
5780
 
@@ -5033,18 +5859,38 @@ end
5033
5859
 
5034
5860
  # source://rbs//lib/rbs/repository.rb#69
5035
5861
  class RBS::Repository::VersionPath < ::Struct
5862
+ # source://rbs//lib/rbs/repository.rb#69
5036
5863
  def gem; end
5864
+
5865
+ # source://rbs//lib/rbs/repository.rb#69
5037
5866
  def gem=(_); end
5867
+
5868
+ # source://rbs//lib/rbs/repository.rb#69
5038
5869
  def path; end
5870
+
5871
+ # source://rbs//lib/rbs/repository.rb#69
5039
5872
  def path=(_); end
5873
+
5874
+ # source://rbs//lib/rbs/repository.rb#69
5040
5875
  def version; end
5876
+
5877
+ # source://rbs//lib/rbs/repository.rb#69
5041
5878
  def version=(_); end
5042
5879
 
5043
5880
  class << self
5881
+ # source://rbs//lib/rbs/repository.rb#69
5044
5882
  def [](*_arg0); end
5883
+
5884
+ # source://rbs//lib/rbs/repository.rb#69
5045
5885
  def inspect; end
5886
+
5887
+ # source://rbs//lib/rbs/repository.rb#69
5046
5888
  def keyword_init?; end
5889
+
5890
+ # source://rbs//lib/rbs/repository.rb#69
5047
5891
  def members; end
5892
+
5893
+ # source://rbs//lib/rbs/repository.rb#69
5048
5894
  def new(*_arg0); end
5049
5895
  end
5050
5896
  end
@@ -5182,6 +6028,72 @@ class RBS::Resolver::TypeNameResolver
5182
6028
  def try_cache(query); end
5183
6029
  end
5184
6030
 
6031
+ # source://rbs//lib/rbs/source.rb#4
6032
+ module RBS::Source; end
6033
+
6034
+ # source://rbs//lib/rbs/source.rb#5
6035
+ class RBS::Source::RBS
6036
+ # @return [RBS] a new instance of RBS
6037
+ #
6038
+ # source://rbs//lib/rbs/source.rb#8
6039
+ def initialize(buffer, directives, decls); end
6040
+
6041
+ # Returns the value of attribute buffer.
6042
+ #
6043
+ # source://rbs//lib/rbs/source.rb#6
6044
+ def buffer; end
6045
+
6046
+ # Returns the value of attribute declarations.
6047
+ #
6048
+ # source://rbs//lib/rbs/source.rb#6
6049
+ def declarations; end
6050
+
6051
+ # Returns the value of attribute directives.
6052
+ #
6053
+ # source://rbs//lib/rbs/source.rb#6
6054
+ def directives; end
6055
+
6056
+ # source://rbs//lib/rbs/source.rb#25
6057
+ def each_declaration_type_name(names, decl, &block); end
6058
+
6059
+ # source://rbs//lib/rbs/source.rb#14
6060
+ def each_type_name(&block); end
6061
+ end
6062
+
6063
+ # source://rbs//lib/rbs/source.rb#52
6064
+ class RBS::Source::Ruby
6065
+ # @return [Ruby] a new instance of Ruby
6066
+ #
6067
+ # source://rbs//lib/rbs/source.rb#58
6068
+ def initialize(buffer, prism, declarations, diagnostics); end
6069
+
6070
+ # Returns the value of attribute buffer.
6071
+ #
6072
+ # source://rbs//lib/rbs/source.rb#53
6073
+ def buffer; end
6074
+
6075
+ # Returns the value of attribute declarations.
6076
+ #
6077
+ # source://rbs//lib/rbs/source.rb#55
6078
+ def declarations; end
6079
+
6080
+ # Returns the value of attribute diagnostics.
6081
+ #
6082
+ # source://rbs//lib/rbs/source.rb#56
6083
+ def diagnostics; end
6084
+
6085
+ # source://rbs//lib/rbs/source.rb#76
6086
+ def each_declaration_type_name(names, decl, &block); end
6087
+
6088
+ # source://rbs//lib/rbs/source.rb#65
6089
+ def each_type_name(&block); end
6090
+
6091
+ # Returns the value of attribute prism_result.
6092
+ #
6093
+ # source://rbs//lib/rbs/source.rb#54
6094
+ def prism_result; end
6095
+ end
6096
+
5185
6097
  # source://rbs//lib/rbs/substitution.rb#4
5186
6098
  class RBS::Substitution
5187
6099
  # @return [Substitution] a new instance of Substitution
@@ -5192,7 +6104,7 @@ class RBS::Substitution
5192
6104
  # source://rbs//lib/rbs/substitution.rb#66
5193
6105
  def +(other); end
5194
6106
 
5195
- # source://rbs//lib/rbs/substitution.rb#37
6107
+ # source://rbs//lib/rbs/substitution.rb#53
5196
6108
  def [](ty); end
5197
6109
 
5198
6110
  # source://rbs//lib/rbs/substitution.rb#16
@@ -5244,12 +6156,12 @@ class RBS::Subtractor
5244
6156
 
5245
6157
  private
5246
6158
 
5247
- # source://rbs//lib/rbs/subtractor.rb#177
6159
+ # source://rbs//lib/rbs/subtractor.rb#178
5248
6160
  def absolute_typename(name, context:); end
5249
6161
 
5250
6162
  # @return [Boolean]
5251
6163
  #
5252
- # source://rbs//lib/rbs/subtractor.rb#160
6164
+ # source://rbs//lib/rbs/subtractor.rb#161
5253
6165
  def access_modifier?(decl); end
5254
6166
 
5255
6167
  # @return [Boolean]
@@ -5263,7 +6175,7 @@ class RBS::Subtractor
5263
6175
  # source://rbs//lib/rbs/subtractor.rb#48
5264
6176
  def filter_members(decl, context:); end
5265
6177
 
5266
- # source://rbs//lib/rbs/subtractor.rb#148
6178
+ # source://rbs//lib/rbs/subtractor.rb#149
5267
6179
  def filter_redundant_access_modifiers(decls); end
5268
6180
 
5269
6181
  # @return [Boolean]
@@ -5283,13 +6195,13 @@ class RBS::Subtractor
5283
6195
 
5284
6196
  # @return [Boolean]
5285
6197
  #
5286
- # source://rbs//lib/rbs/subtractor.rb#137
6198
+ # source://rbs//lib/rbs/subtractor.rb#138
5287
6199
  def mixin_exist?(owner, mixin, context:); end
5288
6200
 
5289
- # source://rbs//lib/rbs/subtractor.rb#186
6201
+ # source://rbs//lib/rbs/subtractor.rb#187
5290
6202
  def typename_candidates(name, context:); end
5291
6203
 
5292
- # source://rbs//lib/rbs/subtractor.rb#164
6204
+ # source://rbs//lib/rbs/subtractor.rb#165
5293
6205
  def update_decl(decl, members:); end
5294
6206
  end
5295
6207
 
@@ -5469,7 +6381,7 @@ class RBS::TypeName
5469
6381
  # source://rbs//lib/rbs/type_name.rb#47
5470
6382
  def class?; end
5471
6383
 
5472
- # source://rbs//lib/rbs/type_name.rb#25
6384
+ # source://rbs//lib/rbs/type_name.rb#29
5473
6385
  def eql?(other); end
5474
6386
 
5475
6387
  # source://rbs//lib/rbs/type_name.rb#31
@@ -5519,27 +6431,27 @@ class RBS::TypeName
5519
6431
  end
5520
6432
  end
5521
6433
 
5522
- # source://rbs//lib/rbs/errors.rb#604
6434
+ # source://rbs//lib/rbs/errors.rb#605
5523
6435
  class RBS::TypeParamDefaultReferenceError < ::RBS::DefinitionError
5524
6436
  include ::RBS::DetailedMessageable
5525
6437
 
5526
6438
  # @return [TypeParamDefaultReferenceError] a new instance of TypeParamDefaultReferenceError
5527
6439
  #
5528
- # source://rbs//lib/rbs/errors.rb#610
6440
+ # source://rbs//lib/rbs/errors.rb#611
5529
6441
  def initialize(type_param, location:); end
5530
6442
 
5531
6443
  # Returns the value of attribute location.
5532
6444
  #
5533
- # source://rbs//lib/rbs/errors.rb#608
6445
+ # source://rbs//lib/rbs/errors.rb#609
5534
6446
  def location; end
5535
6447
 
5536
6448
  # Returns the value of attribute type_param.
5537
6449
  #
5538
- # source://rbs//lib/rbs/errors.rb#607
6450
+ # source://rbs//lib/rbs/errors.rb#608
5539
6451
  def type_param; end
5540
6452
 
5541
6453
  class << self
5542
- # source://rbs//lib/rbs/errors.rb#616
6454
+ # source://rbs//lib/rbs/errors.rb#617
5543
6455
  def check!(type_params); end
5544
6456
  end
5545
6457
  end
@@ -5587,7 +6499,7 @@ module RBS::Types::Application
5587
6499
  # source://rbs//lib/rbs/types.rb#284
5588
6500
  def each_type(&block); end
5589
6501
 
5590
- # source://rbs//lib/rbs/types.rb#258
6502
+ # source://rbs//lib/rbs/types.rb#262
5591
6503
  def eql?(other); end
5592
6504
 
5593
6505
  # source://rbs//lib/rbs/types.rb#268
@@ -5649,7 +6561,7 @@ class RBS::Types::Bases::Base
5649
6561
  # source://rbs//lib/rbs/types.rb#49
5650
6562
  def ==(other); end
5651
6563
 
5652
- # source://rbs//lib/rbs/types.rb#49
6564
+ # source://rbs//lib/rbs/types.rb#57
5653
6565
  def eql?(other); end
5654
6566
 
5655
6567
  # @return [Boolean]
@@ -5713,13 +6625,18 @@ class RBS::Types::Bases::Void < ::RBS::Types::Bases::Base; end
5713
6625
  class RBS::Types::Block
5714
6626
  # @return [Block] a new instance of Block
5715
6627
  #
5716
- # source://rbs//lib/rbs/types.rb#1343
5717
- def initialize(type:, required:, self_type: T.unsafe(nil)); end
6628
+ # source://rbs//lib/rbs/types.rb#1344
6629
+ def initialize(type:, required:, location: T.unsafe(nil), self_type: T.unsafe(nil)); end
5718
6630
 
5719
- # source://rbs//lib/rbs/types.rb#1349
6631
+ # source://rbs//lib/rbs/types.rb#1351
5720
6632
  def ==(other); end
5721
6633
 
5722
- # source://rbs//lib/rbs/types.rb#1374
6634
+ # Returns the value of attribute location.
6635
+ #
6636
+ # source://rbs//lib/rbs/types.rb#1342
6637
+ def location; end
6638
+
6639
+ # source://rbs//lib/rbs/types.rb#1376
5723
6640
  def map_type(&block); end
5724
6641
 
5725
6642
  # Returns the value of attribute required.
@@ -5732,10 +6649,10 @@ class RBS::Types::Block
5732
6649
  # source://rbs//lib/rbs/types.rb#1341
5733
6650
  def self_type; end
5734
6651
 
5735
- # source://rbs//lib/rbs/types.rb#1364
6652
+ # source://rbs//lib/rbs/types.rb#1366
5736
6653
  def sub(s); end
5737
6654
 
5738
- # source://rbs//lib/rbs/types.rb#1356
6655
+ # source://rbs//lib/rbs/types.rb#1358
5739
6656
  def to_json(state = T.unsafe(nil)); end
5740
6657
 
5741
6658
  # Returns the value of attribute type.
@@ -5785,7 +6702,7 @@ class RBS::Types::ClassSingleton
5785
6702
  # source://rbs//lib/rbs/types.rb#211
5786
6703
  def ==(other); end
5787
6704
 
5788
- # source://rbs//lib/rbs/types.rb#211
6705
+ # source://rbs//lib/rbs/types.rb#215
5789
6706
  def eql?(other); end
5790
6707
 
5791
6708
  # @return [Boolean]
@@ -5865,7 +6782,7 @@ class RBS::Types::Function
5865
6782
  # source://rbs//lib/rbs/types.rb#1153
5866
6783
  def empty?; end
5867
6784
 
5868
- # source://rbs//lib/rbs/types.rb#972
6785
+ # source://rbs//lib/rbs/types.rb#984
5869
6786
  def eql?(other); end
5870
6787
 
5871
6788
  # source://rbs//lib/rbs/types.rb#998
@@ -5977,7 +6894,7 @@ class RBS::Types::Function::Param
5977
6894
  # source://rbs//lib/rbs/types.rb#917
5978
6895
  def ==(other); end
5979
6896
 
5980
- # source://rbs//lib/rbs/types.rb#917
6897
+ # source://rbs//lib/rbs/types.rb#921
5981
6898
  def eql?(other); end
5982
6899
 
5983
6900
  # source://rbs//lib/rbs/types.rb#923
@@ -6048,7 +6965,7 @@ class RBS::Types::Intersection
6048
6965
  # source://rbs//lib/rbs/types.rb#869
6049
6966
  def each_type(&block); end
6050
6967
 
6051
- # source://rbs//lib/rbs/types.rb#831
6968
+ # source://rbs//lib/rbs/types.rb#835
6052
6969
  def eql?(other); end
6053
6970
 
6054
6971
  # source://rbs//lib/rbs/types.rb#841
@@ -6098,7 +7015,7 @@ class RBS::Types::Intersection
6098
7015
  def with_nonreturn_void?; end
6099
7016
  end
6100
7017
 
6101
- # source://rbs//lib/rbs/types.rb#1518
7018
+ # source://rbs//lib/rbs/types.rb#1520
6102
7019
  class RBS::Types::Literal
6103
7020
  include ::RBS::Types::NoFreeVariables
6104
7021
  include ::RBS::Types::NoSubst
@@ -6107,56 +7024,56 @@ class RBS::Types::Literal
6107
7024
 
6108
7025
  # @return [Literal] a new instance of Literal
6109
7026
  #
6110
- # source://rbs//lib/rbs/types.rb#1522
7027
+ # source://rbs//lib/rbs/types.rb#1524
6111
7028
  def initialize(literal:, location:); end
6112
7029
 
6113
- # source://rbs//lib/rbs/types.rb#1527
7030
+ # source://rbs//lib/rbs/types.rb#1529
6114
7031
  def ==(other); end
6115
7032
 
6116
- # source://rbs//lib/rbs/types.rb#1527
7033
+ # source://rbs//lib/rbs/types.rb#1533
6117
7034
  def eql?(other); end
6118
7035
 
6119
7036
  # @return [Boolean]
6120
7037
  #
6121
- # source://rbs//lib/rbs/types.rb#1554
7038
+ # source://rbs//lib/rbs/types.rb#1556
6122
7039
  def has_classish_type?; end
6123
7040
 
6124
7041
  # @return [Boolean]
6125
7042
  #
6126
- # source://rbs//lib/rbs/types.rb#1550
7043
+ # source://rbs//lib/rbs/types.rb#1552
6127
7044
  def has_self_type?; end
6128
7045
 
6129
- # source://rbs//lib/rbs/types.rb#1533
7046
+ # source://rbs//lib/rbs/types.rb#1535
6130
7047
  def hash; end
6131
7048
 
6132
7049
  # Returns the value of attribute literal.
6133
7050
  #
6134
- # source://rbs//lib/rbs/types.rb#1519
7051
+ # source://rbs//lib/rbs/types.rb#1521
6135
7052
  def literal; end
6136
7053
 
6137
7054
  # Returns the value of attribute location.
6138
7055
  #
6139
- # source://rbs//lib/rbs/types.rb#1520
7056
+ # source://rbs//lib/rbs/types.rb#1522
6140
7057
  def location; end
6141
7058
 
6142
- # source://rbs//lib/rbs/types.rb#1542
7059
+ # source://rbs//lib/rbs/types.rb#1544
6143
7060
  def to_json(state = T.unsafe(nil)); end
6144
7061
 
6145
- # source://rbs//lib/rbs/types.rb#1546
7062
+ # source://rbs//lib/rbs/types.rb#1548
6146
7063
  def to_s(level = T.unsafe(nil)); end
6147
7064
 
6148
7065
  # @return [Boolean]
6149
7066
  #
6150
- # source://rbs//lib/rbs/types.rb#1558
7067
+ # source://rbs//lib/rbs/types.rb#1560
6151
7068
  def with_nonreturn_void?; end
6152
7069
 
6153
7070
  class << self
6154
- # source://rbs//lib/rbs/types.rb#1578
7071
+ # source://rbs//lib/rbs/types.rb#1580
6155
7072
  def unescape_string(string, is_double_quote); end
6156
7073
  end
6157
7074
  end
6158
7075
 
6159
- # source://rbs//lib/rbs/types.rb#1562
7076
+ # source://rbs//lib/rbs/types.rb#1564
6160
7077
  RBS::Types::Literal::TABLE = T.let(T.unsafe(nil), Hash)
6161
7078
 
6162
7079
  # source://rbs//lib/rbs/types.rb#5
@@ -6190,7 +7107,7 @@ class RBS::Types::Optional
6190
7107
  # source://rbs//lib/rbs/types.rb#692
6191
7108
  def each_type; end
6192
7109
 
6193
- # source://rbs//lib/rbs/types.rb#654
7110
+ # source://rbs//lib/rbs/types.rb#658
6194
7111
  def eql?(other); end
6195
7112
 
6196
7113
  # source://rbs//lib/rbs/types.rb#664
@@ -6240,76 +7157,76 @@ class RBS::Types::Optional
6240
7157
  def with_nonreturn_void?; end
6241
7158
  end
6242
7159
 
6243
- # source://rbs//lib/rbs/types.rb#1395
7160
+ # source://rbs//lib/rbs/types.rb#1397
6244
7161
  class RBS::Types::Proc
6245
7162
  # @return [Proc] a new instance of Proc
6246
7163
  #
6247
- # source://rbs//lib/rbs/types.rb#1401
7164
+ # source://rbs//lib/rbs/types.rb#1403
6248
7165
  def initialize(location:, type:, block:, self_type: T.unsafe(nil)); end
6249
7166
 
6250
- # source://rbs//lib/rbs/types.rb#1408
7167
+ # source://rbs//lib/rbs/types.rb#1410
6251
7168
  def ==(other); end
6252
7169
 
6253
7170
  # Returns the value of attribute block.
6254
7171
  #
6255
- # source://rbs//lib/rbs/types.rb#1397
7172
+ # source://rbs//lib/rbs/types.rb#1399
6256
7173
  def block; end
6257
7174
 
6258
- # source://rbs//lib/rbs/types.rb#1462
7175
+ # source://rbs//lib/rbs/types.rb#1464
6259
7176
  def each_type(&block); end
6260
7177
 
6261
- # source://rbs//lib/rbs/types.rb#1408
7178
+ # source://rbs//lib/rbs/types.rb#1414
6262
7179
  def eql?(other); end
6263
7180
 
6264
- # source://rbs//lib/rbs/types.rb#1418
7181
+ # source://rbs//lib/rbs/types.rb#1420
6265
7182
  def free_variables(set = T.unsafe(nil)); end
6266
7183
 
6267
7184
  # @return [Boolean]
6268
7185
  #
6269
- # source://rbs//lib/rbs/types.rb#1501
7186
+ # source://rbs//lib/rbs/types.rb#1503
6270
7187
  def has_classish_type?; end
6271
7188
 
6272
7189
  # @return [Boolean]
6273
7190
  #
6274
- # source://rbs//lib/rbs/types.rb#1497
7191
+ # source://rbs//lib/rbs/types.rb#1499
6275
7192
  def has_self_type?; end
6276
7193
 
6277
- # source://rbs//lib/rbs/types.rb#1414
7194
+ # source://rbs//lib/rbs/types.rb#1416
6278
7195
  def hash; end
6279
7196
 
6280
7197
  # Returns the value of attribute location.
6281
7198
  #
6282
- # source://rbs//lib/rbs/types.rb#1399
7199
+ # source://rbs//lib/rbs/types.rb#1401
6283
7200
  def location; end
6284
7201
 
6285
- # source://rbs//lib/rbs/types.rb#1484
7202
+ # source://rbs//lib/rbs/types.rb#1486
6286
7203
  def map_type(&block); end
6287
7204
 
6288
- # source://rbs//lib/rbs/types.rb#1475
7205
+ # source://rbs//lib/rbs/types.rb#1477
6289
7206
  def map_type_name(&block); end
6290
7207
 
6291
7208
  # Returns the value of attribute self_type.
6292
7209
  #
6293
- # source://rbs//lib/rbs/types.rb#1398
7210
+ # source://rbs//lib/rbs/types.rb#1400
6294
7211
  def self_type; end
6295
7212
 
6296
- # source://rbs//lib/rbs/types.rb#1435
7213
+ # source://rbs//lib/rbs/types.rb#1437
6297
7214
  def sub(s); end
6298
7215
 
6299
- # source://rbs//lib/rbs/types.rb#1425
7216
+ # source://rbs//lib/rbs/types.rb#1427
6300
7217
  def to_json(state = T.unsafe(nil)); end
6301
7218
 
6302
- # source://rbs//lib/rbs/types.rb#1446
7219
+ # source://rbs//lib/rbs/types.rb#1448
6303
7220
  def to_s(level = T.unsafe(nil)); end
6304
7221
 
6305
7222
  # Returns the value of attribute type.
6306
7223
  #
6307
- # source://rbs//lib/rbs/types.rb#1396
7224
+ # source://rbs//lib/rbs/types.rb#1398
6308
7225
  def type; end
6309
7226
 
6310
7227
  # @return [Boolean]
6311
7228
  #
6312
- # source://rbs//lib/rbs/types.rb#1505
7229
+ # source://rbs//lib/rbs/types.rb#1507
6313
7230
  def with_nonreturn_void?; end
6314
7231
  end
6315
7232
 
@@ -6331,7 +7248,7 @@ class RBS::Types::Record
6331
7248
  # source://rbs//lib/rbs/types.rb#605
6332
7249
  def each_type(&block); end
6333
7250
 
6334
- # source://rbs//lib/rbs/types.rb#555
7251
+ # source://rbs//lib/rbs/types.rb#559
6335
7252
  def eql?(other); end
6336
7253
 
6337
7254
  # Returns the value of attribute fields.
@@ -6386,15 +7303,15 @@ class RBS::Types::Record
6386
7303
  def with_nonreturn_void?; end
6387
7304
  end
6388
7305
 
6389
- # source://rbs//lib/rbs/types.rb#1383
7306
+ # source://rbs//lib/rbs/types.rb#1385
6390
7307
  module RBS::Types::SelfTypeBindingHelper
6391
7308
  private
6392
7309
 
6393
- # source://rbs//lib/rbs/types.rb#1386
7310
+ # source://rbs//lib/rbs/types.rb#1388
6394
7311
  def self_type_binding_to_s(t); end
6395
7312
 
6396
7313
  class << self
6397
- # source://rbs//lib/rbs/types.rb#1386
7314
+ # source://rbs//lib/rbs/types.rb#1388
6398
7315
  def self_type_binding_to_s(t); end
6399
7316
  end
6400
7317
  end
@@ -6412,7 +7329,7 @@ class RBS::Types::Tuple
6412
7329
  # source://rbs//lib/rbs/types.rb#488
6413
7330
  def each_type(&block); end
6414
7331
 
6415
- # source://rbs//lib/rbs/types.rb#451
7332
+ # source://rbs//lib/rbs/types.rb#455
6416
7333
  def eql?(other); end
6417
7334
 
6418
7335
  # source://rbs//lib/rbs/types.rb#461
@@ -6475,7 +7392,7 @@ class RBS::Types::Union
6475
7392
  # source://rbs//lib/rbs/types.rb#786
6476
7393
  def each_type(&block); end
6477
7394
 
6478
- # source://rbs//lib/rbs/types.rb#740
7395
+ # source://rbs//lib/rbs/types.rb#744
6479
7396
  def eql?(other); end
6480
7397
 
6481
7398
  # source://rbs//lib/rbs/types.rb#750
@@ -6546,7 +7463,7 @@ class RBS::Types::UntypedFunction
6546
7463
  # source://rbs//lib/rbs/types.rb#1302
6547
7464
  def empty?; end
6548
7465
 
6549
- # source://rbs//lib/rbs/types.rb#1326
7466
+ # source://rbs//lib/rbs/types.rb#1330
6550
7467
  def eql?(other); end
6551
7468
 
6552
7469
  # source://rbs//lib/rbs/types.rb#1248
@@ -6613,7 +7530,7 @@ class RBS::Types::Variable
6613
7530
  # source://rbs//lib/rbs/types.rb#144
6614
7531
  def ==(other); end
6615
7532
 
6616
- # source://rbs//lib/rbs/types.rb#144
7533
+ # source://rbs//lib/rbs/types.rb#148
6617
7534
  def eql?(other); end
6618
7535
 
6619
7536
  # source://rbs//lib/rbs/types.rb#154
@@ -6876,18 +7793,18 @@ class RBS::Vendorer
6876
7793
  def vendor_dir; end
6877
7794
  end
6878
7795
 
6879
- # source://rbs//lib/rbs/errors.rb#593
7796
+ # source://rbs//lib/rbs/errors.rb#594
6880
7797
  class RBS::WillSyntaxError < ::RBS::DefinitionError
6881
7798
  include ::RBS::DetailedMessageable
6882
7799
 
6883
7800
  # @return [WillSyntaxError] a new instance of WillSyntaxError
6884
7801
  #
6885
- # source://rbs//lib/rbs/errors.rb#598
7802
+ # source://rbs//lib/rbs/errors.rb#599
6886
7803
  def initialize(message, location:); end
6887
7804
 
6888
7805
  # Returns the value of attribute location.
6889
7806
  #
6890
- # source://rbs//lib/rbs/errors.rb#596
7807
+ # source://rbs//lib/rbs/errors.rb#597
6891
7808
  def location; end
6892
7809
  end
6893
7810