geet 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +16 -2
- data/.gitignore +0 -1
- data/.ruby-version +1 -0
- data/Gemfile +3 -6
- data/bin/geet +2 -8
- data/geet.gemspec +4 -4
- data/lib/geet/commandline/configuration.rb +0 -1
- data/lib/geet/commandline/editor.rb +0 -2
- data/lib/geet/git/repository.rb +12 -21
- data/lib/geet/github/abstract_issue.rb +0 -6
- data/lib/geet/github/api_interface.rb +0 -1
- data/lib/geet/github/issue.rb +0 -3
- data/lib/geet/github/milestone.rb +0 -2
- data/lib/geet/github/pr.rb +0 -3
- data/lib/geet/github/user.rb +0 -3
- data/lib/geet/gitlab/pr.rb +3 -1
- data/lib/geet/helpers/json_helper.rb +4 -0
- data/lib/geet/helpers/os_helper.rb +21 -7
- data/lib/geet/helpers/services_workflow_helper.rb +12 -0
- data/lib/geet/helpers/summary_helper.rb +7 -0
- data/lib/geet/services/abstract_create_issue.rb +5 -5
- data/lib/geet/services/add_upstream_repo.rb +6 -0
- data/lib/geet/services/close_milestones.rb +0 -2
- data/lib/geet/services/comment_pr.rb +0 -3
- data/lib/geet/services/create_gist.rb +0 -4
- data/lib/geet/services/create_issue.rb +0 -4
- data/lib/geet/services/create_pr.rb +4 -6
- data/lib/geet/services/list_issues.rb +0 -3
- data/lib/geet/services/merge_pr.rb +0 -2
- data/lib/geet/services/open_pr.rb +0 -3
- data/lib/geet/services/open_repo.rb +0 -2
- data/lib/geet/shared/http_error.rb +8 -2
- data/lib/geet/shared/repo_permissions.rb +7 -2
- data/lib/geet/shared/selection.rb +3 -2
- data/lib/geet/utils/attributes_selection_manager.rb +15 -4
- data/lib/geet/utils/git_client.rb +4 -1
- data/lib/geet/utils/manual_list_selection.rb +39 -14
- data/lib/geet/utils/string_matching_selection.rb +5 -0
- data/lib/geet/version.rb +1 -1
- data/lib/geet.rb +11 -0
- data/sorbet/config +3 -1
- data/sorbet/rbi/gems/{rbs@3.9.5.rbi → rbs@4.0.0.dev.5.rbi} +2013 -680
- data/sorbet/rbi/gems/require-hooks@0.2.2.rbi +110 -0
- data/sorbet/rbi/gems/{spoom@1.6.3.rbi → spoom@1.7.11.rbi} +1139 -2246
- data/sorbet/rbi/gems/{tapioca@0.16.11.rbi → tapioca@0.17.10.rbi} +721 -835
- data/sorbet/rbi/gems/tsort@0.2.0.rbi +393 -0
- data/sorbet/rbi/gems/tty-prompt@0.23.1.rbi +3300 -2
- data/sorbet/rbi/gems/zeitwerk@2.7.4.rbi +1196 -0
- data/sorbet/rbi/shims/unresolved_gem_constants.rbi +4 -0
- data/spec/integration/create_pr_spec.rb +157 -147
- data/spec/integration/merge_pr_spec.rb +84 -85
- data/spec/spec_helper.rb +1 -1
- metadata +40 -6
|
@@ -35,18 +35,21 @@ end
|
|
|
35
35
|
# That's because RubyGems does alias-method-chain for Kernel#require and such,
|
|
36
36
|
# so, if Bootsnap were to do prepend, it might end up breaking RubyGems.
|
|
37
37
|
#
|
|
38
|
-
# source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#
|
|
38
|
+
# source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#46
|
|
39
39
|
class Module
|
|
40
|
-
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#
|
|
40
|
+
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#98
|
|
41
41
|
def append_features(constant); end
|
|
42
42
|
|
|
43
|
-
# source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#
|
|
43
|
+
# source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#49
|
|
44
44
|
def autoload(const_name, path); end
|
|
45
45
|
|
|
46
|
-
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#
|
|
46
|
+
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#108
|
|
47
47
|
def extend_object(obj); end
|
|
48
48
|
|
|
49
|
-
# source://tapioca//lib/tapioca/runtime/trackers/
|
|
49
|
+
# source://tapioca//lib/tapioca/runtime/trackers/method_definition.rb#60
|
|
50
|
+
def method_added(method_name); end
|
|
51
|
+
|
|
52
|
+
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#88
|
|
50
53
|
def prepend_features(constant); end
|
|
51
54
|
end
|
|
52
55
|
|
|
@@ -55,19 +58,7 @@ module RBI; end
|
|
|
55
58
|
|
|
56
59
|
# source://tapioca//lib/tapioca/rbi_ext/model.rb#5
|
|
57
60
|
class RBI::Tree < ::RBI::NodeWithComments
|
|
58
|
-
# source://
|
|
59
|
-
def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
|
60
|
-
|
|
61
|
-
# source://rbi/0.3.7/lib/rbi/model.rb#120
|
|
62
|
-
def <<(node); end
|
|
63
|
-
|
|
64
|
-
# source://rbi/0.3.7/lib/rbi/rewriters/add_sig_templates.rb#63
|
|
65
|
-
def add_sig_templates!(with_todo_comment: T.unsafe(nil)); end
|
|
66
|
-
|
|
67
|
-
# source://rbi/0.3.7/lib/rbi/rewriters/annotate.rb#46
|
|
68
|
-
def annotate!(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end
|
|
69
|
-
|
|
70
|
-
# source://tapioca//lib/tapioca/rbi_ext/model.rb#38
|
|
61
|
+
# source://tapioca//lib/tapioca/rbi_ext/model.rb#32
|
|
71
62
|
sig do
|
|
72
63
|
params(
|
|
73
64
|
name: ::String,
|
|
@@ -77,19 +68,19 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|
|
77
68
|
end
|
|
78
69
|
def create_class(name, superclass_name: T.unsafe(nil), &block); end
|
|
79
70
|
|
|
80
|
-
# source://tapioca//lib/tapioca/rbi_ext/model.rb#
|
|
71
|
+
# source://tapioca//lib/tapioca/rbi_ext/model.rb#39
|
|
81
72
|
sig { params(name: ::String, value: ::String).void }
|
|
82
73
|
def create_constant(name, value:); end
|
|
83
74
|
|
|
84
|
-
# source://tapioca//lib/tapioca/rbi_ext/model.rb#
|
|
75
|
+
# source://tapioca//lib/tapioca/rbi_ext/model.rb#49
|
|
85
76
|
sig { params(name: ::String).void }
|
|
86
77
|
def create_extend(name); end
|
|
87
78
|
|
|
88
|
-
# source://tapioca//lib/tapioca/rbi_ext/model.rb#
|
|
79
|
+
# source://tapioca//lib/tapioca/rbi_ext/model.rb#44
|
|
89
80
|
sig { params(name: ::String).void }
|
|
90
81
|
def create_include(name); end
|
|
91
82
|
|
|
92
|
-
# source://tapioca//lib/tapioca/rbi_ext/model.rb#
|
|
83
|
+
# source://tapioca//lib/tapioca/rbi_ext/model.rb#65
|
|
93
84
|
sig do
|
|
94
85
|
params(
|
|
95
86
|
name: ::String,
|
|
@@ -103,7 +94,7 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|
|
103
94
|
end
|
|
104
95
|
def create_method(name, parameters: T.unsafe(nil), return_type: T.unsafe(nil), class_method: T.unsafe(nil), visibility: T.unsafe(nil), comments: T.unsafe(nil), &block); end
|
|
105
96
|
|
|
106
|
-
# source://tapioca//lib/tapioca/rbi_ext/model.rb#
|
|
97
|
+
# source://tapioca//lib/tapioca/rbi_ext/model.rb#54
|
|
107
98
|
sig { params(name: ::String).void }
|
|
108
99
|
def create_mixes_in_class_methods(name); end
|
|
109
100
|
|
|
@@ -112,10 +103,15 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|
|
112
103
|
def create_module(name, &block); end
|
|
113
104
|
|
|
114
105
|
# source://tapioca//lib/tapioca/rbi_ext/model.rb#9
|
|
115
|
-
sig
|
|
106
|
+
sig do
|
|
107
|
+
params(
|
|
108
|
+
constant: T::Module[T.anything],
|
|
109
|
+
block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)
|
|
110
|
+
).returns(::RBI::Scope)
|
|
111
|
+
end
|
|
116
112
|
def create_path(constant, &block); end
|
|
117
113
|
|
|
118
|
-
# source://tapioca//lib/tapioca/rbi_ext/model.rb#
|
|
114
|
+
# source://tapioca//lib/tapioca/rbi_ext/model.rb#59
|
|
119
115
|
sig do
|
|
120
116
|
params(
|
|
121
117
|
name: ::String,
|
|
@@ -128,77 +124,25 @@ class RBI::Tree < ::RBI::NodeWithComments
|
|
|
128
124
|
end
|
|
129
125
|
def create_type_variable(name, type:, variance: T.unsafe(nil), fixed: T.unsafe(nil), upper: T.unsafe(nil), lower: T.unsafe(nil)); end
|
|
130
126
|
|
|
131
|
-
# source://rbi/0.3.7/lib/rbi/rewriters/deannotate.rb#38
|
|
132
|
-
def deannotate!(annotation); end
|
|
133
|
-
|
|
134
|
-
# source://rbi/0.3.7/lib/rbi/model.rb#126
|
|
135
|
-
def empty?; end
|
|
136
|
-
|
|
137
|
-
# source://rbi/0.3.7/lib/rbi/rewriters/filter_versions.rb#113
|
|
138
|
-
def filter_versions!(version); end
|
|
139
|
-
|
|
140
|
-
# source://rbi/0.3.7/lib/rbi/rewriters/flatten_singleton_methods.rb#58
|
|
141
|
-
def flatten_singleton_methods!; end
|
|
142
|
-
|
|
143
|
-
# source://rbi/0.3.7/lib/rbi/rewriters/flatten_visibilities.rb#57
|
|
144
|
-
def flatten_visibilities!; end
|
|
145
|
-
|
|
146
|
-
# source://rbi/0.3.7/lib/rbi/rewriters/group_nodes.rb#78
|
|
147
|
-
def group_nodes!; end
|
|
148
|
-
|
|
149
|
-
# source://rbi/0.3.7/lib/rbi/index.rb#62
|
|
150
|
-
def index; end
|
|
151
|
-
|
|
152
|
-
# source://rbi/0.3.7/lib/rbi/rewriters/merge_trees.rb#323
|
|
153
|
-
def merge(other, left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end
|
|
154
|
-
|
|
155
|
-
# source://rbi/0.3.7/lib/rbi/rewriters/nest_non_public_members.rb#43
|
|
156
|
-
def nest_non_public_members!; end
|
|
157
|
-
|
|
158
|
-
# source://rbi/0.3.7/lib/rbi/rewriters/nest_singleton_methods.rb#33
|
|
159
|
-
def nest_singleton_methods!; end
|
|
160
|
-
|
|
161
|
-
# source://rbi/0.3.7/lib/rbi/rewriters/nest_top_level_members.rb#60
|
|
162
|
-
def nest_top_level_members!; end
|
|
163
|
-
|
|
164
|
-
# source://rbi/0.3.7/lib/rbi/model.rb#110
|
|
165
|
-
def nodes; end
|
|
166
|
-
|
|
167
|
-
# source://rbi/0.3.7/lib/rbi/rewriters/attr_to_methods.rb#50
|
|
168
|
-
def replace_attributes_with_methods!; end
|
|
169
|
-
|
|
170
|
-
# source://rbi/0.3.7/lib/rbi/rewriters/sort_nodes.rb#118
|
|
171
|
-
def sort_nodes!; end
|
|
172
|
-
|
|
173
|
-
# source://rbi/0.3.7/lib/rbi/rewriters/translate_rbs_sigs.rb#82
|
|
174
|
-
def translate_rbs_sigs!; end
|
|
175
|
-
|
|
176
127
|
private
|
|
177
128
|
|
|
178
|
-
# source://tapioca//lib/tapioca/rbi_ext/model.rb#
|
|
129
|
+
# source://tapioca//lib/tapioca/rbi_ext/model.rb#98
|
|
179
130
|
sig { params(node: ::RBI::Node).returns(::RBI::Node) }
|
|
180
131
|
def create_node(node); end
|
|
181
132
|
|
|
182
|
-
# source://tapioca//lib/tapioca/rbi_ext/model.rb#
|
|
133
|
+
# source://tapioca//lib/tapioca/rbi_ext/model.rb#93
|
|
183
134
|
sig { returns(T::Hash[::String, ::RBI::Node]) }
|
|
184
135
|
def nodes_cache; end
|
|
185
136
|
end
|
|
186
137
|
|
|
187
|
-
# source://tapioca//lib/tapioca/rbi_ext/model.rb#
|
|
138
|
+
# source://tapioca//lib/tapioca/rbi_ext/model.rb#108
|
|
188
139
|
class RBI::TypedParam < ::T::Struct
|
|
189
140
|
const :param, ::RBI::Param
|
|
190
141
|
const :type, ::String
|
|
191
|
-
|
|
192
|
-
class << self
|
|
193
|
-
# source://sorbet-runtime/0.6.12673/lib/types/struct.rb#13
|
|
194
|
-
def inherited(s); end
|
|
195
|
-
end
|
|
196
142
|
end
|
|
197
143
|
|
|
198
144
|
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#5
|
|
199
145
|
module T::Generic
|
|
200
|
-
include ::Kernel
|
|
201
|
-
|
|
202
146
|
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#13
|
|
203
147
|
def [](*types); end
|
|
204
148
|
|
|
@@ -360,16 +304,10 @@ end
|
|
|
360
304
|
|
|
361
305
|
# source://tapioca//lib/tapioca/sorbet_ext/name_patch.rb#7
|
|
362
306
|
module T::Types::Simple::NamePatch
|
|
363
|
-
# source://tapioca//lib/tapioca/sorbet_ext/name_patch.rb#
|
|
307
|
+
# source://tapioca//lib/tapioca/sorbet_ext/name_patch.rb#8
|
|
364
308
|
def name; end
|
|
365
|
-
|
|
366
|
-
# source://tapioca//lib/tapioca/sorbet_ext/name_patch.rb#16
|
|
367
|
-
def qualified_name_of(constant); end
|
|
368
309
|
end
|
|
369
310
|
|
|
370
|
-
# source://tapioca//lib/tapioca/sorbet_ext/name_patch.rb#8
|
|
371
|
-
T::Types::Simple::NamePatch::NAME_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
|
372
|
-
|
|
373
311
|
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#87
|
|
374
312
|
module T::Utils::Private
|
|
375
313
|
class << self
|
|
@@ -385,20 +323,9 @@ module T::Utils::Private::PrivateCoercePatch
|
|
|
385
323
|
end
|
|
386
324
|
|
|
387
325
|
# source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#4
|
|
388
|
-
module Tapioca
|
|
389
|
-
class << self
|
|
390
|
-
# source://tapioca//lib/tapioca.rb#20
|
|
391
|
-
sig do
|
|
392
|
-
type_parameters(:Result)
|
|
393
|
-
.params(
|
|
394
|
-
blk: T.proc.returns(T.type_parameter(:Result))
|
|
395
|
-
).returns(T.type_parameter(:Result))
|
|
396
|
-
end
|
|
397
|
-
def silence_warnings(&blk); end
|
|
398
|
-
end
|
|
399
|
-
end
|
|
326
|
+
module Tapioca; end
|
|
400
327
|
|
|
401
|
-
# source://tapioca//lib/tapioca.rb#
|
|
328
|
+
# source://tapioca//lib/tapioca.rb#20
|
|
402
329
|
Tapioca::BINARY_FILE = T.let(T.unsafe(nil), String)
|
|
403
330
|
|
|
404
331
|
# source://tapioca//lib/tapioca/bundler_ext/auto_require_hook.rb#5
|
|
@@ -412,7 +339,7 @@ module Tapioca::BundlerExt; end
|
|
|
412
339
|
module Tapioca::BundlerExt::AutoRequireHook
|
|
413
340
|
requires_ancestor { Bundler::Dependency }
|
|
414
341
|
|
|
415
|
-
# source://tapioca//lib/tapioca/bundler_ext/auto_require_hook.rb#
|
|
342
|
+
# source://tapioca//lib/tapioca/bundler_ext/auto_require_hook.rb#41
|
|
416
343
|
sig { returns(T.untyped) }
|
|
417
344
|
def autorequire; end
|
|
418
345
|
|
|
@@ -426,7 +353,7 @@ module Tapioca::BundlerExt::AutoRequireHook
|
|
|
426
353
|
sig { params(name: T.untyped).returns(T::Boolean) }
|
|
427
354
|
def excluded?(name); end
|
|
428
355
|
|
|
429
|
-
# source://tapioca//lib/tapioca/bundler_ext/auto_require_hook.rb#
|
|
356
|
+
# source://tapioca//lib/tapioca/bundler_ext/auto_require_hook.rb#31
|
|
430
357
|
sig do
|
|
431
358
|
type_parameters(:Result)
|
|
432
359
|
.params(
|
|
@@ -438,13 +365,13 @@ module Tapioca::BundlerExt::AutoRequireHook
|
|
|
438
365
|
end
|
|
439
366
|
end
|
|
440
367
|
|
|
441
|
-
# source://tapioca//lib/tapioca.rb#
|
|
368
|
+
# source://tapioca//lib/tapioca.rb#40
|
|
442
369
|
Tapioca::CENTRAL_REPO_ANNOTATIONS_DIR = T.let(T.unsafe(nil), String)
|
|
443
370
|
|
|
444
|
-
# source://tapioca//lib/tapioca.rb#
|
|
371
|
+
# source://tapioca//lib/tapioca.rb#39
|
|
445
372
|
Tapioca::CENTRAL_REPO_INDEX_PATH = T.let(T.unsafe(nil), String)
|
|
446
373
|
|
|
447
|
-
# source://tapioca//lib/tapioca.rb#
|
|
374
|
+
# source://tapioca//lib/tapioca.rb#38
|
|
448
375
|
Tapioca::CENTRAL_REPO_ROOT_URI = T.let(T.unsafe(nil), String)
|
|
449
376
|
|
|
450
377
|
# source://tapioca//lib/tapioca/cli.rb#5
|
|
@@ -453,13 +380,13 @@ class Tapioca::Cli < ::Thor
|
|
|
453
380
|
include ::Tapioca::ConfigHelper
|
|
454
381
|
include ::Tapioca::EnvHelper
|
|
455
382
|
|
|
456
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
|
383
|
+
# source://tapioca//lib/tapioca/cli.rb#373
|
|
457
384
|
def __print_version; end
|
|
458
385
|
|
|
459
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
|
386
|
+
# source://tapioca//lib/tapioca/cli.rb#355
|
|
460
387
|
def annotations; end
|
|
461
388
|
|
|
462
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
|
389
|
+
# source://tapioca//lib/tapioca/cli.rb#327
|
|
463
390
|
def check_shims; end
|
|
464
391
|
|
|
465
392
|
# source://tapioca//lib/tapioca/cli.rb#46
|
|
@@ -484,18 +411,18 @@ class Tapioca::Cli < ::Thor
|
|
|
484
411
|
|
|
485
412
|
private
|
|
486
413
|
|
|
487
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
|
414
|
+
# source://tapioca//lib/tapioca/cli.rb#400
|
|
488
415
|
def print_init_next_steps; end
|
|
489
416
|
|
|
490
417
|
class << self
|
|
491
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
|
418
|
+
# source://tapioca//lib/tapioca/cli.rb#384
|
|
492
419
|
def addon_mode; end
|
|
493
420
|
|
|
494
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
|
421
|
+
# source://tapioca//lib/tapioca/cli.rb#387
|
|
495
422
|
sig { void }
|
|
496
423
|
def addon_mode!; end
|
|
497
424
|
|
|
498
|
-
# source://tapioca//lib/tapioca/cli.rb#
|
|
425
|
+
# source://tapioca//lib/tapioca/cli.rb#392
|
|
499
426
|
sig { returns(T::Boolean) }
|
|
500
427
|
def exit_on_failure?; end
|
|
501
428
|
end
|
|
@@ -524,7 +451,7 @@ end
|
|
|
524
451
|
# source://tapioca//lib/tapioca/commands.rb#5
|
|
525
452
|
module Tapioca::Commands; end
|
|
526
453
|
|
|
527
|
-
# @abstract
|
|
454
|
+
# @abstract
|
|
528
455
|
#
|
|
529
456
|
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#6
|
|
530
457
|
class Tapioca::Commands::AbstractDsl < ::Tapioca::Commands::CommandWithoutTracker
|
|
@@ -533,7 +460,7 @@ class Tapioca::Commands::AbstractDsl < ::Tapioca::Commands::CommandWithoutTracke
|
|
|
533
460
|
|
|
534
461
|
abstract!
|
|
535
462
|
|
|
536
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
463
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#15
|
|
537
464
|
sig do
|
|
538
465
|
params(
|
|
539
466
|
requested_constants: T::Array[::String],
|
|
@@ -560,15 +487,15 @@ class Tapioca::Commands::AbstractDsl < ::Tapioca::Commands::CommandWithoutTracke
|
|
|
560
487
|
|
|
561
488
|
private
|
|
562
489
|
|
|
563
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
490
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#88
|
|
564
491
|
sig { returns(T::Array[::String]) }
|
|
565
492
|
def all_requested_constants; end
|
|
566
493
|
|
|
567
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
494
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#284
|
|
568
495
|
sig { params(cause: ::Symbol, files: T::Array[::String]).returns(::String) }
|
|
569
496
|
def build_error_for_files(cause, files); end
|
|
570
497
|
|
|
571
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
498
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#208
|
|
572
499
|
sig do
|
|
573
500
|
params(
|
|
574
501
|
constant_name: ::String,
|
|
@@ -579,80 +506,85 @@ class Tapioca::Commands::AbstractDsl < ::Tapioca::Commands::CommandWithoutTracke
|
|
|
579
506
|
end
|
|
580
507
|
def compile_dsl_rbi(constant_name, rbi, outpath: T.unsafe(nil), quiet: T.unsafe(nil)); end
|
|
581
508
|
|
|
582
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
583
|
-
sig
|
|
509
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#150
|
|
510
|
+
sig do
|
|
511
|
+
params(
|
|
512
|
+
constant_names: T::Array[::String],
|
|
513
|
+
ignore_missing: T::Boolean
|
|
514
|
+
).returns(T::Array[T::Module[T.anything]])
|
|
515
|
+
end
|
|
584
516
|
def constantize(constant_names, ignore_missing: T.unsafe(nil)); end
|
|
585
517
|
|
|
586
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
518
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#175
|
|
587
519
|
sig { params(compiler_names: T::Array[::String]).returns(T::Array[T.class_of(Tapioca::Dsl::Compiler)]) }
|
|
588
520
|
def constantize_compilers(compiler_names); end
|
|
589
521
|
|
|
590
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
522
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#344
|
|
591
523
|
sig { returns(T::Array[::String]) }
|
|
592
524
|
def constants_from_requested_paths; end
|
|
593
525
|
|
|
594
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
526
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#111
|
|
595
527
|
sig { returns(::Tapioca::Dsl::Pipeline) }
|
|
596
528
|
def create_pipeline; end
|
|
597
529
|
|
|
598
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
530
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#247
|
|
599
531
|
sig { params(constant_name: ::String).returns(::Pathname) }
|
|
600
532
|
def dsl_rbi_filename(constant_name); end
|
|
601
533
|
|
|
602
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
534
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#136
|
|
603
535
|
sig { params(requested_constants: T::Array[::String], path: ::Pathname).returns(T::Set[::Pathname]) }
|
|
604
536
|
def existing_rbi_filenames(requested_constants, path: T.unsafe(nil)); end
|
|
605
537
|
|
|
606
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
538
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#339
|
|
607
539
|
sig { params(constant: ::String).returns(::String) }
|
|
608
540
|
def generate_command_for(constant); end
|
|
609
541
|
|
|
610
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
542
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#60
|
|
611
543
|
sig { params(outpath: ::Pathname, quiet: T::Boolean).returns(T::Set[::Pathname]) }
|
|
612
544
|
def generate_dsl_rbi_files(outpath, quiet:); end
|
|
613
545
|
|
|
614
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
546
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#98
|
|
615
547
|
sig { void }
|
|
616
548
|
def load_application; end
|
|
617
549
|
|
|
618
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
550
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#226
|
|
619
551
|
sig { params(dir: ::Pathname).void }
|
|
620
552
|
def perform_dsl_verification(dir); end
|
|
621
553
|
|
|
622
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
554
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#93
|
|
623
555
|
sig { returns(::Tapioca::Dsl::Pipeline) }
|
|
624
556
|
def pipeline; end
|
|
625
557
|
|
|
626
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
558
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#235
|
|
627
559
|
sig { params(files: T::Set[::Pathname]).void }
|
|
628
560
|
def purge_stale_dsl_rbi_files(files); end
|
|
629
561
|
|
|
630
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
562
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#334
|
|
631
563
|
sig { params(constant: ::String).returns(::String) }
|
|
632
564
|
def rbi_filename_for(constant); end
|
|
633
565
|
|
|
634
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
566
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#315
|
|
635
567
|
sig { params(path: ::Pathname).returns(T::Array[::Pathname]) }
|
|
636
568
|
def rbi_files_in(path); end
|
|
637
569
|
|
|
638
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
570
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#293
|
|
639
571
|
sig { params(diff: T::Hash[::String, ::Symbol], command: ::Symbol).void }
|
|
640
572
|
def report_diff_and_exit_if_out_of_date(diff, command); end
|
|
641
573
|
|
|
642
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
574
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#195
|
|
643
575
|
sig { params(name: ::String).returns(T.nilable(T.class_of(Tapioca::Dsl::Compiler))) }
|
|
644
576
|
def resolve(name); end
|
|
645
577
|
|
|
646
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
578
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#322
|
|
647
579
|
sig { params(class_name: ::String).returns(::String) }
|
|
648
580
|
def underscore(class_name); end
|
|
649
581
|
|
|
650
|
-
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#
|
|
582
|
+
# source://tapioca//lib/tapioca/commands/abstract_dsl.rb#252
|
|
651
583
|
sig { params(tmp_dir: ::Pathname).returns(T::Hash[::String, ::Symbol]) }
|
|
652
584
|
def verify_dsl_rbi(tmp_dir:); end
|
|
653
585
|
end
|
|
654
586
|
|
|
655
|
-
# @abstract
|
|
587
|
+
# @abstract
|
|
656
588
|
#
|
|
657
589
|
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#6
|
|
658
590
|
class Tapioca::Commands::AbstractGem < ::Tapioca::Commands::Command
|
|
@@ -661,7 +593,7 @@ class Tapioca::Commands::AbstractGem < ::Tapioca::Commands::Command
|
|
|
661
593
|
|
|
662
594
|
abstract!
|
|
663
595
|
|
|
664
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
|
596
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#15
|
|
665
597
|
sig do
|
|
666
598
|
params(
|
|
667
599
|
gem_names: T::Array[::String],
|
|
@@ -680,77 +612,78 @@ class Tapioca::Commands::AbstractGem < ::Tapioca::Commands::Command
|
|
|
680
612
|
dsl_dir: ::String,
|
|
681
613
|
rbi_formatter: ::Tapioca::RBIFormatter,
|
|
682
614
|
halt_upon_load_error: T::Boolean,
|
|
683
|
-
lsp_addon: T.nilable(T::Boolean)
|
|
615
|
+
lsp_addon: T.nilable(T::Boolean),
|
|
616
|
+
verbose: T.nilable(T::Boolean)
|
|
684
617
|
).void
|
|
685
618
|
end
|
|
686
|
-
def initialize(gem_names:, exclude:, include_dependencies:, prerequire:, postrequire:, typed_overrides:, outpath:, file_header:, include_doc:, include_loc:, include_exported_rbis:, number_of_workers: T.unsafe(nil), auto_strictness: T.unsafe(nil), dsl_dir: T.unsafe(nil), rbi_formatter: T.unsafe(nil), halt_upon_load_error: T.unsafe(nil), lsp_addon: T.unsafe(nil)); end
|
|
619
|
+
def initialize(gem_names:, exclude:, include_dependencies:, prerequire:, postrequire:, typed_overrides:, outpath:, file_header:, include_doc:, include_loc:, include_exported_rbis:, number_of_workers: T.unsafe(nil), auto_strictness: T.unsafe(nil), dsl_dir: T.unsafe(nil), rbi_formatter: T.unsafe(nil), halt_upon_load_error: T.unsafe(nil), lsp_addon: T.unsafe(nil), verbose: T.unsafe(nil)); end
|
|
687
620
|
|
|
688
621
|
private
|
|
689
622
|
|
|
690
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
|
623
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#185
|
|
691
624
|
sig { returns(T::Array[::String]) }
|
|
692
625
|
def added_rbis; end
|
|
693
626
|
|
|
694
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
|
627
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#246
|
|
695
628
|
sig { params(cause: ::Symbol, files: T::Array[::String]).returns(::String) }
|
|
696
629
|
def build_error_for_files(cause, files); end
|
|
697
630
|
|
|
698
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
|
631
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#64
|
|
699
632
|
sig { params(gem: ::Tapioca::Gemfile::GemSpec).void }
|
|
700
633
|
def compile_gem_rbi(gem); end
|
|
701
634
|
|
|
702
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
|
635
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#180
|
|
703
636
|
sig { params(gem_name: ::String).returns(::Pathname) }
|
|
704
637
|
def existing_rbi(gem_name); end
|
|
705
638
|
|
|
706
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
|
639
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#228
|
|
707
640
|
sig { returns(T::Hash[::String, ::String]) }
|
|
708
641
|
def existing_rbis; end
|
|
709
642
|
|
|
710
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
|
643
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#192
|
|
711
644
|
sig { params(gem_name: ::String).returns(::Pathname) }
|
|
712
645
|
def expected_rbi(gem_name); end
|
|
713
646
|
|
|
714
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
|
647
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#234
|
|
715
648
|
sig { returns(T::Hash[::String, ::String]) }
|
|
716
649
|
def expected_rbis; end
|
|
717
650
|
|
|
718
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
|
651
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#197
|
|
719
652
|
sig { params(gem_name: ::String).returns(T::Boolean) }
|
|
720
653
|
def gem_rbi_exists?(gem_name); end
|
|
721
654
|
|
|
722
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
|
655
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#241
|
|
723
656
|
sig { params(gem_name: ::String, version: ::String).returns(::Pathname) }
|
|
724
657
|
def gem_rbi_filename(gem_name, version); end
|
|
725
658
|
|
|
726
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
|
659
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#251
|
|
727
660
|
sig { params(gem: ::Tapioca::Gemfile::GemSpec, file: ::RBI::File).void }
|
|
728
661
|
def merge_with_exported_rbi(gem, file); end
|
|
729
662
|
|
|
730
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
|
663
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#222
|
|
731
664
|
sig { params(old_filename: ::Pathname, new_filename: ::Pathname).void }
|
|
732
665
|
def move(old_filename, new_filename); end
|
|
733
666
|
|
|
734
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
|
667
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#132
|
|
735
668
|
sig { void }
|
|
736
669
|
def perform_additions; end
|
|
737
670
|
|
|
738
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
|
671
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#105
|
|
739
672
|
sig { void }
|
|
740
673
|
def perform_removals; end
|
|
741
674
|
|
|
742
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
|
675
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#175
|
|
743
676
|
sig { returns(T::Array[::String]) }
|
|
744
677
|
def removed_rbis; end
|
|
745
678
|
|
|
746
|
-
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#
|
|
679
|
+
# source://tapioca//lib/tapioca/commands/abstract_gem.rb#202
|
|
747
680
|
sig { params(diff: T::Hash[::String, ::Symbol], command: ::Symbol).void }
|
|
748
681
|
def report_diff_and_exit_if_out_of_date(diff, command); end
|
|
749
682
|
end
|
|
750
683
|
|
|
751
684
|
# source://tapioca//lib/tapioca/commands/annotations.rb#6
|
|
752
685
|
class Tapioca::Commands::Annotations < ::Tapioca::Commands::CommandWithoutTracker
|
|
753
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
686
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#10
|
|
754
687
|
sig do
|
|
755
688
|
params(
|
|
756
689
|
central_repo_root_uris: T::Array[::String],
|
|
@@ -764,71 +697,71 @@ class Tapioca::Commands::Annotations < ::Tapioca::Commands::CommandWithoutTracke
|
|
|
764
697
|
|
|
765
698
|
private
|
|
766
699
|
|
|
767
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
700
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#192
|
|
768
701
|
sig { params(name: ::String, content: ::String).returns(::String) }
|
|
769
702
|
def add_header(name, content); end
|
|
770
703
|
|
|
771
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
704
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#212
|
|
772
705
|
sig { params(name: ::String, content: ::String).returns(::String) }
|
|
773
706
|
def apply_typed_override(name, content); end
|
|
774
707
|
|
|
775
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
708
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#32
|
|
776
709
|
sig { override.void }
|
|
777
710
|
def execute; end
|
|
778
711
|
|
|
779
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
780
|
-
sig { params(repo_uris: T::Array[::String], gem_info: ::Tapioca::GemInfo).
|
|
712
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#130
|
|
713
|
+
sig { params(repo_uris: T::Array[::String], gem_info: ::Tapioca::GemInfo).returns(T::Boolean) }
|
|
781
714
|
def fetch_annotation(repo_uris, gem_info); end
|
|
782
715
|
|
|
783
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
716
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#107
|
|
784
717
|
sig { params(project_gems: T::Array[::Tapioca::GemInfo]).returns(T::Array[::String]) }
|
|
785
718
|
def fetch_annotations(project_gems); end
|
|
786
719
|
|
|
787
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
720
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#151
|
|
788
721
|
sig { params(repo_uri: ::String, path: ::String).returns(T.nilable(::String)) }
|
|
789
722
|
def fetch_file(repo_uri, path); end
|
|
790
723
|
|
|
791
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
724
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#168
|
|
792
725
|
sig { params(repo_uri: ::String, path: ::String).returns(T.nilable(::String)) }
|
|
793
726
|
def fetch_http_file(repo_uri, path); end
|
|
794
727
|
|
|
795
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
796
|
-
sig { params(repo_uri: ::String, repo_number: T.nilable(::Integer)).returns(T.nilable(Tapioca::RepoIndex)) }
|
|
728
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#96
|
|
729
|
+
sig { params(repo_uri: ::String, repo_number: T.nilable(::Integer)).returns(T.nilable(::Tapioca::RepoIndex)) }
|
|
797
730
|
def fetch_index(repo_uri, repo_number:); end
|
|
798
731
|
|
|
799
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
800
|
-
sig { returns(T::Hash[::String, Tapioca::RepoIndex]) }
|
|
732
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#75
|
|
733
|
+
sig { returns(T::Hash[::String, ::Tapioca::RepoIndex]) }
|
|
801
734
|
def fetch_indexes; end
|
|
802
735
|
|
|
803
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
736
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#160
|
|
804
737
|
sig { params(repo_uri: ::String, path: ::String).returns(T.nilable(::String)) }
|
|
805
738
|
def fetch_local_file(repo_uri, path); end
|
|
806
739
|
|
|
807
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
740
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#224
|
|
808
741
|
sig { params(gem_version: ::Gem::Version, content: ::String).returns(::String) }
|
|
809
742
|
def filter_versions(gem_version, content); end
|
|
810
743
|
|
|
811
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
744
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#43
|
|
812
745
|
sig { returns(T::Array[::Tapioca::GemInfo]) }
|
|
813
746
|
def list_gemfile_gems; end
|
|
814
747
|
|
|
815
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
748
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#232
|
|
816
749
|
sig { params(gem_name: ::String, contents: T::Array[::String]).returns(T.nilable(::String)) }
|
|
817
750
|
def merge_files(gem_name, contents); end
|
|
818
751
|
|
|
819
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
752
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#54
|
|
820
753
|
sig { params(project_gems: T::Array[::Tapioca::GemInfo]).void }
|
|
821
754
|
def remove_expired_annotations(project_gems); end
|
|
822
755
|
|
|
823
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
756
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#259
|
|
824
757
|
sig { returns(T::Hash[::String, T.nilable(::String)]) }
|
|
825
758
|
def repo_tokens; end
|
|
826
759
|
|
|
827
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
760
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#287
|
|
828
761
|
sig { params(path: ::String, repo_uri: ::String, message: ::String).void }
|
|
829
762
|
def say_http_error(path, repo_uri, message:); end
|
|
830
763
|
|
|
831
|
-
# source://tapioca//lib/tapioca/commands/annotations.rb#
|
|
764
|
+
# source://tapioca//lib/tapioca/commands/annotations.rb#271
|
|
832
765
|
sig { params(repo_uri: ::String).returns(T.nilable(::String)) }
|
|
833
766
|
def token_for(repo_uri); end
|
|
834
767
|
end
|
|
@@ -838,7 +771,7 @@ class Tapioca::Commands::CheckShims < ::Tapioca::Commands::CommandWithoutTracker
|
|
|
838
771
|
include ::Tapioca::SorbetHelper
|
|
839
772
|
include ::Tapioca::RBIFilesHelper
|
|
840
773
|
|
|
841
|
-
# source://tapioca//lib/tapioca/commands/check_shims.rb#
|
|
774
|
+
# source://tapioca//lib/tapioca/commands/check_shims.rb#12
|
|
842
775
|
sig do
|
|
843
776
|
params(
|
|
844
777
|
gem_rbi_dir: ::String,
|
|
@@ -854,12 +787,12 @@ class Tapioca::Commands::CheckShims < ::Tapioca::Commands::CommandWithoutTracker
|
|
|
854
787
|
|
|
855
788
|
private
|
|
856
789
|
|
|
857
|
-
# source://tapioca//lib/tapioca/commands/check_shims.rb#
|
|
790
|
+
# source://tapioca//lib/tapioca/commands/check_shims.rb#35
|
|
858
791
|
sig { override.void }
|
|
859
792
|
def execute; end
|
|
860
793
|
end
|
|
861
794
|
|
|
862
|
-
# @abstract
|
|
795
|
+
# @abstract
|
|
863
796
|
#
|
|
864
797
|
# source://tapioca//lib/tapioca/commands/command.rb#6
|
|
865
798
|
class Tapioca::Commands::Command
|
|
@@ -876,17 +809,17 @@ class Tapioca::Commands::Command
|
|
|
876
809
|
sig { void }
|
|
877
810
|
def initialize; end
|
|
878
811
|
|
|
879
|
-
# source://
|
|
812
|
+
# source://tapioca//lib/tapioca/commands/command.rb#44
|
|
880
813
|
sig { returns(::Thor::Actions) }
|
|
881
814
|
def file_writer; end
|
|
882
815
|
|
|
883
|
-
# source://tapioca//lib/tapioca/commands/command.rb#
|
|
816
|
+
# source://tapioca//lib/tapioca/commands/command.rb#26
|
|
884
817
|
sig(:final) { void }
|
|
885
818
|
def run; end
|
|
886
819
|
|
|
887
820
|
private
|
|
888
821
|
|
|
889
|
-
# source://tapioca//lib/tapioca/commands/command.rb#
|
|
822
|
+
# source://tapioca//lib/tapioca/commands/command.rb#47
|
|
890
823
|
sig do
|
|
891
824
|
params(
|
|
892
825
|
path: T.any(::Pathname, ::String),
|
|
@@ -898,28 +831,29 @@ class Tapioca::Commands::Command
|
|
|
898
831
|
end
|
|
899
832
|
def create_file(path, content, force: T.unsafe(nil), skip: T.unsafe(nil), verbose: T.unsafe(nil)); end
|
|
900
833
|
|
|
901
|
-
# source://tapioca//lib/tapioca/commands/command.rb#
|
|
834
|
+
# source://tapioca//lib/tapioca/commands/command.rb#39
|
|
902
835
|
sig { params(command: ::Symbol, args: ::String).returns(::String) }
|
|
903
836
|
def default_command(command, *args); end
|
|
904
837
|
|
|
905
838
|
# @abstract
|
|
839
|
+
# @raise [NotImplementedError]
|
|
906
840
|
#
|
|
907
|
-
# source://tapioca//lib/tapioca/commands/command.rb#
|
|
841
|
+
# source://tapioca//lib/tapioca/commands/command.rb#36
|
|
908
842
|
sig { abstract.void }
|
|
909
843
|
def execute; end
|
|
910
844
|
|
|
911
|
-
# source://tapioca//lib/tapioca/commands/command.rb#
|
|
845
|
+
# source://tapioca//lib/tapioca/commands/command.rb#52
|
|
912
846
|
sig { params(path: T.any(::Pathname, ::String), verbose: T::Boolean).void }
|
|
913
847
|
def remove_file(path, verbose: T.unsafe(nil)); end
|
|
914
848
|
end
|
|
915
849
|
|
|
916
|
-
# source://tapioca//lib/tapioca/commands/command.rb#
|
|
850
|
+
# source://tapioca//lib/tapioca/commands/command.rb#12
|
|
917
851
|
class Tapioca::Commands::Command::FileWriter < ::Thor
|
|
918
852
|
include ::Thor::Actions
|
|
919
853
|
extend ::Thor::Actions::ClassMethods
|
|
920
854
|
end
|
|
921
855
|
|
|
922
|
-
# @abstract
|
|
856
|
+
# @abstract
|
|
923
857
|
#
|
|
924
858
|
# source://tapioca//lib/tapioca/commands/command_without_tracker.rb#6
|
|
925
859
|
class Tapioca::Commands::CommandWithoutTracker < ::Tapioca::Commands::Command
|
|
@@ -932,37 +866,37 @@ end
|
|
|
932
866
|
|
|
933
867
|
# source://tapioca//lib/tapioca/commands/configure.rb#6
|
|
934
868
|
class Tapioca::Commands::Configure < ::Tapioca::Commands::CommandWithoutTracker
|
|
935
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#
|
|
869
|
+
# source://tapioca//lib/tapioca/commands/configure.rb#8
|
|
936
870
|
sig { params(sorbet_config: ::String, tapioca_config: ::String, default_postrequire: ::String).void }
|
|
937
871
|
def initialize(sorbet_config:, tapioca_config:, default_postrequire:); end
|
|
938
872
|
|
|
939
873
|
private
|
|
940
874
|
|
|
941
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#
|
|
875
|
+
# source://tapioca//lib/tapioca/commands/configure.rb#74
|
|
942
876
|
sig { void }
|
|
943
877
|
def create_binstub; end
|
|
944
878
|
|
|
945
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#
|
|
879
|
+
# source://tapioca//lib/tapioca/commands/configure.rb#64
|
|
946
880
|
sig { void }
|
|
947
881
|
def create_post_require; end
|
|
948
882
|
|
|
949
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#
|
|
883
|
+
# source://tapioca//lib/tapioca/commands/configure.rb#35
|
|
950
884
|
sig { void }
|
|
951
885
|
def create_sorbet_config; end
|
|
952
886
|
|
|
953
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#
|
|
887
|
+
# source://tapioca//lib/tapioca/commands/configure.rb#45
|
|
954
888
|
sig { void }
|
|
955
889
|
def create_tapioca_config; end
|
|
956
890
|
|
|
957
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#
|
|
891
|
+
# source://tapioca//lib/tapioca/commands/configure.rb#27
|
|
958
892
|
sig { override.void }
|
|
959
893
|
def execute; end
|
|
960
894
|
|
|
961
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#
|
|
895
|
+
# source://tapioca//lib/tapioca/commands/configure.rb#87
|
|
962
896
|
sig { returns(::Bundler::Installer) }
|
|
963
897
|
def installer; end
|
|
964
898
|
|
|
965
|
-
# source://tapioca//lib/tapioca/commands/configure.rb#
|
|
899
|
+
# source://tapioca//lib/tapioca/commands/configure.rb#92
|
|
966
900
|
sig { returns(T.any(::Bundler::StubSpecification, ::Gem::Specification)) }
|
|
967
901
|
def spec; end
|
|
968
902
|
end
|
|
@@ -971,7 +905,7 @@ end
|
|
|
971
905
|
class Tapioca::Commands::DslCompilerList < ::Tapioca::Commands::AbstractDsl
|
|
972
906
|
private
|
|
973
907
|
|
|
974
|
-
# source://tapioca//lib/tapioca/commands/dsl_compiler_list.rb#
|
|
908
|
+
# source://tapioca//lib/tapioca/commands/dsl_compiler_list.rb#11
|
|
975
909
|
sig { override.void }
|
|
976
910
|
def execute; end
|
|
977
911
|
end
|
|
@@ -980,7 +914,7 @@ end
|
|
|
980
914
|
class Tapioca::Commands::DslGenerate < ::Tapioca::Commands::AbstractDsl
|
|
981
915
|
private
|
|
982
916
|
|
|
983
|
-
# source://tapioca//lib/tapioca/commands/dsl_generate.rb#
|
|
917
|
+
# source://tapioca//lib/tapioca/commands/dsl_generate.rb#11
|
|
984
918
|
sig { override.void }
|
|
985
919
|
def execute; end
|
|
986
920
|
end
|
|
@@ -989,7 +923,7 @@ end
|
|
|
989
923
|
class Tapioca::Commands::DslVerify < ::Tapioca::Commands::AbstractDsl
|
|
990
924
|
private
|
|
991
925
|
|
|
992
|
-
# source://tapioca//lib/tapioca/commands/dsl_verify.rb#
|
|
926
|
+
# source://tapioca//lib/tapioca/commands/dsl_verify.rb#11
|
|
993
927
|
sig { override.void }
|
|
994
928
|
def execute; end
|
|
995
929
|
end
|
|
@@ -998,11 +932,11 @@ end
|
|
|
998
932
|
class Tapioca::Commands::GemGenerate < ::Tapioca::Commands::AbstractGem
|
|
999
933
|
private
|
|
1000
934
|
|
|
1001
|
-
# source://tapioca//lib/tapioca/commands/gem_generate.rb#
|
|
935
|
+
# source://tapioca//lib/tapioca/commands/gem_generate.rb#11
|
|
1002
936
|
sig { override.void }
|
|
1003
937
|
def execute; end
|
|
1004
938
|
|
|
1005
|
-
# source://tapioca//lib/tapioca/commands/gem_generate.rb#
|
|
939
|
+
# source://tapioca//lib/tapioca/commands/gem_generate.rb#70
|
|
1006
940
|
sig do
|
|
1007
941
|
params(
|
|
1008
942
|
gem: ::Tapioca::Gemfile::GemSpec,
|
|
@@ -1011,7 +945,7 @@ class Tapioca::Commands::GemGenerate < ::Tapioca::Commands::AbstractGem
|
|
|
1011
945
|
end
|
|
1012
946
|
def gem_dependencies(gem, dependencies = T.unsafe(nil)); end
|
|
1013
947
|
|
|
1014
|
-
# source://tapioca//lib/tapioca/commands/gem_generate.rb#
|
|
948
|
+
# source://tapioca//lib/tapioca/commands/gem_generate.rb#52
|
|
1015
949
|
sig { params(gem_names: T::Array[::String]).returns(T::Array[::Tapioca::Gemfile::GemSpec]) }
|
|
1016
950
|
def gems_to_generate(gem_names); end
|
|
1017
951
|
end
|
|
@@ -1020,7 +954,7 @@ end
|
|
|
1020
954
|
class Tapioca::Commands::GemSync < ::Tapioca::Commands::AbstractGem
|
|
1021
955
|
private
|
|
1022
956
|
|
|
1023
|
-
# source://tapioca//lib/tapioca/commands/gem_sync.rb#
|
|
957
|
+
# source://tapioca//lib/tapioca/commands/gem_sync.rb#11
|
|
1024
958
|
sig { override.void }
|
|
1025
959
|
def execute; end
|
|
1026
960
|
end
|
|
@@ -1029,24 +963,24 @@ end
|
|
|
1029
963
|
class Tapioca::Commands::GemVerify < ::Tapioca::Commands::AbstractGem
|
|
1030
964
|
private
|
|
1031
965
|
|
|
1032
|
-
# source://tapioca//lib/tapioca/commands/gem_verify.rb#
|
|
966
|
+
# source://tapioca//lib/tapioca/commands/gem_verify.rb#11
|
|
1033
967
|
sig { override.void }
|
|
1034
968
|
def execute; end
|
|
1035
969
|
|
|
1036
|
-
# source://tapioca//lib/tapioca/commands/gem_verify.rb#
|
|
970
|
+
# source://tapioca//lib/tapioca/commands/gem_verify.rb#18
|
|
1037
971
|
sig { void }
|
|
1038
972
|
def perform_sync_verification; end
|
|
1039
973
|
end
|
|
1040
974
|
|
|
1041
975
|
# source://tapioca//lib/tapioca/commands/require.rb#6
|
|
1042
976
|
class Tapioca::Commands::Require < ::Tapioca::Commands::CommandWithoutTracker
|
|
1043
|
-
# source://tapioca//lib/tapioca/commands/require.rb#
|
|
977
|
+
# source://tapioca//lib/tapioca/commands/require.rb#8
|
|
1044
978
|
sig { params(requires_path: ::String, sorbet_config_path: ::String).void }
|
|
1045
979
|
def initialize(requires_path:, sorbet_config_path:); end
|
|
1046
980
|
|
|
1047
981
|
private
|
|
1048
982
|
|
|
1049
|
-
# source://tapioca//lib/tapioca/commands/require.rb#
|
|
983
|
+
# source://tapioca//lib/tapioca/commands/require.rb#19
|
|
1050
984
|
sig { override.void }
|
|
1051
985
|
def execute; end
|
|
1052
986
|
end
|
|
@@ -1055,25 +989,25 @@ end
|
|
|
1055
989
|
class Tapioca::Commands::Todo < ::Tapioca::Commands::CommandWithoutTracker
|
|
1056
990
|
include ::Tapioca::SorbetHelper
|
|
1057
991
|
|
|
1058
|
-
# source://tapioca//lib/tapioca/commands/todo.rb#
|
|
992
|
+
# source://tapioca//lib/tapioca/commands/todo.rb#21
|
|
1059
993
|
sig { params(todo_file: ::String, file_header: T::Boolean).void }
|
|
1060
994
|
def initialize(todo_file:, file_header:); end
|
|
1061
995
|
|
|
1062
|
-
# source://tapioca//lib/tapioca/commands/todo.rb#
|
|
996
|
+
# source://tapioca//lib/tapioca/commands/todo.rb#29
|
|
1063
997
|
sig { void }
|
|
1064
998
|
def run_with_deprecation; end
|
|
1065
999
|
|
|
1066
1000
|
private
|
|
1067
1001
|
|
|
1068
|
-
# source://tapioca//lib/tapioca/commands/todo.rb#
|
|
1002
|
+
# source://tapioca//lib/tapioca/commands/todo.rb#40
|
|
1069
1003
|
sig { override.void }
|
|
1070
1004
|
def execute; end
|
|
1071
1005
|
|
|
1072
|
-
# source://tapioca//lib/tapioca/commands/todo.rb#
|
|
1006
|
+
# source://tapioca//lib/tapioca/commands/todo.rb#64
|
|
1073
1007
|
sig { params(constants: T::Array[::String], command: ::String).returns(::RBI::File) }
|
|
1074
1008
|
def rbi(constants, command:); end
|
|
1075
1009
|
|
|
1076
|
-
# source://tapioca//lib/tapioca/commands/todo.rb#
|
|
1010
|
+
# source://tapioca//lib/tapioca/commands/todo.rb#84
|
|
1077
1011
|
sig { returns(T::Array[::String]) }
|
|
1078
1012
|
def unresolved_constants; end
|
|
1079
1013
|
end
|
|
@@ -1103,11 +1037,11 @@ module Tapioca::ConfigHelper
|
|
|
1103
1037
|
|
|
1104
1038
|
private
|
|
1105
1039
|
|
|
1106
|
-
# source://tapioca//lib/tapioca/helpers/config_helper.rb#
|
|
1040
|
+
# source://tapioca//lib/tapioca/helpers/config_helper.rb#147
|
|
1107
1041
|
sig { params(msg: ::String).returns(::Tapioca::ConfigHelper::ConfigError) }
|
|
1108
1042
|
def build_error(msg); end
|
|
1109
1043
|
|
|
1110
|
-
# source://tapioca//lib/tapioca/helpers/config_helper.rb#
|
|
1044
|
+
# source://tapioca//lib/tapioca/helpers/config_helper.rb#172
|
|
1111
1045
|
sig { params(config_file: ::String, errors: T::Array[::Tapioca::ConfigHelper::ConfigError]).returns(::String) }
|
|
1112
1046
|
def build_error_message(config_file, errors); end
|
|
1113
1047
|
|
|
@@ -1123,7 +1057,7 @@ module Tapioca::ConfigHelper
|
|
|
1123
1057
|
sig { params(options: T::Hash[::Symbol, ::Thor::Option]).void }
|
|
1124
1058
|
def filter_defaults(options); end
|
|
1125
1059
|
|
|
1126
|
-
# source://tapioca//lib/tapioca/helpers/config_helper.rb#
|
|
1060
|
+
# source://tapioca//lib/tapioca/helpers/config_helper.rb#187
|
|
1127
1061
|
sig do
|
|
1128
1062
|
params(
|
|
1129
1063
|
options: T.nilable(::Thor::CoreExt::HashWithIndifferentAccess)
|
|
@@ -1135,7 +1069,7 @@ module Tapioca::ConfigHelper
|
|
|
1135
1069
|
sig { params(config_file: ::String, config: T::Hash[T.untyped, T.untyped]).void }
|
|
1136
1070
|
def validate_config!(config_file, config); end
|
|
1137
1071
|
|
|
1138
|
-
# source://tapioca//lib/tapioca/helpers/config_helper.rb#
|
|
1072
|
+
# source://tapioca//lib/tapioca/helpers/config_helper.rb#96
|
|
1139
1073
|
sig do
|
|
1140
1074
|
params(
|
|
1141
1075
|
command_options: T::Hash[::Symbol, ::Thor::Option],
|
|
@@ -1146,64 +1080,54 @@ module Tapioca::ConfigHelper
|
|
|
1146
1080
|
def validate_config_options(command_options, config_key, config_options); end
|
|
1147
1081
|
end
|
|
1148
1082
|
|
|
1149
|
-
# source://tapioca//lib/tapioca/helpers/config_helper.rb#
|
|
1083
|
+
# source://tapioca//lib/tapioca/helpers/config_helper.rb#142
|
|
1150
1084
|
class Tapioca::ConfigHelper::ConfigError < ::T::Struct
|
|
1151
1085
|
const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart]
|
|
1152
|
-
|
|
1153
|
-
class << self
|
|
1154
|
-
# source://sorbet-runtime/0.6.12673/lib/types/struct.rb#13
|
|
1155
|
-
def inherited(s); end
|
|
1156
|
-
end
|
|
1157
1086
|
end
|
|
1158
1087
|
|
|
1159
|
-
# source://tapioca//lib/tapioca/helpers/config_helper.rb#
|
|
1088
|
+
# source://tapioca//lib/tapioca/helpers/config_helper.rb#137
|
|
1160
1089
|
class Tapioca::ConfigHelper::ConfigErrorMessagePart < ::T::Struct
|
|
1161
1090
|
const :message, ::String
|
|
1162
1091
|
const :colors, T::Array[::Symbol]
|
|
1163
|
-
|
|
1164
|
-
class << self
|
|
1165
|
-
# source://sorbet-runtime/0.6.12673/lib/types/struct.rb#13
|
|
1166
|
-
def inherited(s); end
|
|
1167
|
-
end
|
|
1168
1092
|
end
|
|
1169
1093
|
|
|
1170
|
-
# source://tapioca//lib/tapioca.rb#
|
|
1094
|
+
# source://tapioca//lib/tapioca.rb#27
|
|
1171
1095
|
Tapioca::DEFAULT_ANNOTATIONS_DIR = T.let(T.unsafe(nil), String)
|
|
1172
1096
|
|
|
1173
|
-
# source://tapioca//lib/tapioca.rb#
|
|
1097
|
+
# source://tapioca//lib/tapioca.rb#23
|
|
1174
1098
|
Tapioca::DEFAULT_DSL_DIR = T.let(T.unsafe(nil), String)
|
|
1175
1099
|
|
|
1176
|
-
# source://tapioca//lib/tapioca.rb#
|
|
1100
|
+
# source://tapioca//lib/tapioca.rb#36
|
|
1177
1101
|
Tapioca::DEFAULT_ENVIRONMENT = T.let(T.unsafe(nil), String)
|
|
1178
1102
|
|
|
1179
|
-
# source://tapioca//lib/tapioca.rb#
|
|
1103
|
+
# source://tapioca//lib/tapioca.rb#24
|
|
1180
1104
|
Tapioca::DEFAULT_GEM_DIR = T.let(T.unsafe(nil), String)
|
|
1181
1105
|
|
|
1182
|
-
# source://tapioca//lib/tapioca.rb#
|
|
1106
|
+
# source://tapioca//lib/tapioca.rb#29
|
|
1183
1107
|
Tapioca::DEFAULT_OVERRIDES = T.let(T.unsafe(nil), Hash)
|
|
1184
1108
|
|
|
1185
|
-
# source://tapioca//lib/tapioca.rb#
|
|
1109
|
+
# source://tapioca//lib/tapioca.rb#21
|
|
1186
1110
|
Tapioca::DEFAULT_POSTREQUIRE_FILE = T.let(T.unsafe(nil), String)
|
|
1187
1111
|
|
|
1188
|
-
# source://tapioca//lib/tapioca.rb#
|
|
1112
|
+
# source://tapioca//lib/tapioca.rb#22
|
|
1189
1113
|
Tapioca::DEFAULT_RBI_DIR = T.let(T.unsafe(nil), String)
|
|
1190
1114
|
|
|
1191
|
-
# source://tapioca//lib/tapioca/rbi_formatter.rb#
|
|
1115
|
+
# source://tapioca//lib/tapioca/rbi_formatter.rb#25
|
|
1192
1116
|
Tapioca::DEFAULT_RBI_FORMATTER = T.let(T.unsafe(nil), Tapioca::RBIFormatter)
|
|
1193
1117
|
|
|
1194
|
-
# source://tapioca//lib/tapioca.rb#
|
|
1118
|
+
# source://tapioca//lib/tapioca.rb#35
|
|
1195
1119
|
Tapioca::DEFAULT_RBI_MAX_LINE_LENGTH = T.let(T.unsafe(nil), Integer)
|
|
1196
1120
|
|
|
1197
|
-
# source://tapioca//lib/tapioca.rb#
|
|
1121
|
+
# source://tapioca//lib/tapioca.rb#25
|
|
1198
1122
|
Tapioca::DEFAULT_SHIM_DIR = T.let(T.unsafe(nil), String)
|
|
1199
1123
|
|
|
1200
|
-
# source://tapioca//lib/tapioca.rb#
|
|
1124
|
+
# source://tapioca//lib/tapioca.rb#26
|
|
1201
1125
|
Tapioca::DEFAULT_TODO_FILE = T.let(T.unsafe(nil), String)
|
|
1202
1126
|
|
|
1203
1127
|
# source://tapioca//lib/tapioca/dsl/compilers.rb#5
|
|
1204
1128
|
module Tapioca::Dsl; end
|
|
1205
1129
|
|
|
1206
|
-
# @abstract
|
|
1130
|
+
# @abstract
|
|
1207
1131
|
#
|
|
1208
1132
|
# source://tapioca//lib/tapioca/dsl/compiler.rb#6
|
|
1209
1133
|
class Tapioca::Dsl::Compiler
|
|
@@ -1217,9 +1141,9 @@ class Tapioca::Dsl::Compiler
|
|
|
1217
1141
|
|
|
1218
1142
|
abstract!
|
|
1219
1143
|
|
|
1220
|
-
ConstantType = type_member { { upper: Module } }
|
|
1144
|
+
ConstantType = type_member { { upper: T::Module[T.anything] } }
|
|
1221
1145
|
|
|
1222
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
|
1146
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#93
|
|
1223
1147
|
sig do
|
|
1224
1148
|
params(
|
|
1225
1149
|
pipeline: ::Tapioca::Dsl::Pipeline,
|
|
@@ -1232,69 +1156,71 @@ class Tapioca::Dsl::Compiler
|
|
|
1232
1156
|
|
|
1233
1157
|
# NOTE: This should eventually accept an `Error` object or `Exception` rather than simply a `String`.
|
|
1234
1158
|
#
|
|
1235
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
|
1159
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#112
|
|
1236
1160
|
sig { params(error: ::String).void }
|
|
1237
1161
|
def add_error(error); end
|
|
1238
1162
|
|
|
1239
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
|
1163
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#102
|
|
1240
1164
|
sig { params(compiler_name: ::String).returns(T::Boolean) }
|
|
1241
1165
|
def compiler_enabled?(compiler_name); end
|
|
1242
1166
|
|
|
1243
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
|
1167
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#22
|
|
1244
1168
|
sig { returns(ConstantType) }
|
|
1245
1169
|
def constant; end
|
|
1246
1170
|
|
|
1247
1171
|
# @abstract
|
|
1172
|
+
# @raise [NotImplementedError]
|
|
1248
1173
|
#
|
|
1249
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
|
1174
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#108
|
|
1250
1175
|
sig { abstract.void }
|
|
1251
1176
|
def decorate; end
|
|
1252
1177
|
|
|
1253
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
|
1178
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#28
|
|
1254
1179
|
sig { returns(T::Hash[::String, T.untyped]) }
|
|
1255
1180
|
def options; end
|
|
1256
1181
|
|
|
1257
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
|
1182
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#25
|
|
1258
1183
|
sig { returns(::RBI::Tree) }
|
|
1259
1184
|
def root; end
|
|
1260
1185
|
|
|
1261
1186
|
private
|
|
1262
1187
|
|
|
1263
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
|
1188
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#156
|
|
1264
1189
|
sig { params(method_def: T.any(::Method, ::UnboundMethod)).returns(T::Array[::RBI::TypedParam]) }
|
|
1265
1190
|
def compile_method_parameters_to_rbi(method_def); end
|
|
1266
1191
|
|
|
1267
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
|
1192
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#192
|
|
1268
1193
|
sig { params(method_def: T.any(::Method, ::UnboundMethod)).returns(::String) }
|
|
1269
1194
|
def compile_method_return_type_to_rbi(method_def); end
|
|
1270
1195
|
|
|
1271
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
|
1196
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#146
|
|
1272
1197
|
sig { params(scope: ::RBI::Scope, method_def: T.any(::Method, ::UnboundMethod), class_method: T::Boolean).void }
|
|
1273
1198
|
def create_method_from_def(scope, method_def, class_method: T.unsafe(nil)); end
|
|
1274
1199
|
|
|
1275
1200
|
# Get the types of each parameter from a method signature
|
|
1276
1201
|
#
|
|
1277
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
|
1202
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#120
|
|
1278
1203
|
sig { params(method_def: T.any(::Method, ::UnboundMethod), signature: T.untyped).returns(T::Array[::String]) }
|
|
1279
1204
|
def parameters_types_from_signature(method_def, signature); end
|
|
1280
1205
|
|
|
1281
1206
|
class << self
|
|
1282
1207
|
# @abstract
|
|
1208
|
+
# @raise [NotImplementedError]
|
|
1283
1209
|
#
|
|
1284
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
|
1285
|
-
sig { abstract.returns(T::Enumerable[::Module]) }
|
|
1210
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#42
|
|
1211
|
+
sig { abstract.returns(T::Enumerable[T::Module[T.anything]]) }
|
|
1286
1212
|
def gather_constants; end
|
|
1287
1213
|
|
|
1288
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
|
1289
|
-
sig { params(constant: ::Module).returns(T::Boolean) }
|
|
1214
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#36
|
|
1215
|
+
sig { params(constant: T::Module[T.anything]).returns(T::Boolean) }
|
|
1290
1216
|
def handles?(constant); end
|
|
1291
1217
|
|
|
1292
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
|
1293
|
-
sig { returns(T::Set[::Module]) }
|
|
1218
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#45
|
|
1219
|
+
sig { returns(T::Set[T::Module[T.anything]]) }
|
|
1294
1220
|
def processable_constants; end
|
|
1295
1221
|
|
|
1296
1222
|
# source://tapioca//lib/tapioca/dsl/compiler.rb#50
|
|
1297
|
-
sig { params(constants: T::Array[::Module]).void }
|
|
1223
|
+
sig { params(constants: T::Array[T::Module[T.anything]]).void }
|
|
1298
1224
|
def requested_constants=(constants); end
|
|
1299
1225
|
|
|
1300
1226
|
# source://tapioca//lib/tapioca/dsl/compiler.rb#55
|
|
@@ -1303,15 +1229,15 @@ class Tapioca::Dsl::Compiler
|
|
|
1303
1229
|
|
|
1304
1230
|
private
|
|
1305
1231
|
|
|
1306
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
|
1232
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#78
|
|
1307
1233
|
sig { returns(T::Enumerable[T::Class[T.anything]]) }
|
|
1308
1234
|
def all_classes; end
|
|
1309
1235
|
|
|
1310
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
|
1311
|
-
sig { returns(T::Enumerable[::Module]) }
|
|
1236
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#83
|
|
1237
|
+
sig { returns(T::Enumerable[T::Module[T.anything]]) }
|
|
1312
1238
|
def all_modules; end
|
|
1313
1239
|
|
|
1314
|
-
# source://tapioca//lib/tapioca/dsl/compiler.rb#
|
|
1240
|
+
# source://tapioca//lib/tapioca/dsl/compiler.rb#64
|
|
1315
1241
|
sig do
|
|
1316
1242
|
type_parameters(:U)
|
|
1317
1243
|
.params(
|
|
@@ -1337,15 +1263,15 @@ Tapioca::Dsl::Compilers::NAMESPACES = T.let(T.unsafe(nil), Array)
|
|
|
1337
1263
|
|
|
1338
1264
|
# source://tapioca//lib/tapioca/dsl/pipeline.rb#6
|
|
1339
1265
|
class Tapioca::Dsl::Pipeline
|
|
1340
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
|
1266
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#28
|
|
1341
1267
|
sig do
|
|
1342
1268
|
params(
|
|
1343
|
-
requested_constants: T::Array[::Module],
|
|
1269
|
+
requested_constants: T::Array[T::Module[T.anything]],
|
|
1344
1270
|
requested_paths: T::Array[::Pathname],
|
|
1345
1271
|
requested_compilers: T::Array[T.class_of(Tapioca::Dsl::Compiler)],
|
|
1346
1272
|
excluded_compilers: T::Array[T.class_of(Tapioca::Dsl::Compiler)],
|
|
1347
1273
|
error_handler: T.proc.params(error: ::String).void,
|
|
1348
|
-
skipped_constants: T::Array[::Module],
|
|
1274
|
+
skipped_constants: T::Array[T::Module[T.anything]],
|
|
1349
1275
|
number_of_workers: T.nilable(::Integer),
|
|
1350
1276
|
compiler_options: T::Hash[::String, T.untyped],
|
|
1351
1277
|
lsp_addon: T::Boolean
|
|
@@ -1357,15 +1283,15 @@ class Tapioca::Dsl::Pipeline
|
|
|
1357
1283
|
sig { returns(T::Enumerable[T.class_of(Tapioca::Dsl::Compiler)]) }
|
|
1358
1284
|
def active_compilers; end
|
|
1359
1285
|
|
|
1360
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
|
1286
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#92
|
|
1361
1287
|
sig { params(error: ::String).void }
|
|
1362
1288
|
def add_error(error); end
|
|
1363
1289
|
|
|
1364
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
|
1290
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#97
|
|
1365
1291
|
sig { params(compiler_name: ::String).returns(T::Boolean) }
|
|
1366
1292
|
def compiler_enabled?(compiler_name); end
|
|
1367
1293
|
|
|
1368
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
|
1294
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#106
|
|
1369
1295
|
sig { returns(T::Array[T.class_of(Tapioca::Dsl::Compiler)]) }
|
|
1370
1296
|
def compilers; end
|
|
1371
1297
|
|
|
@@ -1378,37 +1304,37 @@ class Tapioca::Dsl::Pipeline
|
|
|
1378
1304
|
def errors; end
|
|
1379
1305
|
|
|
1380
1306
|
# source://tapioca//lib/tapioca/dsl/pipeline.rb#13
|
|
1381
|
-
sig { returns(T::Array[::Module]) }
|
|
1307
|
+
sig { returns(T::Array[T::Module[T.anything]]) }
|
|
1382
1308
|
def requested_constants; end
|
|
1383
1309
|
|
|
1384
1310
|
# source://tapioca//lib/tapioca/dsl/pipeline.rb#16
|
|
1385
1311
|
sig { returns(T::Array[::Pathname]) }
|
|
1386
1312
|
def requested_paths; end
|
|
1387
1313
|
|
|
1388
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
|
1314
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#52
|
|
1389
1315
|
sig do
|
|
1390
|
-
type_parameters(:
|
|
1316
|
+
type_parameters(:R)
|
|
1391
1317
|
.params(
|
|
1392
|
-
blk: T.proc.params(constant: ::Module, rbi: ::RBI::File).returns(T.type_parameter(:
|
|
1393
|
-
).returns(T::Array[T.type_parameter(:
|
|
1318
|
+
blk: T.proc.params(constant: T::Module[T.anything], rbi: ::RBI::File).returns(T.type_parameter(:R))
|
|
1319
|
+
).returns(T::Array[T.type_parameter(:R)])
|
|
1394
1320
|
end
|
|
1395
1321
|
def run(&blk); end
|
|
1396
1322
|
|
|
1397
1323
|
# source://tapioca//lib/tapioca/dsl/pipeline.rb#19
|
|
1398
|
-
sig { returns(T::Array[::Module]) }
|
|
1324
|
+
sig { returns(T::Array[T::Module[T.anything]]) }
|
|
1399
1325
|
def skipped_constants; end
|
|
1400
1326
|
|
|
1401
1327
|
private
|
|
1402
1328
|
|
|
1403
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
|
1329
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#199
|
|
1404
1330
|
sig { void }
|
|
1405
1331
|
def abort_if_pending_migrations!; end
|
|
1406
1332
|
|
|
1407
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
|
1408
|
-
sig { params(constants: T::Set[::Module]).returns(T::Set[::Module]) }
|
|
1333
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#145
|
|
1334
|
+
sig { params(constants: T::Set[T::Module[T.anything]]).returns(T::Set[T::Module[T.anything]]) }
|
|
1409
1335
|
def filter_anonymous_and_reloaded_constants(constants); end
|
|
1410
1336
|
|
|
1411
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
|
1337
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#115
|
|
1412
1338
|
sig do
|
|
1413
1339
|
params(
|
|
1414
1340
|
requested_compilers: T::Array[T.class_of(Tapioca::Dsl::Compiler)],
|
|
@@ -1417,21 +1343,21 @@ class Tapioca::Dsl::Pipeline
|
|
|
1417
1343
|
end
|
|
1418
1344
|
def gather_active_compilers(requested_compilers, excluded_compilers); end
|
|
1419
1345
|
|
|
1420
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
|
1346
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#123
|
|
1421
1347
|
sig do
|
|
1422
1348
|
params(
|
|
1423
|
-
requested_constants: T::Array[::Module],
|
|
1349
|
+
requested_constants: T::Array[T::Module[T.anything]],
|
|
1424
1350
|
requested_paths: T::Array[::Pathname],
|
|
1425
|
-
skipped_constants: T::Array[::Module]
|
|
1426
|
-
).returns(T::Set[::Module])
|
|
1351
|
+
skipped_constants: T::Array[T::Module[T.anything]]
|
|
1352
|
+
).returns(T::Set[T::Module[T.anything]])
|
|
1427
1353
|
end
|
|
1428
1354
|
def gather_constants(requested_constants, requested_paths, skipped_constants); end
|
|
1429
1355
|
|
|
1430
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
|
1431
|
-
sig { params(constant: ::Module).returns(T.nilable(::RBI::File)) }
|
|
1356
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#174
|
|
1357
|
+
sig { params(constant: T::Module[T.anything]).returns(T.nilable(::RBI::File)) }
|
|
1432
1358
|
def rbi_for_constant(constant); end
|
|
1433
1359
|
|
|
1434
|
-
# source://tapioca//lib/tapioca/dsl/pipeline.rb#
|
|
1360
|
+
# source://tapioca//lib/tapioca/dsl/pipeline.rb#193
|
|
1435
1361
|
sig { params(error: ::String).void }
|
|
1436
1362
|
def report_error(error); end
|
|
1437
1363
|
end
|
|
@@ -1453,7 +1379,7 @@ class Tapioca::Executor
|
|
|
1453
1379
|
sig { params(queue: T::Array[T.untyped], number_of_workers: T.nilable(::Integer)).void }
|
|
1454
1380
|
def initialize(queue, number_of_workers: T.unsafe(nil)); end
|
|
1455
1381
|
|
|
1456
|
-
# source://tapioca//lib/tapioca/executor.rb#
|
|
1382
|
+
# source://tapioca//lib/tapioca/executor.rb#22
|
|
1457
1383
|
sig do
|
|
1458
1384
|
type_parameters(:T)
|
|
1459
1385
|
.params(
|
|
@@ -1464,7 +1390,7 @@ class Tapioca::Executor
|
|
|
1464
1390
|
|
|
1465
1391
|
private
|
|
1466
1392
|
|
|
1467
|
-
# source://tapioca//lib/tapioca/executor.rb#
|
|
1393
|
+
# source://tapioca//lib/tapioca/executor.rb#31
|
|
1468
1394
|
sig { returns(::Integer) }
|
|
1469
1395
|
def max_processors; end
|
|
1470
1396
|
end
|
|
@@ -1475,57 +1401,57 @@ Tapioca::Executor::MINIMUM_ITEMS_PER_WORKER = T.let(T.unsafe(nil), Integer)
|
|
|
1475
1401
|
# source://tapioca//lib/tapioca/gem/events.rb#5
|
|
1476
1402
|
module Tapioca::Gem; end
|
|
1477
1403
|
|
|
1478
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1404
|
+
# source://tapioca//lib/tapioca/gem/events.rb#82
|
|
1479
1405
|
class Tapioca::Gem::ConstNodeAdded < ::Tapioca::Gem::NodeAdded
|
|
1480
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1481
|
-
sig { params(symbol: ::String, constant: ::Module, node: ::RBI::Const).void }
|
|
1406
|
+
# source://tapioca//lib/tapioca/gem/events.rb#89
|
|
1407
|
+
sig { params(symbol: ::String, constant: T::Module[T.anything], node: ::RBI::Const).void }
|
|
1482
1408
|
def initialize(symbol, constant, node); end
|
|
1483
1409
|
|
|
1484
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1410
|
+
# source://tapioca//lib/tapioca/gem/events.rb#86
|
|
1485
1411
|
sig { returns(::RBI::Const) }
|
|
1486
1412
|
def node; end
|
|
1487
1413
|
end
|
|
1488
1414
|
|
|
1489
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1415
|
+
# source://tapioca//lib/tapioca/gem/events.rb#27
|
|
1490
1416
|
class Tapioca::Gem::ConstantFound < ::Tapioca::Gem::Event
|
|
1491
|
-
#
|
|
1492
|
-
|
|
1417
|
+
# @return [ConstantFound] a new instance of ConstantFound
|
|
1418
|
+
#
|
|
1419
|
+
# source://tapioca//lib/tapioca/gem/events.rb#39
|
|
1493
1420
|
def initialize(symbol, constant); end
|
|
1494
1421
|
|
|
1495
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1496
|
-
sig { returns(::BasicObject) }
|
|
1422
|
+
# source://tapioca//lib/tapioca/gem/events.rb#35
|
|
1497
1423
|
def constant; end
|
|
1498
1424
|
|
|
1499
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1425
|
+
# source://tapioca//lib/tapioca/gem/events.rb#31
|
|
1500
1426
|
sig { returns(::String) }
|
|
1501
1427
|
def symbol; end
|
|
1502
1428
|
end
|
|
1503
1429
|
|
|
1504
|
-
# @abstract
|
|
1430
|
+
# @abstract
|
|
1505
1431
|
#
|
|
1506
1432
|
# source://tapioca//lib/tapioca/gem/events.rb#6
|
|
1507
1433
|
class Tapioca::Gem::Event
|
|
1508
1434
|
abstract!
|
|
1509
1435
|
end
|
|
1510
1436
|
|
|
1511
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1437
|
+
# source://tapioca//lib/tapioca/gem/events.rb#46
|
|
1512
1438
|
class Tapioca::Gem::ForeignConstantFound < ::Tapioca::Gem::ConstantFound
|
|
1513
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1514
|
-
sig { params(symbol: ::String, constant: ::Module).void }
|
|
1439
|
+
# source://tapioca//lib/tapioca/gem/events.rb#56
|
|
1440
|
+
sig { params(symbol: ::String, constant: T::Module[T.anything]).void }
|
|
1515
1441
|
def initialize(symbol, constant); end
|
|
1516
1442
|
|
|
1517
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1518
|
-
sig { override.returns(::Module) }
|
|
1443
|
+
# source://tapioca//lib/tapioca/gem/events.rb#51
|
|
1444
|
+
sig { override.returns(T::Module[T.anything]) }
|
|
1519
1445
|
def constant; end
|
|
1520
1446
|
end
|
|
1521
1447
|
|
|
1522
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1448
|
+
# source://tapioca//lib/tapioca/gem/events.rb#108
|
|
1523
1449
|
class Tapioca::Gem::ForeignScopeNodeAdded < ::Tapioca::Gem::ScopeNodeAdded; end
|
|
1524
1450
|
|
|
1525
1451
|
# source://tapioca//lib/tapioca/gem/listeners/base.rb#6
|
|
1526
1452
|
module Tapioca::Gem::Listeners; end
|
|
1527
1453
|
|
|
1528
|
-
# @abstract
|
|
1454
|
+
# @abstract
|
|
1529
1455
|
#
|
|
1530
1456
|
# source://tapioca//lib/tapioca/gem/listeners/base.rb#7
|
|
1531
1457
|
class Tapioca::Gem::Listeners::Base
|
|
@@ -1565,11 +1491,11 @@ class Tapioca::Gem::Listeners::DynamicMixins < ::Tapioca::Gem::Listeners::Base
|
|
|
1565
1491
|
|
|
1566
1492
|
private
|
|
1567
1493
|
|
|
1568
|
-
# source://tapioca//lib/tapioca/gem/listeners/dynamic_mixins.rb#
|
|
1494
|
+
# source://tapioca//lib/tapioca/gem/listeners/dynamic_mixins.rb#33
|
|
1569
1495
|
sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
|
|
1570
1496
|
def ignore?(event); end
|
|
1571
1497
|
|
|
1572
|
-
# source://tapioca//lib/tapioca/gem/listeners/dynamic_mixins.rb#
|
|
1498
|
+
# source://tapioca//lib/tapioca/gem/listeners/dynamic_mixins.rb#16
|
|
1573
1499
|
sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
|
|
1574
1500
|
def on_scope(event); end
|
|
1575
1501
|
end
|
|
@@ -1581,15 +1507,15 @@ class Tapioca::Gem::Listeners::ForeignConstants < ::Tapioca::Gem::Listeners::Bas
|
|
|
1581
1507
|
|
|
1582
1508
|
private
|
|
1583
1509
|
|
|
1584
|
-
# source://tapioca//lib/tapioca/gem/listeners/foreign_constants.rb#
|
|
1510
|
+
# source://tapioca//lib/tapioca/gem/listeners/foreign_constants.rb#58
|
|
1585
1511
|
sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
|
|
1586
1512
|
def ignore?(event); end
|
|
1587
1513
|
|
|
1588
|
-
# source://tapioca//lib/tapioca/gem/listeners/foreign_constants.rb#
|
|
1514
|
+
# source://tapioca//lib/tapioca/gem/listeners/foreign_constants.rb#52
|
|
1589
1515
|
sig { params(location: ::String).returns(T::Boolean) }
|
|
1590
1516
|
def mixed_in_by_gem?(location); end
|
|
1591
1517
|
|
|
1592
|
-
# source://tapioca//lib/tapioca/gem/listeners/foreign_constants.rb#
|
|
1518
|
+
# source://tapioca//lib/tapioca/gem/listeners/foreign_constants.rb#16
|
|
1593
1519
|
sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
|
|
1594
1520
|
def on_scope(event); end
|
|
1595
1521
|
end
|
|
@@ -1603,48 +1529,49 @@ class Tapioca::Gem::Listeners::Methods < ::Tapioca::Gem::Listeners::Base
|
|
|
1603
1529
|
|
|
1604
1530
|
private
|
|
1605
1531
|
|
|
1606
|
-
# source://tapioca//lib/tapioca/gem/listeners/methods.rb#
|
|
1532
|
+
# source://tapioca//lib/tapioca/gem/listeners/methods.rb#28
|
|
1607
1533
|
sig do
|
|
1608
1534
|
params(
|
|
1609
1535
|
tree: ::RBI::Tree,
|
|
1610
1536
|
module_name: ::String,
|
|
1611
|
-
mod: ::Module,
|
|
1537
|
+
mod: T::Module[T.anything],
|
|
1612
1538
|
for_visibility: T::Array[::Symbol],
|
|
1613
|
-
attached_class: T.nilable(::Module)
|
|
1539
|
+
attached_class: T.nilable(T::Module[T.anything])
|
|
1614
1540
|
).void
|
|
1615
1541
|
end
|
|
1616
1542
|
def compile_directly_owned_methods(tree, module_name, mod, for_visibility = T.unsafe(nil), attached_class: T.unsafe(nil)); end
|
|
1617
1543
|
|
|
1618
|
-
# source://tapioca//lib/tapioca/gem/listeners/methods.rb#
|
|
1544
|
+
# source://tapioca//lib/tapioca/gem/listeners/methods.rb#56
|
|
1619
1545
|
sig do
|
|
1620
1546
|
params(
|
|
1621
1547
|
tree: ::RBI::Tree,
|
|
1622
1548
|
symbol_name: ::String,
|
|
1623
|
-
constant: ::Module,
|
|
1549
|
+
constant: T::Module[T.anything],
|
|
1624
1550
|
method: T.nilable(::UnboundMethod),
|
|
1625
1551
|
visibility: ::RBI::Visibility
|
|
1626
1552
|
).void
|
|
1627
1553
|
end
|
|
1628
1554
|
def compile_method(tree, symbol_name, constant, method, visibility = T.unsafe(nil)); end
|
|
1629
1555
|
|
|
1630
|
-
# source://tapioca//lib/tapioca/gem/listeners/methods.rb#
|
|
1556
|
+
# source://tapioca//lib/tapioca/gem/listeners/methods.rb#212
|
|
1631
1557
|
sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
|
|
1632
1558
|
def ignore?(event); end
|
|
1633
1559
|
|
|
1634
1560
|
# source://tapioca//lib/tapioca/gem/listeners/methods.rb#204
|
|
1635
|
-
sig { params(constant: ::Module).returns(T.nilable(::UnboundMethod)) }
|
|
1561
|
+
sig { params(constant: T::Module[T.anything]).returns(T.nilable(::UnboundMethod)) }
|
|
1636
1562
|
def initialize_method_for(constant); end
|
|
1637
1563
|
|
|
1638
|
-
# source://tapioca//lib/tapioca/gem/listeners/methods.rb#
|
|
1639
|
-
sig { params(
|
|
1640
|
-
def lookup_signature_of(method); end
|
|
1641
|
-
|
|
1642
|
-
# source://tapioca//lib/tapioca/gem/listeners/methods.rb#172
|
|
1643
|
-
sig { params(mod: ::Module).returns(T::Hash[::Symbol, T::Array[::Symbol]]) }
|
|
1564
|
+
# source://tapioca//lib/tapioca/gem/listeners/methods.rb#177
|
|
1565
|
+
sig { params(mod: T::Module[T.anything]).returns(T::Hash[::Symbol, T::Array[::Symbol]]) }
|
|
1644
1566
|
def method_names_by_visibility(mod); end
|
|
1645
1567
|
|
|
1646
1568
|
# source://tapioca//lib/tapioca/gem/listeners/methods.rb#196
|
|
1647
|
-
sig
|
|
1569
|
+
sig do
|
|
1570
|
+
params(
|
|
1571
|
+
attached_class: T.nilable(T::Module[T.anything]),
|
|
1572
|
+
method_name: ::Symbol
|
|
1573
|
+
).returns(T.nilable(T::Boolean))
|
|
1574
|
+
end
|
|
1648
1575
|
def method_new_in_abstract_class?(attached_class, method_name); end
|
|
1649
1576
|
|
|
1650
1577
|
# Check whether the method is defined by the constant.
|
|
@@ -1657,16 +1584,16 @@ class Tapioca::Gem::Listeners::Methods < ::Tapioca::Gem::Listeners::Base
|
|
|
1657
1584
|
# It walks up the ancestor tree via the `super_method` method; if any of the super
|
|
1658
1585
|
# methods are owned by the constant, it means that the constant declares the method.
|
|
1659
1586
|
#
|
|
1660
|
-
# source://tapioca//lib/tapioca/gem/listeners/methods.rb#
|
|
1661
|
-
sig { params(method: ::UnboundMethod, constant: ::Module).returns(T::Boolean) }
|
|
1587
|
+
# source://tapioca//lib/tapioca/gem/listeners/methods.rb#163
|
|
1588
|
+
sig { params(method: ::UnboundMethod, constant: T::Module[T.anything]).returns(T::Boolean) }
|
|
1662
1589
|
def method_owned_by_constant?(method, constant); end
|
|
1663
1590
|
|
|
1664
|
-
# source://tapioca//lib/tapioca/gem/listeners/methods.rb#
|
|
1591
|
+
# source://tapioca//lib/tapioca/gem/listeners/methods.rb#17
|
|
1665
1592
|
sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
|
|
1666
1593
|
def on_scope(event); end
|
|
1667
1594
|
|
|
1668
|
-
# source://tapioca//lib/tapioca/gem/listeners/methods.rb#
|
|
1669
|
-
sig { params(constant: ::Module, method_name: ::String).returns(T::Boolean) }
|
|
1595
|
+
# source://tapioca//lib/tapioca/gem/listeners/methods.rb#186
|
|
1596
|
+
sig { params(constant: T::Module[T.anything], method_name: ::String).returns(T::Boolean) }
|
|
1670
1597
|
def struct_method?(constant, method_name); end
|
|
1671
1598
|
end
|
|
1672
1599
|
|
|
@@ -1677,36 +1604,36 @@ class Tapioca::Gem::Listeners::Mixins < ::Tapioca::Gem::Listeners::Base
|
|
|
1677
1604
|
|
|
1678
1605
|
private
|
|
1679
1606
|
|
|
1680
|
-
# source://tapioca//lib/tapioca/gem/listeners/mixins.rb#
|
|
1607
|
+
# source://tapioca//lib/tapioca/gem/listeners/mixins.rb#36
|
|
1681
1608
|
sig do
|
|
1682
1609
|
params(
|
|
1683
1610
|
tree: ::RBI::Tree,
|
|
1684
|
-
constant: ::Module,
|
|
1685
|
-
mods: T::Array[::Module],
|
|
1611
|
+
constant: T::Module[T.anything],
|
|
1612
|
+
mods: T::Array[T::Module[T.anything]],
|
|
1686
1613
|
mixin_type: ::Tapioca::Runtime::Trackers::Mixin::Type
|
|
1687
1614
|
).void
|
|
1688
1615
|
end
|
|
1689
1616
|
def add_mixins(tree, constant, mods, mixin_type); end
|
|
1690
1617
|
|
|
1691
|
-
# source://tapioca//lib/tapioca/gem/listeners/mixins.rb#
|
|
1618
|
+
# source://tapioca//lib/tapioca/gem/listeners/mixins.rb#72
|
|
1692
1619
|
sig { params(mixin_name: ::String).returns(T::Boolean) }
|
|
1693
1620
|
def filtered_mixin?(mixin_name); end
|
|
1694
1621
|
|
|
1695
|
-
# source://tapioca//lib/tapioca/gem/listeners/mixins.rb#
|
|
1696
|
-
sig { params(constant: ::Module).returns(T::Array[::Module]) }
|
|
1622
|
+
# source://tapioca//lib/tapioca/gem/listeners/mixins.rb#79
|
|
1623
|
+
sig { params(constant: T::Module[T.anything]).returns(T::Array[T::Module[T.anything]]) }
|
|
1697
1624
|
def interesting_ancestors_of(constant); end
|
|
1698
1625
|
|
|
1699
|
-
# source://tapioca//lib/tapioca/gem/listeners/mixins.rb#
|
|
1626
|
+
# source://tapioca//lib/tapioca/gem/listeners/mixins.rb#63
|
|
1700
1627
|
sig do
|
|
1701
1628
|
params(
|
|
1702
|
-
constant: ::Module,
|
|
1703
|
-
mixin: ::Module,
|
|
1629
|
+
constant: T::Module[T.anything],
|
|
1630
|
+
mixin: T::Module[T.anything],
|
|
1704
1631
|
mixin_type: ::Tapioca::Runtime::Trackers::Mixin::Type
|
|
1705
1632
|
).returns(T::Boolean)
|
|
1706
1633
|
end
|
|
1707
1634
|
def mixed_in_by_gem?(constant, mixin, mixin_type); end
|
|
1708
1635
|
|
|
1709
|
-
# source://tapioca//lib/tapioca/gem/listeners/mixins.rb#
|
|
1636
|
+
# source://tapioca//lib/tapioca/gem/listeners/mixins.rb#16
|
|
1710
1637
|
sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
|
|
1711
1638
|
def on_scope(event); end
|
|
1712
1639
|
end
|
|
@@ -1718,11 +1645,11 @@ class Tapioca::Gem::Listeners::RemoveEmptyPayloadScopes < ::Tapioca::Gem::Listen
|
|
|
1718
1645
|
|
|
1719
1646
|
private
|
|
1720
1647
|
|
|
1721
|
-
# source://tapioca//lib/tapioca/gem/listeners/remove_empty_payload_scopes.rb#
|
|
1648
|
+
# source://tapioca//lib/tapioca/gem/listeners/remove_empty_payload_scopes.rb#22
|
|
1722
1649
|
sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
|
|
1723
1650
|
def ignore?(event); end
|
|
1724
1651
|
|
|
1725
|
-
# source://tapioca//lib/tapioca/gem/listeners/remove_empty_payload_scopes.rb#
|
|
1652
|
+
# source://tapioca//lib/tapioca/gem/listeners/remove_empty_payload_scopes.rb#16
|
|
1726
1653
|
sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
|
|
1727
1654
|
def on_scope(event); end
|
|
1728
1655
|
end
|
|
@@ -1731,11 +1658,11 @@ end
|
|
|
1731
1658
|
class Tapioca::Gem::Listeners::SorbetEnums < ::Tapioca::Gem::Listeners::Base
|
|
1732
1659
|
private
|
|
1733
1660
|
|
|
1734
|
-
# source://tapioca//lib/tapioca/gem/listeners/sorbet_enums.rb#
|
|
1661
|
+
# source://tapioca//lib/tapioca/gem/listeners/sorbet_enums.rb#30
|
|
1735
1662
|
sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
|
|
1736
1663
|
def ignore?(event); end
|
|
1737
1664
|
|
|
1738
|
-
# source://tapioca//lib/tapioca/gem/listeners/sorbet_enums.rb#
|
|
1665
|
+
# source://tapioca//lib/tapioca/gem/listeners/sorbet_enums.rb#14
|
|
1739
1666
|
sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
|
|
1740
1667
|
def on_scope(event); end
|
|
1741
1668
|
end
|
|
@@ -1747,11 +1674,11 @@ class Tapioca::Gem::Listeners::SorbetHelpers < ::Tapioca::Gem::Listeners::Base
|
|
|
1747
1674
|
|
|
1748
1675
|
private
|
|
1749
1676
|
|
|
1750
|
-
# source://tapioca//lib/tapioca/gem/listeners/sorbet_helpers.rb#
|
|
1677
|
+
# source://tapioca//lib/tapioca/gem/listeners/sorbet_helpers.rb#29
|
|
1751
1678
|
sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
|
|
1752
1679
|
def ignore?(event); end
|
|
1753
1680
|
|
|
1754
|
-
# source://tapioca//lib/tapioca/gem/listeners/sorbet_helpers.rb#
|
|
1681
|
+
# source://tapioca//lib/tapioca/gem/listeners/sorbet_helpers.rb#16
|
|
1755
1682
|
sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
|
|
1756
1683
|
def on_scope(event); end
|
|
1757
1684
|
end
|
|
@@ -1763,11 +1690,11 @@ class Tapioca::Gem::Listeners::SorbetProps < ::Tapioca::Gem::Listeners::Base
|
|
|
1763
1690
|
|
|
1764
1691
|
private
|
|
1765
1692
|
|
|
1766
|
-
# source://tapioca//lib/tapioca/gem/listeners/sorbet_props.rb#
|
|
1693
|
+
# source://tapioca//lib/tapioca/gem/listeners/sorbet_props.rb#35
|
|
1767
1694
|
sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
|
|
1768
1695
|
def ignore?(event); end
|
|
1769
1696
|
|
|
1770
|
-
# source://tapioca//lib/tapioca/gem/listeners/sorbet_props.rb#
|
|
1697
|
+
# source://tapioca//lib/tapioca/gem/listeners/sorbet_props.rb#15
|
|
1771
1698
|
sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
|
|
1772
1699
|
def on_scope(event); end
|
|
1773
1700
|
end
|
|
@@ -1776,11 +1703,11 @@ end
|
|
|
1776
1703
|
class Tapioca::Gem::Listeners::SorbetRequiredAncestors < ::Tapioca::Gem::Listeners::Base
|
|
1777
1704
|
private
|
|
1778
1705
|
|
|
1779
|
-
# source://tapioca//lib/tapioca/gem/listeners/sorbet_required_ancestors.rb#
|
|
1706
|
+
# source://tapioca//lib/tapioca/gem/listeners/sorbet_required_ancestors.rb#25
|
|
1780
1707
|
sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
|
|
1781
1708
|
def ignore?(event); end
|
|
1782
1709
|
|
|
1783
|
-
# source://tapioca//lib/tapioca/gem/listeners/sorbet_required_ancestors.rb#
|
|
1710
|
+
# source://tapioca//lib/tapioca/gem/listeners/sorbet_required_ancestors.rb#14
|
|
1784
1711
|
sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
|
|
1785
1712
|
def on_scope(event); end
|
|
1786
1713
|
end
|
|
@@ -1794,19 +1721,19 @@ class Tapioca::Gem::Listeners::SorbetSignatures < ::Tapioca::Gem::Listeners::Bas
|
|
|
1794
1721
|
|
|
1795
1722
|
private
|
|
1796
1723
|
|
|
1797
|
-
# source://tapioca//lib/tapioca/gem/listeners/sorbet_signatures.rb#
|
|
1724
|
+
# source://tapioca//lib/tapioca/gem/listeners/sorbet_signatures.rb#27
|
|
1798
1725
|
sig { params(signature: T.untyped, parameters: T::Array[[::Symbol, ::String]]).returns(::RBI::Sig) }
|
|
1799
1726
|
def compile_signature(signature, parameters); end
|
|
1800
1727
|
|
|
1801
|
-
# source://tapioca//lib/tapioca/gem/listeners/sorbet_signatures.rb#
|
|
1728
|
+
# source://tapioca//lib/tapioca/gem/listeners/sorbet_signatures.rb#81
|
|
1802
1729
|
sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
|
|
1803
1730
|
def ignore?(event); end
|
|
1804
1731
|
|
|
1805
|
-
# source://tapioca//lib/tapioca/gem/listeners/sorbet_signatures.rb#
|
|
1732
|
+
# source://tapioca//lib/tapioca/gem/listeners/sorbet_signatures.rb#19
|
|
1806
1733
|
sig { override.params(event: ::Tapioca::Gem::MethodNodeAdded).void }
|
|
1807
1734
|
def on_method(event); end
|
|
1808
1735
|
|
|
1809
|
-
# source://tapioca//lib/tapioca/gem/listeners/sorbet_signatures.rb#
|
|
1736
|
+
# source://tapioca//lib/tapioca/gem/listeners/sorbet_signatures.rb#69
|
|
1810
1737
|
sig { params(signature: T.untyped).returns(T::Boolean) }
|
|
1811
1738
|
def signature_final?(signature); end
|
|
1812
1739
|
end
|
|
@@ -1821,19 +1748,19 @@ class Tapioca::Gem::Listeners::SorbetTypeVariables < ::Tapioca::Gem::Listeners::
|
|
|
1821
1748
|
|
|
1822
1749
|
private
|
|
1823
1750
|
|
|
1824
|
-
# source://tapioca//lib/tapioca/gem/listeners/sorbet_type_variables.rb#
|
|
1825
|
-
sig { params(tree: ::RBI::Tree, constant: ::Module).void }
|
|
1751
|
+
# source://tapioca//lib/tapioca/gem/listeners/sorbet_type_variables.rb#28
|
|
1752
|
+
sig { params(tree: ::RBI::Tree, constant: T::Module[T.anything]).void }
|
|
1826
1753
|
def compile_type_variable_declarations(tree, constant); end
|
|
1827
1754
|
|
|
1828
|
-
# source://tapioca//lib/tapioca/gem/listeners/sorbet_type_variables.rb#
|
|
1755
|
+
# source://tapioca//lib/tapioca/gem/listeners/sorbet_type_variables.rb#65
|
|
1829
1756
|
sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
|
|
1830
1757
|
def ignore?(event); end
|
|
1831
1758
|
|
|
1832
|
-
# source://tapioca//lib/tapioca/gem/listeners/sorbet_type_variables.rb#
|
|
1759
|
+
# source://tapioca//lib/tapioca/gem/listeners/sorbet_type_variables.rb#51
|
|
1833
1760
|
sig { params(type_variable: ::Tapioca::TypeVariableModule).returns(T.nilable(::RBI::Node)) }
|
|
1834
1761
|
def node_from_type_variable(type_variable); end
|
|
1835
1762
|
|
|
1836
|
-
# source://tapioca//lib/tapioca/gem/listeners/sorbet_type_variables.rb#
|
|
1763
|
+
# source://tapioca//lib/tapioca/gem/listeners/sorbet_type_variables.rb#16
|
|
1837
1764
|
sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
|
|
1838
1765
|
def on_scope(event); end
|
|
1839
1766
|
end
|
|
@@ -1842,19 +1769,19 @@ end
|
|
|
1842
1769
|
class Tapioca::Gem::Listeners::SourceLocation < ::Tapioca::Gem::Listeners::Base
|
|
1843
1770
|
private
|
|
1844
1771
|
|
|
1845
|
-
# source://tapioca//lib/tapioca/gem/listeners/source_location.rb#
|
|
1772
|
+
# source://tapioca//lib/tapioca/gem/listeners/source_location.rb#48
|
|
1846
1773
|
sig { params(node: ::RBI::NodeWithComments, file: T.nilable(::String), line: T.nilable(::Integer)).void }
|
|
1847
1774
|
def add_source_location_comment(node, file, line); end
|
|
1848
1775
|
|
|
1849
|
-
# source://tapioca//lib/tapioca/gem/listeners/source_location.rb#
|
|
1776
|
+
# source://tapioca//lib/tapioca/gem/listeners/source_location.rb#14
|
|
1850
1777
|
sig { override.params(event: ::Tapioca::Gem::ConstNodeAdded).void }
|
|
1851
1778
|
def on_const(event); end
|
|
1852
1779
|
|
|
1853
|
-
# source://tapioca//lib/tapioca/gem/listeners/source_location.rb#
|
|
1780
|
+
# source://tapioca//lib/tapioca/gem/listeners/source_location.rb#38
|
|
1854
1781
|
sig { override.params(event: ::Tapioca::Gem::MethodNodeAdded).void }
|
|
1855
1782
|
def on_method(event); end
|
|
1856
1783
|
|
|
1857
|
-
# source://tapioca//lib/tapioca/gem/listeners/source_location.rb#
|
|
1784
|
+
# source://tapioca//lib/tapioca/gem/listeners/source_location.rb#21
|
|
1858
1785
|
sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
|
|
1859
1786
|
def on_scope(event); end
|
|
1860
1787
|
end
|
|
@@ -1866,57 +1793,61 @@ class Tapioca::Gem::Listeners::Subconstants < ::Tapioca::Gem::Listeners::Base
|
|
|
1866
1793
|
|
|
1867
1794
|
private
|
|
1868
1795
|
|
|
1869
|
-
# source://tapioca//lib/tapioca/gem/listeners/subconstants.rb#
|
|
1796
|
+
# source://tapioca//lib/tapioca/gem/listeners/subconstants.rb#37
|
|
1870
1797
|
sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
|
|
1871
1798
|
def ignore?(event); end
|
|
1872
1799
|
|
|
1873
|
-
# source://tapioca//lib/tapioca/gem/listeners/subconstants.rb#
|
|
1800
|
+
# source://tapioca//lib/tapioca/gem/listeners/subconstants.rb#16
|
|
1874
1801
|
sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
|
|
1875
1802
|
def on_scope(event); end
|
|
1876
1803
|
end
|
|
1877
1804
|
|
|
1878
1805
|
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#7
|
|
1879
1806
|
class Tapioca::Gem::Listeners::YardDoc < ::Tapioca::Gem::Listeners::Base
|
|
1880
|
-
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#
|
|
1807
|
+
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#25
|
|
1881
1808
|
sig { params(pipeline: ::Tapioca::Gem::Pipeline).void }
|
|
1882
1809
|
def initialize(pipeline); end
|
|
1883
1810
|
|
|
1884
1811
|
private
|
|
1885
1812
|
|
|
1886
|
-
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#
|
|
1813
|
+
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#61
|
|
1887
1814
|
sig { params(name: ::String, sigs: T::Array[::RBI::Sig]).returns(T::Array[::RBI::Comment]) }
|
|
1888
1815
|
def documentation_comments(name, sigs: T.unsafe(nil)); end
|
|
1889
1816
|
|
|
1890
|
-
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#
|
|
1817
|
+
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#106
|
|
1891
1818
|
sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
|
|
1892
1819
|
def ignore?(event); end
|
|
1893
1820
|
|
|
1894
|
-
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#
|
|
1821
|
+
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#40
|
|
1895
1822
|
sig { override.params(event: ::Tapioca::Gem::ConstNodeAdded).void }
|
|
1896
1823
|
def on_const(event); end
|
|
1897
1824
|
|
|
1898
|
-
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#
|
|
1825
|
+
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#52
|
|
1899
1826
|
sig { override.params(event: ::Tapioca::Gem::MethodNodeAdded).void }
|
|
1900
1827
|
def on_method(event); end
|
|
1901
1828
|
|
|
1902
|
-
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#
|
|
1829
|
+
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#46
|
|
1903
1830
|
sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
|
|
1904
1831
|
def on_scope(event); end
|
|
1832
|
+
|
|
1833
|
+
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#34
|
|
1834
|
+
sig { params(line: ::String).returns(T::Boolean) }
|
|
1835
|
+
def rbs_comment?(line); end
|
|
1905
1836
|
end
|
|
1906
1837
|
|
|
1907
1838
|
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#10
|
|
1908
1839
|
Tapioca::Gem::Listeners::YardDoc::IGNORED_COMMENTS = T.let(T.unsafe(nil), Array)
|
|
1909
1840
|
|
|
1910
|
-
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#
|
|
1841
|
+
# source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#22
|
|
1911
1842
|
Tapioca::Gem::Listeners::YardDoc::IGNORED_SIG_TAGS = T.let(T.unsafe(nil), Array)
|
|
1912
1843
|
|
|
1913
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1844
|
+
# source://tapioca//lib/tapioca/gem/events.rb#110
|
|
1914
1845
|
class Tapioca::Gem::MethodNodeAdded < ::Tapioca::Gem::NodeAdded
|
|
1915
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1846
|
+
# source://tapioca//lib/tapioca/gem/events.rb#126
|
|
1916
1847
|
sig do
|
|
1917
1848
|
params(
|
|
1918
1849
|
symbol: ::String,
|
|
1919
|
-
constant: ::Module,
|
|
1850
|
+
constant: T::Module[T.anything],
|
|
1920
1851
|
method: ::UnboundMethod,
|
|
1921
1852
|
node: ::RBI::Method,
|
|
1922
1853
|
signature: T.untyped,
|
|
@@ -1925,38 +1856,38 @@ class Tapioca::Gem::MethodNodeAdded < ::Tapioca::Gem::NodeAdded
|
|
|
1925
1856
|
end
|
|
1926
1857
|
def initialize(symbol, constant, method, node, signature, parameters); end
|
|
1927
1858
|
|
|
1928
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1859
|
+
# source://tapioca//lib/tapioca/gem/events.rb#114
|
|
1929
1860
|
sig { returns(::UnboundMethod) }
|
|
1930
1861
|
def method; end
|
|
1931
1862
|
|
|
1932
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1863
|
+
# source://tapioca//lib/tapioca/gem/events.rb#117
|
|
1933
1864
|
sig { returns(::RBI::Method) }
|
|
1934
1865
|
def node; end
|
|
1935
1866
|
|
|
1936
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1867
|
+
# source://tapioca//lib/tapioca/gem/events.rb#123
|
|
1937
1868
|
sig { returns(T::Array[[::Symbol, ::String]]) }
|
|
1938
1869
|
def parameters; end
|
|
1939
1870
|
|
|
1940
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1871
|
+
# source://tapioca//lib/tapioca/gem/events.rb#120
|
|
1941
1872
|
sig { returns(T.untyped) }
|
|
1942
1873
|
def signature; end
|
|
1943
1874
|
end
|
|
1944
1875
|
|
|
1945
|
-
# @abstract
|
|
1876
|
+
# @abstract
|
|
1946
1877
|
#
|
|
1947
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1878
|
+
# source://tapioca//lib/tapioca/gem/events.rb#61
|
|
1948
1879
|
class Tapioca::Gem::NodeAdded < ::Tapioca::Gem::Event
|
|
1949
1880
|
abstract!
|
|
1950
1881
|
|
|
1951
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1952
|
-
sig { params(symbol: ::String, constant: ::Module).void }
|
|
1882
|
+
# source://tapioca//lib/tapioca/gem/events.rb#75
|
|
1883
|
+
sig { params(symbol: ::String, constant: T::Module[T.anything]).void }
|
|
1953
1884
|
def initialize(symbol, constant); end
|
|
1954
1885
|
|
|
1955
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1956
|
-
sig { returns(::Module) }
|
|
1886
|
+
# source://tapioca//lib/tapioca/gem/events.rb#72
|
|
1887
|
+
sig { returns(T::Module[T.anything]) }
|
|
1957
1888
|
def constant; end
|
|
1958
1889
|
|
|
1959
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
1890
|
+
# source://tapioca//lib/tapioca/gem/events.rb#69
|
|
1960
1891
|
sig { returns(::String) }
|
|
1961
1892
|
def symbol; end
|
|
1962
1893
|
end
|
|
@@ -1968,7 +1899,7 @@ class Tapioca::Gem::Pipeline
|
|
|
1968
1899
|
include ::Tapioca::SorbetHelper
|
|
1969
1900
|
include ::Tapioca::RBIHelper
|
|
1970
1901
|
|
|
1971
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
1902
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#20
|
|
1972
1903
|
sig do
|
|
1973
1904
|
params(
|
|
1974
1905
|
gem: ::Tapioca::Gemfile::GemSpec,
|
|
@@ -1979,11 +1910,11 @@ class Tapioca::Gem::Pipeline
|
|
|
1979
1910
|
end
|
|
1980
1911
|
def initialize(gem, error_handler:, include_doc: T.unsafe(nil), include_loc: T.unsafe(nil)); end
|
|
1981
1912
|
|
|
1982
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
1913
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#57
|
|
1983
1914
|
sig { returns(::RBI::Tree) }
|
|
1984
1915
|
def compile; end
|
|
1985
1916
|
|
|
1986
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
1917
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#111
|
|
1987
1918
|
sig { params(name: T.any(::String, ::Symbol)).returns(T::Boolean) }
|
|
1988
1919
|
def constant_in_gem?(name); end
|
|
1989
1920
|
|
|
@@ -1995,37 +1926,39 @@ class Tapioca::Gem::Pipeline
|
|
|
1995
1926
|
sig { returns(::Tapioca::Gemfile::GemSpec) }
|
|
1996
1927
|
def gem; end
|
|
1997
1928
|
|
|
1998
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
1999
|
-
sig
|
|
2000
|
-
|
|
1929
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#149
|
|
1930
|
+
sig do
|
|
1931
|
+
params(
|
|
1932
|
+
method_name: ::Symbol,
|
|
1933
|
+
owner: T::Module[T.anything]
|
|
1934
|
+
).returns(::Tapioca::Gem::Pipeline::MethodDefinitionLookupResult)
|
|
1935
|
+
end
|
|
1936
|
+
def method_definition_in_gem(method_name, owner); end
|
|
2001
1937
|
|
|
2002
|
-
#
|
|
2003
|
-
|
|
2004
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#163
|
|
2005
|
-
sig { params(constant: ::Module).returns(T.nilable(::String)) }
|
|
1938
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#175
|
|
1939
|
+
sig { params(constant: T::Module[T.anything]).returns(T.nilable(::String)) }
|
|
2006
1940
|
def name_of(constant); end
|
|
2007
1941
|
|
|
2008
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2009
|
-
sig { params(symbol: ::String, constant: ::Module, node: ::RBI::Const).void }
|
|
1942
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#81
|
|
1943
|
+
sig { params(symbol: ::String, constant: T::Module[T.anything], node: ::RBI::Const).void }
|
|
2010
1944
|
def push_const(symbol, constant, node); end
|
|
2011
1945
|
|
|
2012
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2013
|
-
sig { params(symbol: ::String, constant: ::BasicObject).void }
|
|
1946
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#71
|
|
2014
1947
|
def push_constant(symbol, constant); end
|
|
2015
1948
|
|
|
2016
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2017
|
-
sig { params(symbol: ::String, constant: ::Module).void }
|
|
1949
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#76
|
|
1950
|
+
sig { params(symbol: ::String, constant: T::Module[T.anything]).void }
|
|
2018
1951
|
def push_foreign_constant(symbol, constant); end
|
|
2019
1952
|
|
|
2020
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2021
|
-
sig { params(symbol: ::String, constant: ::Module, node: ::RBI::Scope).void }
|
|
1953
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#91
|
|
1954
|
+
sig { params(symbol: ::String, constant: T::Module[T.anything], node: ::RBI::Scope).void }
|
|
2022
1955
|
def push_foreign_scope(symbol, constant, node); end
|
|
2023
1956
|
|
|
2024
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
1957
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#96
|
|
2025
1958
|
sig do
|
|
2026
1959
|
params(
|
|
2027
1960
|
symbol: ::String,
|
|
2028
|
-
constant: ::Module,
|
|
1961
|
+
constant: T::Module[T.anything],
|
|
2029
1962
|
method: ::UnboundMethod,
|
|
2030
1963
|
node: ::RBI::Method,
|
|
2031
1964
|
signature: T.untyped,
|
|
@@ -2034,169 +1967,185 @@ class Tapioca::Gem::Pipeline
|
|
|
2034
1967
|
end
|
|
2035
1968
|
def push_method(symbol, constant, method, node, signature, parameters); end
|
|
2036
1969
|
|
|
2037
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2038
|
-
sig { params(symbol: ::String, constant: ::Module, node: ::RBI::Scope).void }
|
|
1970
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#86
|
|
1971
|
+
sig { params(symbol: ::String, constant: T::Module[T.anything], node: ::RBI::Scope).void }
|
|
2039
1972
|
def push_scope(symbol, constant, node); end
|
|
2040
1973
|
|
|
2041
|
-
#
|
|
2042
|
-
#
|
|
2043
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#72
|
|
1974
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#65
|
|
2044
1975
|
sig { params(symbol: ::String).void }
|
|
2045
1976
|
def push_symbol(symbol); end
|
|
2046
1977
|
|
|
2047
|
-
#
|
|
2048
|
-
#
|
|
2049
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#122
|
|
1978
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#103
|
|
2050
1979
|
sig { params(symbol_name: ::String).returns(T::Boolean) }
|
|
2051
1980
|
def symbol_in_payload?(symbol_name); end
|
|
2052
1981
|
|
|
2053
1982
|
private
|
|
2054
1983
|
|
|
2055
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
1984
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#472
|
|
2056
1985
|
sig { params(name: ::String).void }
|
|
2057
1986
|
def add_to_alias_namespace(name); end
|
|
2058
1987
|
|
|
2059
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
1988
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#477
|
|
2060
1989
|
sig { params(name: ::String).returns(T::Boolean) }
|
|
2061
1990
|
def alias_namespaced?(name); end
|
|
2062
1991
|
|
|
2063
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2064
|
-
sig { params(name: ::String, constant: ::Module).void }
|
|
1992
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#273
|
|
1993
|
+
sig { params(name: ::String, constant: T::Module[T.anything]).void }
|
|
2065
1994
|
def compile_alias(name, constant); end
|
|
2066
1995
|
|
|
2067
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2068
|
-
sig { params(symbol: ::String, constant: ::BasicObject).void }
|
|
1996
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#259
|
|
2069
1997
|
def compile_constant(symbol, constant); end
|
|
2070
1998
|
|
|
2071
|
-
#
|
|
2072
|
-
|
|
2073
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#235
|
|
2074
|
-
sig { params(symbol: ::String, constant: ::Module).void }
|
|
1999
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#247
|
|
2000
|
+
sig { params(symbol: ::String, constant: T::Module[T.anything]).void }
|
|
2075
2001
|
def compile_foreign_constant(symbol, constant); end
|
|
2076
2002
|
|
|
2077
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2078
|
-
sig { params(name: ::String, constant: ::Module).void }
|
|
2003
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#328
|
|
2004
|
+
sig { params(name: ::String, constant: T::Module[T.anything]).void }
|
|
2079
2005
|
def compile_module(name, constant); end
|
|
2080
2006
|
|
|
2081
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2082
|
-
sig { params(name: ::String, value: ::BasicObject).void }
|
|
2007
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#295
|
|
2083
2008
|
def compile_object(name, value); end
|
|
2084
2009
|
|
|
2085
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2086
|
-
sig { params(name: ::String, constant: ::Module).returns(::RBI::Scope) }
|
|
2010
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#339
|
|
2011
|
+
sig { params(name: ::String, constant: T::Module[T.anything]).returns(::RBI::Scope) }
|
|
2087
2012
|
def compile_scope(name, constant); end
|
|
2088
2013
|
|
|
2089
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2014
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#353
|
|
2090
2015
|
sig { params(constant: T::Class[T.anything]).returns(T.nilable(::String)) }
|
|
2091
2016
|
def compile_superclass(constant); end
|
|
2092
2017
|
|
|
2093
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2094
|
-
sig { params(constant: ::Module, strict: T::Boolean).returns(T::Boolean) }
|
|
2018
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#453
|
|
2019
|
+
sig { params(constant: T::Module[T.anything], strict: T::Boolean).returns(T::Boolean) }
|
|
2095
2020
|
def defined_in_gem?(constant, strict: T.unsafe(nil)); end
|
|
2096
2021
|
|
|
2097
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2022
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#205
|
|
2098
2023
|
sig { params(event: ::Tapioca::Gem::Event).void }
|
|
2099
2024
|
def dispatch(event); end
|
|
2100
2025
|
|
|
2101
|
-
#
|
|
2102
|
-
|
|
2103
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#480
|
|
2104
|
-
sig { params(constant: T.all(::Module, ::T::Generic)).returns(::String) }
|
|
2026
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#496
|
|
2027
|
+
sig { params(constant: T.all(::T::Generic, T::Module[T.anything])).returns(::String) }
|
|
2105
2028
|
def generic_name_of(constant); end
|
|
2106
2029
|
|
|
2107
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2108
|
-
sig { params(constant: ::Module).returns(T::Set[::String]) }
|
|
2030
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#465
|
|
2031
|
+
sig { params(constant: T::Module[T.anything]).returns(T::Set[::String]) }
|
|
2109
2032
|
def get_file_candidates(constant); end
|
|
2110
2033
|
|
|
2111
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2034
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#190
|
|
2112
2035
|
sig { params(gem: ::Tapioca::Gemfile::GemSpec).returns(T::Set[::String]) }
|
|
2113
2036
|
def load_bootstrap_symbols(gem); end
|
|
2114
2037
|
|
|
2115
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2116
|
-
sig { params(constant: ::Module, class_name: T.nilable(::String)).returns(T.nilable(::String)) }
|
|
2038
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#512
|
|
2039
|
+
sig { params(constant: T::Module[T.anything], class_name: T.nilable(::String)).returns(T.nilable(::String)) }
|
|
2117
2040
|
def name_of_proxy_target(constant, class_name); end
|
|
2118
2041
|
|
|
2119
|
-
#
|
|
2120
|
-
#
|
|
2121
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#188
|
|
2042
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#200
|
|
2122
2043
|
sig { returns(::Tapioca::Gem::Event) }
|
|
2123
2044
|
def next_event; end
|
|
2124
2045
|
|
|
2125
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2046
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#228
|
|
2126
2047
|
sig { params(event: ::Tapioca::Gem::ConstantFound).void }
|
|
2127
2048
|
def on_constant(event); end
|
|
2128
2049
|
|
|
2129
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2050
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#240
|
|
2130
2051
|
sig { params(event: ::Tapioca::Gem::NodeAdded).void }
|
|
2131
2052
|
def on_node(event); end
|
|
2132
2053
|
|
|
2133
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2054
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#219
|
|
2134
2055
|
sig { params(event: ::Tapioca::Gem::SymbolFound).void }
|
|
2135
2056
|
def on_symbol(event); end
|
|
2136
2057
|
|
|
2137
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2058
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#484
|
|
2138
2059
|
sig { params(name: ::String).void }
|
|
2139
2060
|
def seen!(name); end
|
|
2140
2061
|
|
|
2141
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2062
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#489
|
|
2142
2063
|
sig { params(name: ::String).returns(T::Boolean) }
|
|
2143
2064
|
def seen?(name); end
|
|
2144
2065
|
|
|
2145
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2146
|
-
sig { params(name: ::String, constant: ::Module).returns(T::Boolean) }
|
|
2066
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#422
|
|
2067
|
+
sig { params(name: ::String, constant: T::Module[T.anything]).returns(T::Boolean) }
|
|
2147
2068
|
def skip_alias?(name, constant); end
|
|
2148
2069
|
|
|
2149
|
-
#
|
|
2150
|
-
|
|
2070
|
+
# @return [Boolean]
|
|
2071
|
+
#
|
|
2072
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#410
|
|
2151
2073
|
def skip_constant?(name, constant); end
|
|
2152
2074
|
|
|
2153
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2154
|
-
sig { params(name: ::String, constant: ::Module).returns(T::Boolean) }
|
|
2075
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#440
|
|
2076
|
+
sig { params(name: ::String, constant: T::Module[T.anything]).returns(T::Boolean) }
|
|
2155
2077
|
def skip_foreign_constant?(name, constant); end
|
|
2156
2078
|
|
|
2157
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#
|
|
2158
|
-
sig { params(name: ::String, constant: ::Module).returns(T::Boolean) }
|
|
2079
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#445
|
|
2080
|
+
sig { params(name: ::String, constant: T::Module[T.anything]).returns(T::Boolean) }
|
|
2159
2081
|
def skip_module?(name, constant); end
|
|
2160
2082
|
|
|
2161
|
-
#
|
|
2162
|
-
|
|
2083
|
+
# @return [Boolean]
|
|
2084
|
+
#
|
|
2085
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#432
|
|
2163
2086
|
def skip_object?(name, constant); end
|
|
2164
2087
|
|
|
2165
|
-
#
|
|
2166
|
-
#
|
|
2167
|
-
# source://tapioca//lib/tapioca/gem/pipeline.rb#390
|
|
2088
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#404
|
|
2168
2089
|
sig { params(name: ::String).returns(T::Boolean) }
|
|
2169
2090
|
def skip_symbol?(name); end
|
|
2170
2091
|
end
|
|
2171
2092
|
|
|
2172
|
-
#
|
|
2173
|
-
|
|
2174
|
-
|
|
2093
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#11
|
|
2094
|
+
Tapioca::Gem::Pipeline::IGNORED_SYMBOLS = T.let(T.unsafe(nil), Array)
|
|
2095
|
+
|
|
2096
|
+
# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
|
|
2097
|
+
#
|
|
2098
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#120
|
|
2099
|
+
class Tapioca::Gem::Pipeline::MethodDefinitionLookupResult
|
|
2100
|
+
abstract!
|
|
2101
|
+
end
|
|
2102
|
+
|
|
2103
|
+
# The method defined in gem and has a source location
|
|
2104
|
+
#
|
|
2105
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#135
|
|
2106
|
+
class Tapioca::Gem::Pipeline::MethodInGemWithLocation < ::Tapioca::Gem::Pipeline::MethodDefinitionLookupResult
|
|
2107
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#142
|
|
2108
|
+
sig { params(location: ::Tapioca::Runtime::SourceLocation).void }
|
|
2109
|
+
def initialize(location); end
|
|
2110
|
+
|
|
2111
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#139
|
|
2112
|
+
sig { returns(::Tapioca::Runtime::SourceLocation) }
|
|
2113
|
+
def location; end
|
|
2114
|
+
end
|
|
2115
|
+
|
|
2116
|
+
# The method probably defined in the gem but doesn't have a source location
|
|
2175
2117
|
#
|
|
2176
2118
|
# source://tapioca//lib/tapioca/gem/pipeline.rb#132
|
|
2177
|
-
Tapioca::Gem::Pipeline::
|
|
2119
|
+
class Tapioca::Gem::Pipeline::MethodInGemWithoutLocation < ::Tapioca::Gem::Pipeline::MethodDefinitionLookupResult; end
|
|
2178
2120
|
|
|
2179
|
-
#
|
|
2180
|
-
|
|
2121
|
+
# The method is not defined in the gem
|
|
2122
|
+
#
|
|
2123
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#129
|
|
2124
|
+
class Tapioca::Gem::Pipeline::MethodNotInGem < ::Tapioca::Gem::Pipeline::MethodDefinitionLookupResult; end
|
|
2125
|
+
|
|
2126
|
+
# The method doesn't seem to exist
|
|
2127
|
+
#
|
|
2128
|
+
# source://tapioca//lib/tapioca/gem/pipeline.rb#126
|
|
2129
|
+
class Tapioca::Gem::Pipeline::MethodUnknown < ::Tapioca::Gem::Pipeline::MethodDefinitionLookupResult; end
|
|
2181
2130
|
|
|
2182
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
2131
|
+
# source://tapioca//lib/tapioca/gem/events.rb#95
|
|
2183
2132
|
class Tapioca::Gem::ScopeNodeAdded < ::Tapioca::Gem::NodeAdded
|
|
2184
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
2185
|
-
sig { params(symbol: ::String, constant: ::Module, node: ::RBI::Scope).void }
|
|
2133
|
+
# source://tapioca//lib/tapioca/gem/events.rb#102
|
|
2134
|
+
sig { params(symbol: ::String, constant: T::Module[T.anything], node: ::RBI::Scope).void }
|
|
2186
2135
|
def initialize(symbol, constant, node); end
|
|
2187
2136
|
|
|
2188
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
2137
|
+
# source://tapioca//lib/tapioca/gem/events.rb#99
|
|
2189
2138
|
sig { returns(::RBI::Scope) }
|
|
2190
2139
|
def node; end
|
|
2191
2140
|
end
|
|
2192
2141
|
|
|
2193
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
2142
|
+
# source://tapioca//lib/tapioca/gem/events.rb#14
|
|
2194
2143
|
class Tapioca::Gem::SymbolFound < ::Tapioca::Gem::Event
|
|
2195
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
2144
|
+
# source://tapioca//lib/tapioca/gem/events.rb#21
|
|
2196
2145
|
sig { params(symbol: ::String).void }
|
|
2197
2146
|
def initialize(symbol); end
|
|
2198
2147
|
|
|
2199
|
-
# source://tapioca//lib/tapioca/gem/events.rb#
|
|
2148
|
+
# source://tapioca//lib/tapioca/gem/events.rb#18
|
|
2200
2149
|
sig { returns(::String) }
|
|
2201
2150
|
def symbol; end
|
|
2202
2151
|
end
|
|
@@ -2233,11 +2182,8 @@ class Tapioca::GemInfo < ::T::Struct
|
|
|
2233
2182
|
|
|
2234
2183
|
class << self
|
|
2235
2184
|
# source://tapioca//lib/tapioca/gem_info.rb#13
|
|
2236
|
-
sig { params(spec: ::Bundler::
|
|
2185
|
+
sig { params(spec: T.any(::Bundler::StubSpecification, ::Gem::Specification)).returns(::Tapioca::GemInfo) }
|
|
2237
2186
|
def from_spec(spec); end
|
|
2238
|
-
|
|
2239
|
-
# source://sorbet-runtime/0.6.12673/lib/types/struct.rb#13
|
|
2240
|
-
def inherited(s); end
|
|
2241
2187
|
end
|
|
2242
2188
|
end
|
|
2243
2189
|
|
|
@@ -2285,8 +2231,6 @@ class Tapioca::Gemfile
|
|
|
2285
2231
|
sig { returns([T::Array[::Tapioca::Gemfile::GemSpec], T::Array[::String]]) }
|
|
2286
2232
|
def load_dependencies; end
|
|
2287
2233
|
|
|
2288
|
-
# @return [File]
|
|
2289
|
-
#
|
|
2290
2234
|
# source://tapioca//lib/tapioca/gemfile.rb#54
|
|
2291
2235
|
def lockfile; end
|
|
2292
2236
|
|
|
@@ -2303,94 +2247,92 @@ end
|
|
|
2303
2247
|
class Tapioca::Gemfile::GemSpec
|
|
2304
2248
|
include ::Tapioca::GemHelper
|
|
2305
2249
|
|
|
2306
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2250
|
+
# source://tapioca//lib/tapioca/gemfile.rb#139
|
|
2307
2251
|
sig { params(spec: T.any(::Bundler::StubSpecification, ::Gem::Specification)).void }
|
|
2308
2252
|
def initialize(spec); end
|
|
2309
2253
|
|
|
2310
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2254
|
+
# source://tapioca//lib/tapioca/gemfile.rb#149
|
|
2311
2255
|
sig { params(other: ::BasicObject).returns(T::Boolean) }
|
|
2312
2256
|
def ==(other); end
|
|
2313
2257
|
|
|
2314
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2258
|
+
# source://tapioca//lib/tapioca/gemfile.rb#174
|
|
2315
2259
|
sig { params(path: ::String).returns(T::Boolean) }
|
|
2316
2260
|
def contains_path?(path); end
|
|
2317
2261
|
|
|
2318
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2262
|
+
# source://tapioca//lib/tapioca/gemfile.rb#164
|
|
2319
2263
|
sig { returns(T::Array[::Gem::Dependency]) }
|
|
2320
2264
|
def dependencies; end
|
|
2321
2265
|
|
|
2322
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2266
|
+
# source://tapioca//lib/tapioca/gemfile.rb#204
|
|
2323
2267
|
sig { returns(T::Boolean) }
|
|
2324
2268
|
def export_rbi_files?; end
|
|
2325
2269
|
|
|
2326
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2270
|
+
# source://tapioca//lib/tapioca/gemfile.rb#199
|
|
2327
2271
|
sig { returns(T::Array[::String]) }
|
|
2328
2272
|
def exported_rbi_files; end
|
|
2329
2273
|
|
|
2330
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2274
|
+
# source://tapioca//lib/tapioca/gemfile.rb#209
|
|
2331
2275
|
sig { returns(::RBI::MergeTree) }
|
|
2332
2276
|
def exported_rbi_tree; end
|
|
2333
2277
|
|
|
2334
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2278
|
+
# source://tapioca//lib/tapioca/gemfile.rb#136
|
|
2335
2279
|
sig { returns(T::Array[::Pathname]) }
|
|
2336
2280
|
def files; end
|
|
2337
2281
|
|
|
2338
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2282
|
+
# source://tapioca//lib/tapioca/gemfile.rb#133
|
|
2339
2283
|
sig { returns(::String) }
|
|
2340
2284
|
def full_gem_path; end
|
|
2341
2285
|
|
|
2342
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2286
|
+
# source://tapioca//lib/tapioca/gemfile.rb#154
|
|
2343
2287
|
sig { params(gemfile_dir: ::String).returns(T::Boolean) }
|
|
2344
2288
|
def ignore?(gemfile_dir); end
|
|
2345
2289
|
|
|
2346
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2290
|
+
# source://tapioca//lib/tapioca/gemfile.rb#159
|
|
2347
2291
|
sig { returns(::String) }
|
|
2348
2292
|
def name; end
|
|
2349
2293
|
|
|
2350
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2294
|
+
# source://tapioca//lib/tapioca/gemfile.rb#183
|
|
2351
2295
|
sig { void }
|
|
2352
2296
|
def parse_yard_docs; end
|
|
2353
2297
|
|
|
2354
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2298
|
+
# source://tapioca//lib/tapioca/gemfile.rb#169
|
|
2355
2299
|
sig { returns(::String) }
|
|
2356
2300
|
def rbi_file_name; end
|
|
2357
2301
|
|
|
2358
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2302
|
+
# source://tapioca//lib/tapioca/gemfile.rb#221
|
|
2359
2303
|
sig { params(file: ::Pathname).returns(::Pathname) }
|
|
2360
2304
|
def relative_path_for(file); end
|
|
2361
2305
|
|
|
2362
|
-
#
|
|
2363
|
-
#
|
|
2364
|
-
# source://tapioca//lib/tapioca/gemfile.rb#139
|
|
2306
|
+
# source://tapioca//lib/tapioca/gemfile.rb#133
|
|
2365
2307
|
def version; end
|
|
2366
2308
|
|
|
2367
2309
|
private
|
|
2368
2310
|
|
|
2369
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2311
|
+
# source://tapioca//lib/tapioca/gemfile.rb#232
|
|
2370
2312
|
sig { returns(T::Array[::Pathname]) }
|
|
2371
2313
|
def collect_files; end
|
|
2372
2314
|
|
|
2373
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2315
|
+
# source://tapioca//lib/tapioca/gemfile.rb#247
|
|
2374
2316
|
sig { returns(T.nilable(T::Boolean)) }
|
|
2375
2317
|
def default_gem?; end
|
|
2376
2318
|
|
|
2377
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2319
|
+
# source://tapioca//lib/tapioca/gemfile.rb#303
|
|
2378
2320
|
sig { returns(T::Boolean) }
|
|
2379
2321
|
def gem_ignored?; end
|
|
2380
2322
|
|
|
2381
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2323
|
+
# source://tapioca//lib/tapioca/gemfile.rb#282
|
|
2382
2324
|
sig { params(path: ::String).returns(T::Boolean) }
|
|
2383
2325
|
def has_parent_gemspec?(path); end
|
|
2384
2326
|
|
|
2385
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2327
|
+
# source://tapioca//lib/tapioca/gemfile.rb#252
|
|
2386
2328
|
sig { returns(::Regexp) }
|
|
2387
2329
|
def require_paths_prefix_matcher; end
|
|
2388
2330
|
|
|
2389
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2331
|
+
# source://tapioca//lib/tapioca/gemfile.rb#261
|
|
2390
2332
|
sig { params(file: ::String).returns(::Pathname) }
|
|
2391
2333
|
def resolve_to_ruby_lib_dir(file); end
|
|
2392
2334
|
|
|
2393
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2335
|
+
# source://tapioca//lib/tapioca/gemfile.rb#275
|
|
2394
2336
|
sig { returns(::String) }
|
|
2395
2337
|
def version_string; end
|
|
2396
2338
|
|
|
@@ -2401,13 +2343,13 @@ class Tapioca::Gemfile::GemSpec
|
|
|
2401
2343
|
end
|
|
2402
2344
|
end
|
|
2403
2345
|
|
|
2404
|
-
# source://tapioca//lib/tapioca/gemfile.rb#
|
|
2346
|
+
# source://tapioca//lib/tapioca/gemfile.rb#122
|
|
2405
2347
|
Tapioca::Gemfile::GemSpec::IGNORED_GEMS = T.let(T.unsafe(nil), Array)
|
|
2406
2348
|
|
|
2407
2349
|
# source://tapioca//lib/tapioca/gemfile.rb#10
|
|
2408
2350
|
Tapioca::Gemfile::Spec = T.type_alias { T.any(::Bundler::StubSpecification, ::Gem::Specification) }
|
|
2409
2351
|
|
|
2410
|
-
# source://tapioca//lib/tapioca.rb#
|
|
2352
|
+
# source://tapioca//lib/tapioca.rb#14
|
|
2411
2353
|
Tapioca::LIB_ROOT_DIR = T.let(T.unsafe(nil), String)
|
|
2412
2354
|
|
|
2413
2355
|
# source://tapioca//lib/tapioca/loaders/loader.rb#5
|
|
@@ -2415,7 +2357,7 @@ module Tapioca::Loaders; end
|
|
|
2415
2357
|
|
|
2416
2358
|
# source://tapioca//lib/tapioca/loaders/dsl.rb#6
|
|
2417
2359
|
class Tapioca::Loaders::Dsl < ::Tapioca::Loaders::Loader
|
|
2418
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
|
2360
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#66
|
|
2419
2361
|
sig do
|
|
2420
2362
|
params(
|
|
2421
2363
|
tapioca_path: ::String,
|
|
@@ -2426,40 +2368,40 @@ class Tapioca::Loaders::Dsl < ::Tapioca::Loaders::Loader
|
|
|
2426
2368
|
end
|
|
2427
2369
|
def initialize(tapioca_path:, eager_load: T.unsafe(nil), app_root: T.unsafe(nil), halt_upon_load_error: T.unsafe(nil)); end
|
|
2428
2370
|
|
|
2429
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
|
2371
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#30
|
|
2430
2372
|
sig { override.void }
|
|
2431
2373
|
def load; end
|
|
2432
2374
|
|
|
2433
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
|
2375
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#37
|
|
2434
2376
|
sig { void }
|
|
2435
2377
|
def load_dsl_extensions_and_compilers; end
|
|
2436
2378
|
|
|
2437
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
|
2379
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#43
|
|
2438
2380
|
sig { void }
|
|
2439
2381
|
def reload_custom_compilers; end
|
|
2440
2382
|
|
|
2441
2383
|
protected
|
|
2442
2384
|
|
|
2443
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
|
2385
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#112
|
|
2444
2386
|
sig { void }
|
|
2445
2387
|
def load_application; end
|
|
2446
2388
|
|
|
2447
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
|
2389
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#92
|
|
2448
2390
|
sig { void }
|
|
2449
2391
|
def load_dsl_compilers; end
|
|
2450
2392
|
|
|
2451
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
|
2393
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#77
|
|
2452
2394
|
sig { void }
|
|
2453
2395
|
def load_dsl_extensions; end
|
|
2454
2396
|
|
|
2455
2397
|
private
|
|
2456
2398
|
|
|
2457
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
|
2399
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#128
|
|
2458
2400
|
sig { void }
|
|
2459
2401
|
def load_custom_dsl_compilers; end
|
|
2460
2402
|
|
|
2461
2403
|
class << self
|
|
2462
|
-
# source://tapioca//lib/tapioca/loaders/dsl.rb#
|
|
2404
|
+
# source://tapioca//lib/tapioca/loaders/dsl.rb#13
|
|
2463
2405
|
sig do
|
|
2464
2406
|
params(
|
|
2465
2407
|
tapioca_path: ::String,
|
|
@@ -2474,7 +2416,7 @@ end
|
|
|
2474
2416
|
|
|
2475
2417
|
# source://tapioca//lib/tapioca/loaders/gem.rb#6
|
|
2476
2418
|
class Tapioca::Loaders::Gem < ::Tapioca::Loaders::Loader
|
|
2477
|
-
# source://tapioca//lib/tapioca/loaders/gem.rb#
|
|
2419
|
+
# source://tapioca//lib/tapioca/loaders/gem.rb#34
|
|
2478
2420
|
sig do
|
|
2479
2421
|
params(
|
|
2480
2422
|
bundle: ::Tapioca::Gemfile,
|
|
@@ -2486,22 +2428,22 @@ class Tapioca::Loaders::Gem < ::Tapioca::Loaders::Loader
|
|
|
2486
2428
|
end
|
|
2487
2429
|
def initialize(bundle:, prerequire:, postrequire:, default_command:, halt_upon_load_error:); end
|
|
2488
2430
|
|
|
2489
|
-
# source://tapioca//lib/tapioca/loaders/gem.rb#
|
|
2431
|
+
# source://tapioca//lib/tapioca/loaders/gem.rb#27
|
|
2490
2432
|
sig { override.void }
|
|
2491
2433
|
def load; end
|
|
2492
2434
|
|
|
2493
2435
|
protected
|
|
2494
2436
|
|
|
2495
|
-
# source://tapioca//lib/tapioca/loaders/gem.rb#
|
|
2437
|
+
# source://tapioca//lib/tapioca/loaders/gem.rb#72
|
|
2496
2438
|
sig { params(file: ::String, error: ::LoadError).void }
|
|
2497
2439
|
def explain_failed_require(file, error); end
|
|
2498
2440
|
|
|
2499
|
-
# source://tapioca//lib/tapioca/loaders/gem.rb#
|
|
2441
|
+
# source://tapioca//lib/tapioca/loaders/gem.rb#45
|
|
2500
2442
|
sig { void }
|
|
2501
2443
|
def require_gem_file; end
|
|
2502
2444
|
|
|
2503
2445
|
class << self
|
|
2504
|
-
# source://tapioca//lib/tapioca/loaders/gem.rb#
|
|
2446
|
+
# source://tapioca//lib/tapioca/loaders/gem.rb#13
|
|
2505
2447
|
sig do
|
|
2506
2448
|
params(
|
|
2507
2449
|
bundle: ::Tapioca::Gemfile,
|
|
@@ -2515,7 +2457,7 @@ class Tapioca::Loaders::Gem < ::Tapioca::Loaders::Loader
|
|
|
2515
2457
|
end
|
|
2516
2458
|
end
|
|
2517
2459
|
|
|
2518
|
-
# @abstract
|
|
2460
|
+
# @abstract
|
|
2519
2461
|
#
|
|
2520
2462
|
# source://tapioca//lib/tapioca/loaders/loader.rb#6
|
|
2521
2463
|
class Tapioca::Loaders::Loader
|
|
@@ -2530,8 +2472,9 @@ class Tapioca::Loaders::Loader
|
|
|
2530
2472
|
abstract!
|
|
2531
2473
|
|
|
2532
2474
|
# @abstract
|
|
2475
|
+
# @raise [NotImplementedError]
|
|
2533
2476
|
#
|
|
2534
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
|
2477
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#18
|
|
2535
2478
|
sig { abstract.void }
|
|
2536
2479
|
def load; end
|
|
2537
2480
|
|
|
@@ -2542,22 +2485,17 @@ class Tapioca::Loaders::Loader
|
|
|
2542
2485
|
# engine paths. The following commit is the change:
|
|
2543
2486
|
# https://github.com/rails/rails/commit/ebfca905db14020589c22e6937382e6f8f687664
|
|
2544
2487
|
#
|
|
2545
|
-
#
|
|
2546
|
-
# @return [Array<String>]
|
|
2547
|
-
#
|
|
2548
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#234
|
|
2488
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#219
|
|
2549
2489
|
def eager_load_paths(engine); end
|
|
2550
2490
|
|
|
2551
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
|
2491
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#183
|
|
2552
2492
|
sig { void }
|
|
2553
2493
|
def eager_load_rails_app; end
|
|
2554
2494
|
|
|
2555
|
-
#
|
|
2556
|
-
#
|
|
2557
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#178
|
|
2495
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#162
|
|
2558
2496
|
def engines; end
|
|
2559
2497
|
|
|
2560
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
|
2498
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#23
|
|
2561
2499
|
sig do
|
|
2562
2500
|
params(
|
|
2563
2501
|
gemfile: ::Tapioca::Gemfile,
|
|
@@ -2568,15 +2506,15 @@ class Tapioca::Loaders::Loader
|
|
|
2568
2506
|
end
|
|
2569
2507
|
def load_bundle(gemfile, initialize_file, require_file, halt_upon_load_error); end
|
|
2570
2508
|
|
|
2571
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
|
2509
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#119
|
|
2572
2510
|
sig { void }
|
|
2573
2511
|
def load_engines_in_classic_mode; end
|
|
2574
2512
|
|
|
2575
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
|
2513
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#101
|
|
2576
2514
|
sig { void }
|
|
2577
2515
|
def load_engines_in_zeitwerk_mode; end
|
|
2578
2516
|
|
|
2579
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
|
2517
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#36
|
|
2580
2518
|
sig do
|
|
2581
2519
|
params(
|
|
2582
2520
|
environment_load: T::Boolean,
|
|
@@ -2587,26 +2525,26 @@ class Tapioca::Loaders::Loader
|
|
|
2587
2525
|
end
|
|
2588
2526
|
def load_rails_application(environment_load: T.unsafe(nil), eager_load: T.unsafe(nil), app_root: T.unsafe(nil), halt_upon_load_error: T.unsafe(nil)); end
|
|
2589
2527
|
|
|
2590
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
|
2528
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#76
|
|
2591
2529
|
sig { void }
|
|
2592
2530
|
def load_rails_engines; end
|
|
2593
2531
|
|
|
2594
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
|
2532
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#204
|
|
2595
2533
|
sig { params(file: T.nilable(::String)).void }
|
|
2596
2534
|
def require_helper(file); end
|
|
2597
2535
|
|
|
2598
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
|
2536
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#90
|
|
2599
2537
|
def run_initializers; end
|
|
2600
2538
|
|
|
2601
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
|
2539
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#176
|
|
2602
2540
|
sig { params(path: ::String).void }
|
|
2603
2541
|
def safe_require(path); end
|
|
2604
2542
|
|
|
2605
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
|
2543
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#144
|
|
2606
2544
|
sig { params(blk: T.proc.void).void }
|
|
2607
2545
|
def with_rails_application(&blk); end
|
|
2608
2546
|
|
|
2609
|
-
# source://tapioca//lib/tapioca/loaders/loader.rb#
|
|
2547
|
+
# source://tapioca//lib/tapioca/loaders/loader.rb#137
|
|
2610
2548
|
sig { returns(T::Boolean) }
|
|
2611
2549
|
def zeitwerk_mode?; end
|
|
2612
2550
|
end
|
|
@@ -2616,7 +2554,7 @@ module Tapioca::RBIFilesHelper
|
|
|
2616
2554
|
requires_ancestor { Tapioca::SorbetHelper }
|
|
2617
2555
|
requires_ancestor { Thor::Shell }
|
|
2618
2556
|
|
|
2619
|
-
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#
|
|
2557
|
+
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#43
|
|
2620
2558
|
sig do
|
|
2621
2559
|
params(
|
|
2622
2560
|
index: ::RBI::Index,
|
|
@@ -2626,19 +2564,19 @@ module Tapioca::RBIFilesHelper
|
|
|
2626
2564
|
end
|
|
2627
2565
|
def duplicated_nodes_from_index(index, shim_rbi_dir:, todo_rbi_file:); end
|
|
2628
2566
|
|
|
2629
|
-
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#
|
|
2567
|
+
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#14
|
|
2630
2568
|
sig { params(index: ::RBI::Index, kind: ::String, file: ::String).void }
|
|
2631
2569
|
def index_rbi(index, kind, file); end
|
|
2632
2570
|
|
|
2633
|
-
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#
|
|
2571
|
+
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#26
|
|
2634
2572
|
sig { params(index: ::RBI::Index, kind: ::String, dir: ::String, number_of_workers: T.nilable(::Integer)).void }
|
|
2635
2573
|
def index_rbis(index, kind, dir, number_of_workers:); end
|
|
2636
2574
|
|
|
2637
|
-
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#
|
|
2575
|
+
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#60
|
|
2638
2576
|
sig { params(loc: ::RBI::Loc, path_prefix: T.nilable(::String)).returns(::String) }
|
|
2639
2577
|
def location_to_payload_url(loc, path_prefix:); end
|
|
2640
2578
|
|
|
2641
|
-
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#
|
|
2579
|
+
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#72
|
|
2642
2580
|
sig do
|
|
2643
2581
|
params(
|
|
2644
2582
|
command: ::String,
|
|
@@ -2653,27 +2591,11 @@ module Tapioca::RBIFilesHelper
|
|
|
2653
2591
|
|
|
2654
2592
|
private
|
|
2655
2593
|
|
|
2656
|
-
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#
|
|
2657
|
-
sig { params(nodes: T::Array[::RBI::Node]).returns(T::Array[::RBI::Scope]) }
|
|
2658
|
-
def extract_empty_scopes(nodes); end
|
|
2659
|
-
|
|
2660
|
-
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#228
|
|
2594
|
+
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#250
|
|
2661
2595
|
sig { params(nodes: T::Array[::RBI::Node]).returns(T::Array[T.any(::RBI::Attr, ::RBI::Method)]) }
|
|
2662
2596
|
def extract_methods_and_attrs(nodes); end
|
|
2663
2597
|
|
|
2664
|
-
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#
|
|
2665
|
-
sig { params(nodes: T::Array[::RBI::Node]).returns(T::Array[T.any(::RBI::Mixin, ::RBI::RequiresAncestor)]) }
|
|
2666
|
-
def extract_mixins(nodes); end
|
|
2667
|
-
|
|
2668
|
-
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#248
|
|
2669
|
-
sig do
|
|
2670
|
-
params(
|
|
2671
|
-
nodes: T::Array[T.any(::RBI::Attr, ::RBI::Method)]
|
|
2672
|
-
).returns(T::Array[T.any(::RBI::Attr, ::RBI::Method)])
|
|
2673
|
-
end
|
|
2674
|
-
def extract_nodes_with_sigs(nodes); end
|
|
2675
|
-
|
|
2676
|
-
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#216
|
|
2598
|
+
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#243
|
|
2677
2599
|
sig do
|
|
2678
2600
|
params(
|
|
2679
2601
|
nodes: T::Array[::RBI::Node],
|
|
@@ -2683,30 +2605,44 @@ module Tapioca::RBIFilesHelper
|
|
|
2683
2605
|
end
|
|
2684
2606
|
def extract_shims_and_todos(nodes, shim_rbi_dir:, todo_rbi_file:); end
|
|
2685
2607
|
|
|
2686
|
-
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#
|
|
2608
|
+
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#287
|
|
2687
2609
|
sig { params(path: ::String).returns(::String) }
|
|
2688
2610
|
def gem_name_from_rbi_path(path); end
|
|
2689
2611
|
|
|
2690
|
-
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#
|
|
2612
|
+
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#211
|
|
2613
|
+
sig { params(nodes: T::Array[::RBI::Node], shims_or_todos: T::Array[::RBI::Node]).returns(T::Boolean) }
|
|
2614
|
+
def has_duplicated_methods_and_attrs?(nodes, shims_or_todos); end
|
|
2615
|
+
|
|
2616
|
+
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#203
|
|
2617
|
+
sig { params(shims_or_todos: T::Array[::RBI::Node]).returns(T::Boolean) }
|
|
2618
|
+
def has_duplicated_mixins?(shims_or_todos); end
|
|
2619
|
+
|
|
2620
|
+
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#175
|
|
2621
|
+
sig { params(all_nodes: T::Array[::RBI::Node], shims_or_todos: T::Array[::RBI::Node]).returns(T::Boolean) }
|
|
2622
|
+
def has_duplicated_scopes?(all_nodes, shims_or_todos); end
|
|
2623
|
+
|
|
2624
|
+
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#141
|
|
2691
2625
|
sig { params(index: ::RBI::Index, files: T::Array[::String], number_of_workers: T.nilable(::Integer)).void }
|
|
2692
2626
|
def parse_and_index_files(index, files, number_of_workers:); end
|
|
2693
2627
|
|
|
2694
|
-
#
|
|
2628
|
+
# Do the list of `nodes` sharing the same name have duplicates?
|
|
2629
|
+
#
|
|
2630
|
+
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#158
|
|
2695
2631
|
sig { params(nodes: T::Array[::RBI::Node], shim_rbi_dir: ::String, todo_rbi_file: ::String).returns(T::Boolean) }
|
|
2696
2632
|
def shims_or_todos_have_duplicates?(nodes, shim_rbi_dir:, todo_rbi_file:); end
|
|
2697
2633
|
|
|
2698
|
-
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#
|
|
2634
|
+
# source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#260
|
|
2699
2635
|
sig { params(errors: T::Array[::Spoom::Sorbet::Errors::Error], gem_dir: ::String).void }
|
|
2700
2636
|
def update_gem_rbis_strictnesses(errors, gem_dir); end
|
|
2701
2637
|
end
|
|
2702
2638
|
|
|
2703
2639
|
# source://tapioca//lib/tapioca/rbi_formatter.rb#5
|
|
2704
2640
|
class Tapioca::RBIFormatter < ::RBI::Formatter
|
|
2705
|
-
# source://tapioca//lib/tapioca/rbi_formatter.rb#
|
|
2641
|
+
# source://tapioca//lib/tapioca/rbi_formatter.rb#18
|
|
2706
2642
|
sig { params(file: ::RBI::File).void }
|
|
2707
2643
|
def write_empty_body_comment!(file); end
|
|
2708
2644
|
|
|
2709
|
-
# source://tapioca//lib/tapioca/rbi_formatter.rb#
|
|
2645
|
+
# source://tapioca//lib/tapioca/rbi_formatter.rb#9
|
|
2710
2646
|
sig { params(file: ::RBI::File, command: ::String, reason: T.nilable(::String)).void }
|
|
2711
2647
|
def write_header!(file, command, reason: T.unsafe(nil)); end
|
|
2712
2648
|
end
|
|
@@ -2717,60 +2653,60 @@ module Tapioca::RBIHelper
|
|
|
2717
2653
|
extend ::Tapioca::SorbetHelper
|
|
2718
2654
|
extend ::Tapioca::RBIHelper
|
|
2719
2655
|
|
|
2720
|
-
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#
|
|
2656
|
+
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#83
|
|
2721
2657
|
sig { params(type: ::String).returns(::String) }
|
|
2722
2658
|
def as_nilable_type(type); end
|
|
2723
2659
|
|
|
2724
|
-
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#
|
|
2660
|
+
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#92
|
|
2725
2661
|
sig { params(type: ::String).returns(::String) }
|
|
2726
2662
|
def as_non_nilable_type(type); end
|
|
2727
2663
|
|
|
2728
|
-
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#
|
|
2664
|
+
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#64
|
|
2729
2665
|
sig { params(name: ::String, type: ::String).returns(::RBI::TypedParam) }
|
|
2730
2666
|
def create_block_param(name, type:); end
|
|
2731
2667
|
|
|
2732
|
-
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#
|
|
2668
|
+
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#54
|
|
2733
2669
|
sig { params(name: ::String, type: ::String, default: ::String).returns(::RBI::TypedParam) }
|
|
2734
2670
|
def create_kw_opt_param(name, type:, default:); end
|
|
2735
2671
|
|
|
2736
|
-
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#
|
|
2672
|
+
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#49
|
|
2737
2673
|
sig { params(name: ::String, type: ::String).returns(::RBI::TypedParam) }
|
|
2738
2674
|
def create_kw_param(name, type:); end
|
|
2739
2675
|
|
|
2740
|
-
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#
|
|
2676
|
+
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#59
|
|
2741
2677
|
sig { params(name: ::String, type: ::String).returns(::RBI::TypedParam) }
|
|
2742
2678
|
def create_kw_rest_param(name, type:); end
|
|
2743
2679
|
|
|
2744
|
-
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#
|
|
2680
|
+
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#39
|
|
2745
2681
|
sig { params(name: ::String, type: ::String, default: ::String).returns(::RBI::TypedParam) }
|
|
2746
2682
|
def create_opt_param(name, type:, default:); end
|
|
2747
2683
|
|
|
2748
|
-
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#
|
|
2684
|
+
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#34
|
|
2749
2685
|
sig { params(name: ::String, type: ::String).returns(::RBI::TypedParam) }
|
|
2750
2686
|
def create_param(name, type:); end
|
|
2751
2687
|
|
|
2752
|
-
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#
|
|
2688
|
+
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#44
|
|
2753
2689
|
sig { params(name: ::String, type: ::String).returns(::RBI::TypedParam) }
|
|
2754
2690
|
def create_rest_param(name, type:); end
|
|
2755
2691
|
|
|
2756
|
-
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#
|
|
2692
|
+
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#69
|
|
2757
2693
|
sig { params(param: ::RBI::Param, type: ::String).returns(::RBI::TypedParam) }
|
|
2758
2694
|
def create_typed_param(param, type); end
|
|
2759
2695
|
|
|
2760
|
-
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#
|
|
2696
|
+
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#74
|
|
2761
2697
|
sig { params(sig_string: ::String).returns(::String) }
|
|
2762
2698
|
def sanitize_signature_types(sig_string); end
|
|
2763
2699
|
|
|
2764
|
-
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#
|
|
2700
|
+
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#101
|
|
2765
2701
|
sig { params(name: ::String).returns(T::Boolean) }
|
|
2766
2702
|
def valid_method_name?(name); end
|
|
2767
2703
|
|
|
2768
|
-
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#
|
|
2704
|
+
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#106
|
|
2769
2705
|
sig { params(name: ::String).returns(T::Boolean) }
|
|
2770
2706
|
def valid_parameter_name?(name); end
|
|
2771
2707
|
|
|
2772
2708
|
class << self
|
|
2773
|
-
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#
|
|
2709
|
+
# source://tapioca//lib/tapioca/helpers/rbi_helper.rb#15
|
|
2774
2710
|
sig do
|
|
2775
2711
|
params(
|
|
2776
2712
|
type: ::String,
|
|
@@ -2786,35 +2722,43 @@ end
|
|
|
2786
2722
|
|
|
2787
2723
|
# source://tapioca//lib/tapioca/repo_index.rb#5
|
|
2788
2724
|
class Tapioca::RepoIndex
|
|
2789
|
-
# source://tapioca//lib/tapioca/repo_index.rb#
|
|
2725
|
+
# source://tapioca//lib/tapioca/repo_index.rb#24
|
|
2790
2726
|
sig { void }
|
|
2791
2727
|
def initialize; end
|
|
2792
2728
|
|
|
2793
|
-
# source://tapioca//lib/tapioca/repo_index.rb#
|
|
2729
|
+
# source://tapioca//lib/tapioca/repo_index.rb#29
|
|
2794
2730
|
sig { params(gem_name: ::String).void }
|
|
2795
2731
|
def <<(gem_name); end
|
|
2796
2732
|
|
|
2797
|
-
# source://tapioca//lib/tapioca/repo_index.rb#
|
|
2733
|
+
# source://tapioca//lib/tapioca/repo_index.rb#34
|
|
2798
2734
|
sig { returns(T::Enumerable[::String]) }
|
|
2799
2735
|
def gems; end
|
|
2800
2736
|
|
|
2801
|
-
# source://tapioca//lib/tapioca/repo_index.rb#
|
|
2737
|
+
# source://tapioca//lib/tapioca/repo_index.rb#39
|
|
2802
2738
|
sig { params(gem_name: ::String).returns(T::Boolean) }
|
|
2803
2739
|
def has_gem?(gem_name); end
|
|
2804
2740
|
|
|
2805
2741
|
class << self
|
|
2806
|
-
# source://tapioca//lib/tapioca/repo_index.rb#
|
|
2807
|
-
sig { params(hash: T::Hash[::String, T::Hash[T.untyped, T.untyped]]).returns(Tapioca::RepoIndex) }
|
|
2742
|
+
# source://tapioca//lib/tapioca/repo_index.rb#16
|
|
2743
|
+
sig { params(hash: T::Hash[::String, T::Hash[T.untyped, T.untyped]]).returns(::Tapioca::RepoIndex) }
|
|
2808
2744
|
def from_hash(hash); end
|
|
2809
2745
|
|
|
2810
|
-
# source://tapioca//lib/tapioca/repo_index.rb#
|
|
2811
|
-
sig { params(json: ::String).returns(Tapioca::RepoIndex) }
|
|
2746
|
+
# source://tapioca//lib/tapioca/repo_index.rb#11
|
|
2747
|
+
sig { params(json: ::String).returns(::Tapioca::RepoIndex) }
|
|
2812
2748
|
def from_json(json); end
|
|
2813
2749
|
end
|
|
2814
2750
|
end
|
|
2815
2751
|
|
|
2816
2752
|
# source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#5
|
|
2817
|
-
module Tapioca::Runtime
|
|
2753
|
+
module Tapioca::Runtime
|
|
2754
|
+
class << self
|
|
2755
|
+
# source://tapioca//lib/tapioca/runtime/helpers.rb#11
|
|
2756
|
+
def silence_warnings(&blk); end
|
|
2757
|
+
|
|
2758
|
+
# source://tapioca//lib/tapioca/runtime/helpers.rb#22
|
|
2759
|
+
def with_disabled_exits(&block); end
|
|
2760
|
+
end
|
|
2761
|
+
end
|
|
2818
2762
|
|
|
2819
2763
|
# This module should only be included when running versions of Ruby
|
|
2820
2764
|
# older than 3.2. Because the Class#attached_object method is not
|
|
@@ -2822,7 +2766,6 @@ module Tapioca::Runtime; end
|
|
|
2822
2766
|
# class by iterating through ObjectSpace.
|
|
2823
2767
|
module Tapioca::Runtime::AttachedClassOf
|
|
2824
2768
|
# source://tapioca//lib/tapioca/runtime/attached_class_of_32.rb#14
|
|
2825
|
-
sig { params(singleton_class: ::Class).returns(T.nilable(::Module)) }
|
|
2826
2769
|
def attached_class_of(singleton_class); end
|
|
2827
2770
|
end
|
|
2828
2771
|
|
|
@@ -2831,65 +2774,54 @@ class Tapioca::Runtime::DynamicMixinCompiler
|
|
|
2831
2774
|
include ::Tapioca::Runtime::AttachedClassOf
|
|
2832
2775
|
include ::Tapioca::Runtime::Reflection
|
|
2833
2776
|
|
|
2777
|
+
# @return [DynamicMixinCompiler] a new instance of DynamicMixinCompiler
|
|
2778
|
+
#
|
|
2834
2779
|
# source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#20
|
|
2835
|
-
sig { params(constant: ::Module).void }
|
|
2836
2780
|
def initialize(constant); end
|
|
2837
2781
|
|
|
2838
|
-
# @return [Array<Symbol>]
|
|
2839
|
-
#
|
|
2840
2782
|
# source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#14
|
|
2841
2783
|
def class_attribute_predicates; end
|
|
2842
2784
|
|
|
2843
2785
|
# source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#14
|
|
2844
|
-
sig { returns(T::Array[::Symbol]) }
|
|
2845
2786
|
def class_attribute_readers; end
|
|
2846
2787
|
|
|
2847
|
-
# @return [Array<Symbol>]
|
|
2848
|
-
#
|
|
2849
2788
|
# source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#14
|
|
2850
2789
|
def class_attribute_writers; end
|
|
2851
2790
|
|
|
2852
2791
|
# source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#137
|
|
2853
|
-
sig { params(tree: ::RBI::Tree).void }
|
|
2854
2792
|
def compile_class_attributes(tree); end
|
|
2855
2793
|
|
|
2856
2794
|
# source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#180
|
|
2857
|
-
sig { params(tree: ::RBI::Tree).returns([T::Array[::Module], T::Array[::Module]]) }
|
|
2858
2795
|
def compile_mixes_in_class_methods(tree); end
|
|
2859
2796
|
|
|
2860
2797
|
# source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#11
|
|
2861
|
-
sig { returns(T::Array[::Module]) }
|
|
2862
2798
|
def dynamic_extends; end
|
|
2863
2799
|
|
|
2864
|
-
# @return [Array<Module>]
|
|
2865
|
-
#
|
|
2866
2800
|
# source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#11
|
|
2867
2801
|
def dynamic_includes; end
|
|
2868
2802
|
|
|
2803
|
+
# @return [Boolean]
|
|
2804
|
+
#
|
|
2869
2805
|
# source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#132
|
|
2870
|
-
sig { returns(T::Boolean) }
|
|
2871
2806
|
def empty_attributes?; end
|
|
2872
2807
|
|
|
2808
|
+
# @return [Boolean]
|
|
2809
|
+
#
|
|
2873
2810
|
# source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#222
|
|
2874
|
-
sig { params(qualified_mixin_name: ::String).returns(T::Boolean) }
|
|
2875
2811
|
def filtered_mixin?(qualified_mixin_name); end
|
|
2876
2812
|
|
|
2877
|
-
# @return [Array<Symbol>]
|
|
2878
|
-
#
|
|
2879
2813
|
# source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#17
|
|
2880
2814
|
def instance_attribute_predicates; end
|
|
2881
2815
|
|
|
2882
2816
|
# source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#17
|
|
2883
|
-
sig { returns(T::Array[::Symbol]) }
|
|
2884
2817
|
def instance_attribute_readers; end
|
|
2885
2818
|
|
|
2886
|
-
# @return [Array<Symbol>]
|
|
2887
|
-
#
|
|
2888
2819
|
# source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#17
|
|
2889
2820
|
def instance_attribute_writers; end
|
|
2890
2821
|
|
|
2822
|
+
# @return [Boolean]
|
|
2823
|
+
#
|
|
2891
2824
|
# source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#215
|
|
2892
|
-
sig { params(mod: ::Module, dynamic_extends: T::Array[::Module]).returns(T::Boolean) }
|
|
2893
2825
|
def module_included_by_another_dynamic_extend?(mod, dynamic_extends); end
|
|
2894
2826
|
end
|
|
2895
2827
|
|
|
@@ -2914,12 +2846,12 @@ end
|
|
|
2914
2846
|
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#23
|
|
2915
2847
|
module Tapioca::Runtime::GenericTypeRegistry
|
|
2916
2848
|
class << self
|
|
2917
|
-
#
|
|
2918
|
-
|
|
2849
|
+
# @return [Boolean]
|
|
2850
|
+
#
|
|
2851
|
+
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#75
|
|
2919
2852
|
def generic_type_instance?(instance); end
|
|
2920
2853
|
|
|
2921
|
-
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#
|
|
2922
|
-
sig { params(constant: ::Module).returns(T.nilable(T::Array[::Tapioca::TypeVariableModule])) }
|
|
2854
|
+
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#80
|
|
2923
2855
|
def lookup_type_variables(constant); end
|
|
2924
2856
|
|
|
2925
2857
|
# This method is responsible for building the name of the instantiated concrete type
|
|
@@ -2934,8 +2866,7 @@ module Tapioca::Runtime::GenericTypeRegistry
|
|
|
2934
2866
|
#
|
|
2935
2867
|
# This method returns the created or cached clone of the constant.
|
|
2936
2868
|
#
|
|
2937
|
-
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#
|
|
2938
|
-
sig { params(constant: T.untyped, types: T.untyped).returns(::Module) }
|
|
2869
|
+
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#60
|
|
2939
2870
|
def register_type(constant, types); end
|
|
2940
2871
|
|
|
2941
2872
|
# This method is called from intercepted calls to `type_member` and `type_template`.
|
|
@@ -2948,70 +2879,69 @@ module Tapioca::Runtime::GenericTypeRegistry
|
|
|
2948
2879
|
# Finally, the original `type_variable` is returned from this method, so that the caller
|
|
2949
2880
|
# can return it from the original methods as well.
|
|
2950
2881
|
#
|
|
2951
|
-
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#
|
|
2952
|
-
sig { params(constant: T.untyped, type_variable: ::Tapioca::TypeVariableModule).void }
|
|
2882
|
+
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#94
|
|
2953
2883
|
def register_type_variable(constant, type_variable); end
|
|
2954
2884
|
|
|
2955
2885
|
private
|
|
2956
2886
|
|
|
2957
|
-
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#
|
|
2958
|
-
sig { params(constant: ::Module, name: ::String).returns(::Module) }
|
|
2887
|
+
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#103
|
|
2959
2888
|
def create_generic_type(constant, name); end
|
|
2960
2889
|
|
|
2961
|
-
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#
|
|
2962
|
-
sig { params(constant: T::Class[T.anything]).returns(T::Class[T.anything]) }
|
|
2890
|
+
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#145
|
|
2963
2891
|
def create_safe_subclass(constant); end
|
|
2964
2892
|
|
|
2965
|
-
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#
|
|
2966
|
-
sig { params(constant: ::Module).returns(T::Array[::Tapioca::TypeVariableModule]) }
|
|
2893
|
+
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#172
|
|
2967
2894
|
def lookup_or_initialize_type_variables(constant); end
|
|
2968
2895
|
end
|
|
2969
2896
|
end
|
|
2970
2897
|
|
|
2971
|
-
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#
|
|
2898
|
+
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#28
|
|
2972
2899
|
class Tapioca::Runtime::GenericTypeRegistry::GenericType < ::T::Types::Simple
|
|
2973
|
-
#
|
|
2974
|
-
|
|
2900
|
+
# @return [GenericType] a new instance of GenericType
|
|
2901
|
+
#
|
|
2902
|
+
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#32
|
|
2975
2903
|
def initialize(raw_type, underlying_type); end
|
|
2976
2904
|
|
|
2977
|
-
#
|
|
2978
|
-
|
|
2905
|
+
# @return [Boolean]
|
|
2906
|
+
#
|
|
2907
|
+
# source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#40
|
|
2979
2908
|
def valid?(obj); end
|
|
2980
2909
|
end
|
|
2981
2910
|
|
|
2911
|
+
# source://tapioca//lib/tapioca/runtime/helpers.rb#6
|
|
2912
|
+
Tapioca::Runtime::NOOP_METHOD = T.let(T.unsafe(nil), Proc)
|
|
2913
|
+
|
|
2982
2914
|
module Tapioca::Runtime::Reflection
|
|
2983
2915
|
include ::Tapioca::Runtime::AttachedClassOf
|
|
2984
2916
|
extend ::Tapioca::Runtime::AttachedClassOf
|
|
2985
2917
|
extend ::Tapioca::Runtime::Reflection
|
|
2986
2918
|
|
|
2987
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
2988
|
-
sig { params(constant: ::Module).returns(T.untyped) }
|
|
2919
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#228
|
|
2989
2920
|
def abstract_type_of(constant); end
|
|
2990
2921
|
|
|
2991
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
2992
|
-
sig { params(constant: ::Module).returns(T::Array[::Module]) }
|
|
2922
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#75
|
|
2993
2923
|
def ancestors_of(constant); end
|
|
2994
2924
|
|
|
2995
|
-
#
|
|
2996
|
-
|
|
2925
|
+
# @return [Boolean]
|
|
2926
|
+
#
|
|
2927
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#90
|
|
2997
2928
|
def are_equal?(object, other); end
|
|
2998
2929
|
|
|
2999
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3000
|
-
sig { params(object: ::BasicObject).returns(T::Class[T.anything]) }
|
|
2930
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#54
|
|
3001
2931
|
def class_of(object); end
|
|
3002
2932
|
|
|
3003
|
-
#
|
|
2933
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#179
|
|
2934
|
+
def const_source_location(constant_name); end
|
|
2935
|
+
|
|
3004
2936
|
# @return [Boolean]
|
|
3005
2937
|
#
|
|
3006
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
2938
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#41
|
|
3007
2939
|
def constant_defined?(constant); end
|
|
3008
2940
|
|
|
3009
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3010
|
-
sig { params(symbol: ::String, inherit: T::Boolean, namespace: ::Module).returns(::BasicObject) }
|
|
2941
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#47
|
|
3011
2942
|
def constantize(symbol, inherit: T.unsafe(nil), namespace: T.unsafe(nil)); end
|
|
3012
2943
|
|
|
3013
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3014
|
-
sig { params(constant: ::Module).returns(T::Array[::Symbol]) }
|
|
2944
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#59
|
|
3015
2945
|
def constants_of(constant); end
|
|
3016
2946
|
|
|
3017
2947
|
# Returns an array with all classes that are < than the supplied class.
|
|
@@ -3028,57 +2958,42 @@ module Tapioca::Runtime::Reflection
|
|
|
3028
2958
|
# class D < C; end
|
|
3029
2959
|
# descendants_of(C) # => [B, A, D]
|
|
3030
2960
|
#
|
|
3031
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3032
|
-
sig do
|
|
3033
|
-
type_parameters(:U)
|
|
3034
|
-
.params(
|
|
3035
|
-
klass: T.all(T.type_parameter(:U), T::Class[T.anything])
|
|
3036
|
-
).returns(T::Array[T.type_parameter(:U)])
|
|
3037
|
-
end
|
|
2961
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#170
|
|
3038
2962
|
def descendants_of(klass); end
|
|
3039
2963
|
|
|
3040
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3041
|
-
sig { params(constant: ::Module).returns(T::Set[::String]) }
|
|
2964
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#221
|
|
3042
2965
|
def file_candidates_for(constant); end
|
|
3043
2966
|
|
|
3044
|
-
#
|
|
3045
|
-
|
|
2967
|
+
# @return [Boolean]
|
|
2968
|
+
#
|
|
2969
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#234
|
|
3046
2970
|
def final_module?(constant); end
|
|
3047
2971
|
|
|
3048
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3049
|
-
sig { params(constant: ::Module).returns(T::Array[::Module]) }
|
|
2972
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#110
|
|
3050
2973
|
def inherited_ancestors_of(constant); end
|
|
3051
2974
|
|
|
3052
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3053
|
-
sig { params(constant: ::Module, method: ::Symbol).returns(::Method) }
|
|
2975
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#152
|
|
3054
2976
|
def method_of(constant, method); end
|
|
3055
2977
|
|
|
3056
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3057
|
-
sig { params(constant: ::Module).returns(T.nilable(::String)) }
|
|
2978
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#64
|
|
3058
2979
|
def name_of(constant); end
|
|
3059
2980
|
|
|
3060
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3061
|
-
sig { params(type: ::T::Types::Base).returns(::String) }
|
|
2981
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#147
|
|
3062
2982
|
def name_of_type(type); end
|
|
3063
2983
|
|
|
3064
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3065
|
-
sig { params(object: ::BasicObject).returns(::Integer) }
|
|
2984
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#85
|
|
3066
2985
|
def object_id_of(object); end
|
|
3067
2986
|
|
|
3068
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3069
|
-
sig { params(constant: ::Module).returns(T::Array[::Symbol]) }
|
|
2987
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#105
|
|
3070
2988
|
def private_instance_methods_of(constant); end
|
|
3071
2989
|
|
|
3072
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3073
|
-
sig { params(constant: ::Module).returns(T::Array[::Symbol]) }
|
|
2990
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#100
|
|
3074
2991
|
def protected_instance_methods_of(constant); end
|
|
3075
2992
|
|
|
3076
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3077
|
-
sig { params(constant: ::Module).returns(T::Array[::Symbol]) }
|
|
2993
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#95
|
|
3078
2994
|
def public_instance_methods_of(constant); end
|
|
3079
2995
|
|
|
3080
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3081
|
-
sig { params(constant: ::Module).returns(T.nilable(::String)) }
|
|
2996
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#119
|
|
3082
2997
|
def qualified_name_of(constant); end
|
|
3083
2998
|
|
|
3084
2999
|
# Examines the call stack to identify the closest location where a "require" is performed
|
|
@@ -3086,110 +3001,128 @@ module Tapioca::Runtime::Reflection
|
|
|
3086
3001
|
# case of an ActiveSupport.on_load hook. If none is found, it returns the location
|
|
3087
3002
|
# labeled "<main>", which is the original call site.
|
|
3088
3003
|
#
|
|
3089
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3090
|
-
sig { params(locations: T.nilable(T::Array[::Thread::Backtrace::Location])).returns(::String) }
|
|
3004
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#192
|
|
3091
3005
|
def resolve_loc(locations); end
|
|
3092
3006
|
|
|
3093
|
-
#
|
|
3094
|
-
|
|
3007
|
+
# @return [Boolean]
|
|
3008
|
+
#
|
|
3009
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#239
|
|
3095
3010
|
def sealed_module?(constant); end
|
|
3096
3011
|
|
|
3097
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3098
|
-
sig { params(method: T.any(::Method, ::UnboundMethod)).returns(T.untyped) }
|
|
3012
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#140
|
|
3099
3013
|
def signature_of(method); end
|
|
3100
3014
|
|
|
3101
3015
|
# source://tapioca//lib/tapioca/runtime/reflection.rb#133
|
|
3102
|
-
sig { params(method: T.any(::Method, ::UnboundMethod)).returns(T.untyped) }
|
|
3103
3016
|
def signature_of!(method); end
|
|
3104
3017
|
|
|
3105
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3106
|
-
sig { params(constant: ::Module).returns(T::Class[T.anything]) }
|
|
3018
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#70
|
|
3107
3019
|
def singleton_class_of(constant); end
|
|
3108
3020
|
|
|
3109
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3110
|
-
sig { params(constant: T::Class[T.anything]).returns(T.nilable(T::Class[T.anything])) }
|
|
3021
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#80
|
|
3111
3022
|
def superclass_of(constant); end
|
|
3112
3023
|
|
|
3113
3024
|
private
|
|
3114
3025
|
|
|
3115
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3116
|
-
sig { params(parent: ::Module, name: ::String).returns(T.nilable(::Module)) }
|
|
3026
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#276
|
|
3117
3027
|
def child_module_for_parent_with_name(parent, name); end
|
|
3118
3028
|
|
|
3119
|
-
#
|
|
3120
|
-
|
|
3029
|
+
# @return [Boolean]
|
|
3030
|
+
#
|
|
3031
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#292
|
|
3121
3032
|
def has_aliased_namespace?(name); end
|
|
3122
3033
|
|
|
3123
|
-
#
|
|
3124
|
-
|
|
3034
|
+
# @return [Boolean]
|
|
3035
|
+
#
|
|
3036
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#287
|
|
3125
3037
|
def method_defined_by_forwardable_module?(method); end
|
|
3126
3038
|
|
|
3127
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3128
|
-
sig { params(constant: ::Module).returns(T::Array[::UnboundMethod]) }
|
|
3039
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#262
|
|
3129
3040
|
def methods_for(constant); end
|
|
3130
3041
|
|
|
3131
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3132
|
-
sig { params(constant: ::Module).returns(T::Array[::UnboundMethod]) }
|
|
3042
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#246
|
|
3133
3043
|
def relevant_methods_for(constant); end
|
|
3134
3044
|
end
|
|
3135
3045
|
|
|
3136
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3046
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#27
|
|
3137
3047
|
Tapioca::Runtime::Reflection::ANCESTORS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
|
3138
3048
|
|
|
3139
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3049
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#23
|
|
3140
3050
|
Tapioca::Runtime::Reflection::CLASS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
|
3141
3051
|
|
|
3142
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3052
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#24
|
|
3143
3053
|
Tapioca::Runtime::Reflection::CONSTANTS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
|
3144
3054
|
|
|
3145
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3055
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#30
|
|
3146
3056
|
Tapioca::Runtime::Reflection::EQUAL_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
|
3147
3057
|
|
|
3148
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3058
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#34
|
|
3149
3059
|
Tapioca::Runtime::Reflection::METHOD_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
|
3150
3060
|
|
|
3151
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3061
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#25
|
|
3152
3062
|
Tapioca::Runtime::Reflection::NAME_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
|
3153
3063
|
|
|
3154
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3064
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#29
|
|
3155
3065
|
Tapioca::Runtime::Reflection::OBJECT_ID_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
|
3156
3066
|
|
|
3157
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3067
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#33
|
|
3158
3068
|
Tapioca::Runtime::Reflection::PRIVATE_INSTANCE_METHODS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
|
3159
3069
|
|
|
3160
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3070
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#32
|
|
3161
3071
|
Tapioca::Runtime::Reflection::PROTECTED_INSTANCE_METHODS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
|
3162
3072
|
|
|
3163
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3073
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#31
|
|
3164
3074
|
Tapioca::Runtime::Reflection::PUBLIC_INSTANCE_METHODS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
|
3165
3075
|
|
|
3166
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3076
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#37
|
|
3167
3077
|
Tapioca::Runtime::Reflection::REQUIRED_FROM_LABELS = T.let(T.unsafe(nil), Array)
|
|
3168
3078
|
|
|
3169
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3079
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#26
|
|
3170
3080
|
Tapioca::Runtime::Reflection::SINGLETON_CLASS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
|
3171
3081
|
|
|
3172
|
-
# source://tapioca//lib/tapioca/runtime/reflection.rb#
|
|
3082
|
+
# source://tapioca//lib/tapioca/runtime/reflection.rb#28
|
|
3173
3083
|
Tapioca::Runtime::Reflection::SUPERCLASS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
|
|
3174
3084
|
|
|
3085
|
+
class Tapioca::Runtime::Reflection::SignatureBlockError < ::Tapioca::Error; end
|
|
3086
|
+
|
|
3087
|
+
class Tapioca::Runtime::SourceLocation
|
|
3088
|
+
# @return [SourceLocation] a new instance of SourceLocation
|
|
3089
|
+
#
|
|
3090
|
+
# source://tapioca//lib/tapioca/runtime/source_location.rb#18
|
|
3091
|
+
def initialize(file:, line:); end
|
|
3092
|
+
|
|
3093
|
+
# source://tapioca//lib/tapioca/runtime/source_location.rb#13
|
|
3094
|
+
def file; end
|
|
3095
|
+
|
|
3096
|
+
# source://tapioca//lib/tapioca/runtime/source_location.rb#16
|
|
3097
|
+
def line; end
|
|
3098
|
+
|
|
3099
|
+
class << self
|
|
3100
|
+
# source://tapioca//lib/tapioca/runtime/source_location.rb#38
|
|
3101
|
+
def from_loc(loc); end
|
|
3102
|
+
|
|
3103
|
+
private
|
|
3104
|
+
|
|
3105
|
+
def new(*_arg0); end
|
|
3106
|
+
end
|
|
3107
|
+
end
|
|
3108
|
+
|
|
3109
|
+
# this looks something like:
|
|
3110
|
+
# "(eval at /path/to/file.rb:123)"
|
|
3111
|
+
# and we are interested in the "/path/to/file.rb" and "123" parts
|
|
3112
|
+
#
|
|
3113
|
+
# source://tapioca//lib/tapioca/runtime/source_location.rb#10
|
|
3114
|
+
Tapioca::Runtime::SourceLocation::EVAL_SOURCE_FILE_PATTERN = T.let(T.unsafe(nil), Regexp)
|
|
3115
|
+
|
|
3175
3116
|
# source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#6
|
|
3176
3117
|
module Tapioca::Runtime::Trackers
|
|
3177
3118
|
class << self
|
|
3178
|
-
# source://tapioca//lib/tapioca/runtime/trackers.rb#
|
|
3179
|
-
sig { void }
|
|
3119
|
+
# source://tapioca//lib/tapioca/runtime/trackers.rb#30
|
|
3180
3120
|
def disable_all!; end
|
|
3181
3121
|
|
|
3182
|
-
# source://tapioca//lib/tapioca/runtime/trackers.rb#
|
|
3183
|
-
sig { params(tracker: ::Tapioca::Runtime::Trackers::Tracker).void }
|
|
3122
|
+
# source://tapioca//lib/tapioca/runtime/trackers.rb#35
|
|
3184
3123
|
def register_tracker(tracker); end
|
|
3185
3124
|
|
|
3186
|
-
# source://tapioca//lib/tapioca/runtime/trackers.rb#
|
|
3187
|
-
sig do
|
|
3188
|
-
type_parameters(:Return)
|
|
3189
|
-
.params(
|
|
3190
|
-
blk: T.proc.returns(T.type_parameter(:Return))
|
|
3191
|
-
).returns(T.type_parameter(:Return))
|
|
3192
|
-
end
|
|
3125
|
+
# source://tapioca//lib/tapioca/runtime/trackers.rb#17
|
|
3193
3126
|
def with_trackers_enabled(&blk); end
|
|
3194
3127
|
end
|
|
3195
3128
|
end
|
|
@@ -3199,28 +3132,14 @@ module Tapioca::Runtime::Trackers::Autoload
|
|
|
3199
3132
|
extend ::Tapioca::Runtime::Trackers::Tracker
|
|
3200
3133
|
|
|
3201
3134
|
class << self
|
|
3202
|
-
# source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#
|
|
3203
|
-
sig { void }
|
|
3135
|
+
# source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#17
|
|
3204
3136
|
def eager_load_all!; end
|
|
3205
3137
|
|
|
3206
|
-
# source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#
|
|
3207
|
-
sig { params(constant_name: ::String).void }
|
|
3138
|
+
# source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#29
|
|
3208
3139
|
def register(constant_name); end
|
|
3209
|
-
|
|
3210
|
-
# source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#42
|
|
3211
|
-
sig do
|
|
3212
|
-
type_parameters(:Result)
|
|
3213
|
-
.params(
|
|
3214
|
-
block: T.proc.returns(T.type_parameter(:Result))
|
|
3215
|
-
).returns(T.type_parameter(:Result))
|
|
3216
|
-
end
|
|
3217
|
-
def with_disabled_exits(&block); end
|
|
3218
3140
|
end
|
|
3219
3141
|
end
|
|
3220
3142
|
|
|
3221
|
-
# source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#11
|
|
3222
|
-
Tapioca::Runtime::Trackers::Autoload::NOOP_METHOD = T.let(T.unsafe(nil), Proc)
|
|
3223
|
-
|
|
3224
3143
|
# Registers a TracePoint immediately upon load to track points at which
|
|
3225
3144
|
# classes and modules are opened for definition. This is used to track
|
|
3226
3145
|
# correspondence between classes/modules and files, as this information isn't
|
|
@@ -3232,7 +3151,7 @@ module Tapioca::Runtime::Trackers::ConstantDefinition
|
|
|
3232
3151
|
|
|
3233
3152
|
class << self
|
|
3234
3153
|
# source://tapioca//lib/tapioca/runtime/trackers/constant_definition.rb#61
|
|
3235
|
-
def
|
|
3154
|
+
def build_source_location(tp, locations); end
|
|
3236
3155
|
|
|
3237
3156
|
# source://tapioca//lib/tapioca/runtime/trackers/constant_definition.rb#55
|
|
3238
3157
|
def disable!; end
|
|
@@ -3241,71 +3160,57 @@ module Tapioca::Runtime::Trackers::ConstantDefinition
|
|
|
3241
3160
|
# about situations where the class was opened prior to +require+ing,
|
|
3242
3161
|
# or where metaprogramming was used via +eval+, etc.
|
|
3243
3162
|
#
|
|
3244
|
-
# source://tapioca//lib/tapioca/runtime/trackers/constant_definition.rb#
|
|
3163
|
+
# source://tapioca//lib/tapioca/runtime/trackers/constant_definition.rb#74
|
|
3245
3164
|
def files_for(klass); end
|
|
3246
3165
|
|
|
3247
|
-
# source://tapioca//lib/tapioca/runtime/trackers/constant_definition.rb#
|
|
3166
|
+
# source://tapioca//lib/tapioca/runtime/trackers/constant_definition.rb#79
|
|
3248
3167
|
def locations_for(klass); end
|
|
3249
3168
|
end
|
|
3250
3169
|
end
|
|
3251
3170
|
|
|
3171
|
+
# source://tapioca//lib/tapioca/runtime/trackers/method_definition.rb#7
|
|
3172
|
+
module Tapioca::Runtime::Trackers::MethodDefinition
|
|
3173
|
+
extend ::Tapioca::Runtime::Trackers::Tracker
|
|
3174
|
+
|
|
3175
|
+
class << self
|
|
3176
|
+
# source://tapioca//lib/tapioca/runtime/trackers/method_definition.rb#29
|
|
3177
|
+
def method_definitions_for(method_name, owner); end
|
|
3178
|
+
|
|
3179
|
+
# source://tapioca//lib/tapioca/runtime/trackers/method_definition.rb#15
|
|
3180
|
+
def register(method_name, owner, locations); end
|
|
3181
|
+
|
|
3182
|
+
private
|
|
3183
|
+
|
|
3184
|
+
# source://tapioca//lib/tapioca/runtime/trackers/method_definition.rb#43
|
|
3185
|
+
def registrations_for(method_name, owner); end
|
|
3186
|
+
end
|
|
3187
|
+
end
|
|
3188
|
+
|
|
3252
3189
|
module Tapioca::Runtime::Trackers::Mixin
|
|
3253
3190
|
extend ::Tapioca::Runtime::Trackers::Tracker
|
|
3254
3191
|
|
|
3255
3192
|
class << self
|
|
3256
|
-
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#
|
|
3257
|
-
sig do
|
|
3258
|
-
params(
|
|
3259
|
-
mixin: ::Module
|
|
3260
|
-
).returns(T::Hash[::Tapioca::Runtime::Trackers::Mixin::Type, T::Hash[::Module, ::String]])
|
|
3261
|
-
end
|
|
3193
|
+
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#53
|
|
3262
3194
|
def constants_with_mixin(mixin); end
|
|
3263
3195
|
|
|
3264
|
-
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#
|
|
3265
|
-
sig do
|
|
3266
|
-
params(
|
|
3267
|
-
mixin: ::Module,
|
|
3268
|
-
mixin_type: ::Tapioca::Runtime::Trackers::Mixin::Type,
|
|
3269
|
-
constant: ::Module
|
|
3270
|
-
).returns(T.nilable(::String))
|
|
3271
|
-
end
|
|
3196
|
+
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#58
|
|
3272
3197
|
def mixin_location(mixin, mixin_type, constant); end
|
|
3273
3198
|
|
|
3274
|
-
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#
|
|
3275
|
-
sig { params(constant: ::Module, mixin: ::Module, mixin_type: ::Tapioca::Runtime::Trackers::Mixin::Type).void }
|
|
3199
|
+
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#31
|
|
3276
3200
|
def register(constant, mixin, mixin_type); end
|
|
3277
3201
|
|
|
3278
|
-
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#
|
|
3202
|
+
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#40
|
|
3279
3203
|
def resolve_to_attached_class(constant, mixin, mixin_type); end
|
|
3280
3204
|
|
|
3281
|
-
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#
|
|
3282
|
-
sig do
|
|
3283
|
-
type_parameters(:Result)
|
|
3284
|
-
.params(
|
|
3285
|
-
block: T.proc.returns(T.type_parameter(:Result))
|
|
3286
|
-
).returns(T.type_parameter(:Result))
|
|
3287
|
-
end
|
|
3205
|
+
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#26
|
|
3288
3206
|
def with_disabled_registration(&block); end
|
|
3289
3207
|
|
|
3290
3208
|
private
|
|
3291
3209
|
|
|
3292
|
-
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#
|
|
3293
|
-
sig do
|
|
3294
|
-
params(
|
|
3295
|
-
mixin: ::Module
|
|
3296
|
-
).returns(T::Hash[::Tapioca::Runtime::Trackers::Mixin::Type, T::Hash[::Module, ::String]])
|
|
3297
|
-
end
|
|
3210
|
+
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#73
|
|
3298
3211
|
def find_or_initialize_mixin_lookup(mixin); end
|
|
3299
3212
|
|
|
3300
|
-
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#
|
|
3301
|
-
sig do
|
|
3302
|
-
params(
|
|
3303
|
-
constant: ::Module,
|
|
3304
|
-
mixin: ::Module,
|
|
3305
|
-
mixin_type: ::Tapioca::Runtime::Trackers::Mixin::Type,
|
|
3306
|
-
location: ::String
|
|
3307
|
-
).void
|
|
3308
|
-
end
|
|
3213
|
+
# source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#65
|
|
3309
3214
|
def register_with_location(constant, mixin, mixin_type, location); end
|
|
3310
3215
|
end
|
|
3311
3216
|
end
|
|
@@ -3324,109 +3229,102 @@ module Tapioca::Runtime::Trackers::RequiredAncestor
|
|
|
3324
3229
|
|
|
3325
3230
|
class << self
|
|
3326
3231
|
# source://tapioca//lib/tapioca/runtime/trackers/required_ancestor.rb#15
|
|
3327
|
-
sig { params(requiring: ::T::Helpers, block: T.proc.void).void }
|
|
3328
3232
|
def register(requiring, block); end
|
|
3329
3233
|
|
|
3330
3234
|
# source://tapioca//lib/tapioca/runtime/trackers/required_ancestor.rb#23
|
|
3331
|
-
sig { params(mod: ::Module).returns(T::Array[T.proc.void]) }
|
|
3332
3235
|
def required_ancestors_blocks_by(mod); end
|
|
3333
3236
|
|
|
3334
3237
|
# source://tapioca//lib/tapioca/runtime/trackers/required_ancestor.rb#28
|
|
3335
|
-
sig { params(mod: ::Module).returns(T::Array[T.untyped]) }
|
|
3336
3238
|
def required_ancestors_by(mod); end
|
|
3337
3239
|
end
|
|
3338
3240
|
end
|
|
3339
3241
|
|
|
3340
|
-
# @abstract
|
|
3242
|
+
# @abstract
|
|
3341
3243
|
module Tapioca::Runtime::Trackers::Tracker
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
# source://tapioca//lib/tapioca/runtime/trackers/tracker.rb#26
|
|
3345
|
-
sig { void }
|
|
3244
|
+
# source://tapioca//lib/tapioca/runtime/trackers/tracker.rb#23
|
|
3346
3245
|
def disable!; end
|
|
3347
3246
|
|
|
3348
3247
|
# @return [Boolean]
|
|
3349
3248
|
#
|
|
3350
|
-
# source://tapioca//lib/tapioca/runtime/trackers/tracker.rb#
|
|
3249
|
+
# source://tapioca//lib/tapioca/runtime/trackers/tracker.rb#27
|
|
3351
3250
|
def enabled?; end
|
|
3352
3251
|
|
|
3353
|
-
# source://tapioca//lib/tapioca/runtime/trackers/tracker.rb#
|
|
3252
|
+
# source://tapioca//lib/tapioca/runtime/trackers/tracker.rb#31
|
|
3354
3253
|
def with_disabled_tracker(&block); end
|
|
3355
3254
|
|
|
3356
3255
|
class << self
|
|
3357
|
-
# source://tapioca//lib/tapioca/runtime/trackers/tracker.rb#
|
|
3358
|
-
sig { params(base: T.all(::Module, ::Tapioca::Runtime::Trackers::Tracker)).void }
|
|
3256
|
+
# source://tapioca//lib/tapioca/runtime/trackers/tracker.rb#14
|
|
3359
3257
|
def extended(base); end
|
|
3360
3258
|
end
|
|
3361
3259
|
end
|
|
3362
3260
|
|
|
3363
|
-
# source://tapioca//lib/tapioca.rb#
|
|
3261
|
+
# source://tapioca//lib/tapioca.rb#16
|
|
3364
3262
|
Tapioca::SORBET_CONFIG_FILE = T.let(T.unsafe(nil), String)
|
|
3365
3263
|
|
|
3366
|
-
# source://tapioca//lib/tapioca.rb#
|
|
3264
|
+
# source://tapioca//lib/tapioca.rb#15
|
|
3367
3265
|
Tapioca::SORBET_DIR = T.let(T.unsafe(nil), String)
|
|
3368
3266
|
|
|
3369
3267
|
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#5
|
|
3370
3268
|
module Tapioca::SorbetHelper
|
|
3371
|
-
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#
|
|
3269
|
+
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#23
|
|
3372
3270
|
sig { params(sorbet_args: ::String).returns(::Spoom::ExecResult) }
|
|
3373
3271
|
def sorbet(*sorbet_args); end
|
|
3374
3272
|
|
|
3375
|
-
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#
|
|
3273
|
+
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#28
|
|
3376
3274
|
sig { returns(::String) }
|
|
3377
3275
|
def sorbet_path; end
|
|
3378
3276
|
|
|
3379
|
-
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#
|
|
3277
|
+
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#35
|
|
3380
3278
|
sig { params(feature: ::Symbol, version: T.nilable(::Gem::Version)).returns(T::Boolean) }
|
|
3381
3279
|
def sorbet_supports?(feature, version: T.unsafe(nil)); end
|
|
3382
3280
|
end
|
|
3383
3281
|
|
|
3384
|
-
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#
|
|
3282
|
+
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#18
|
|
3385
3283
|
Tapioca::SorbetHelper::FEATURE_REQUIREMENTS = T.let(T.unsafe(nil), Hash)
|
|
3386
3284
|
|
|
3387
|
-
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#
|
|
3285
|
+
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#10
|
|
3388
3286
|
Tapioca::SorbetHelper::SORBET_BIN = T.let(T.unsafe(nil), Pathname)
|
|
3389
3287
|
|
|
3390
|
-
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#
|
|
3288
|
+
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#12
|
|
3391
3289
|
Tapioca::SorbetHelper::SORBET_EXE_PATH_ENV_VAR = T.let(T.unsafe(nil), String)
|
|
3392
3290
|
|
|
3393
3291
|
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#8
|
|
3394
3292
|
Tapioca::SorbetHelper::SORBET_GEM_SPEC = T.let(T.unsafe(nil), Gem::Specification)
|
|
3395
3293
|
|
|
3396
|
-
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#
|
|
3294
|
+
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#14
|
|
3397
3295
|
Tapioca::SorbetHelper::SORBET_PAYLOAD_URL = T.let(T.unsafe(nil), String)
|
|
3398
3296
|
|
|
3399
|
-
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#
|
|
3297
|
+
# source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#16
|
|
3400
3298
|
Tapioca::SorbetHelper::SPOOM_CONTEXT = T.let(T.unsafe(nil), Spoom::Context)
|
|
3401
3299
|
|
|
3402
3300
|
# source://tapioca//lib/tapioca/helpers/source_uri.rb#7
|
|
3403
3301
|
class Tapioca::SourceURI < ::URI::File
|
|
3404
|
-
# source://tapioca//lib/tapioca/helpers/source_uri.rb#
|
|
3302
|
+
# source://tapioca//lib/tapioca/helpers/source_uri.rb#62
|
|
3405
3303
|
sig { params(v: T.nilable(::String)).returns(T::Boolean) }
|
|
3406
3304
|
def check_host(v); end
|
|
3407
3305
|
|
|
3408
|
-
# source://tapioca//lib/tapioca/helpers/source_uri.rb#
|
|
3306
|
+
# source://tapioca//lib/tapioca/helpers/source_uri.rb#45
|
|
3409
3307
|
sig { returns(T.nilable(::String)) }
|
|
3410
3308
|
def gem_name; end
|
|
3411
3309
|
|
|
3412
|
-
# source://tapioca//lib/tapioca/helpers/source_uri.rb#
|
|
3310
|
+
# source://tapioca//lib/tapioca/helpers/source_uri.rb#26
|
|
3413
3311
|
sig { returns(T.nilable(::String)) }
|
|
3414
3312
|
def gem_version; end
|
|
3415
3313
|
|
|
3416
|
-
# source://tapioca//lib/tapioca/helpers/source_uri.rb#
|
|
3314
|
+
# source://tapioca//lib/tapioca/helpers/source_uri.rb#50
|
|
3417
3315
|
sig { returns(T.nilable(::String)) }
|
|
3418
3316
|
def line_number; end
|
|
3419
3317
|
|
|
3420
|
-
# source://tapioca//lib/tapioca/helpers/source_uri.rb#
|
|
3318
|
+
# source://tapioca//lib/tapioca/helpers/source_uri.rb#55
|
|
3421
3319
|
sig { params(v: T.nilable(::String)).void }
|
|
3422
3320
|
def set_path(v); end
|
|
3423
3321
|
|
|
3424
|
-
# source://tapioca//lib/tapioca/helpers/source_uri.rb#
|
|
3322
|
+
# source://tapioca//lib/tapioca/helpers/source_uri.rb#74
|
|
3425
3323
|
sig { returns(::String) }
|
|
3426
3324
|
def to_s; end
|
|
3427
3325
|
|
|
3428
3326
|
class << self
|
|
3429
|
-
# source://tapioca//lib/tapioca/helpers/source_uri.rb#
|
|
3327
|
+
# source://tapioca//lib/tapioca/helpers/source_uri.rb#32
|
|
3430
3328
|
sig do
|
|
3431
3329
|
params(
|
|
3432
3330
|
gem_name: ::String,
|
|
@@ -3448,7 +3346,7 @@ Tapioca::SourceURI::COMPONENT = T.let(T.unsafe(nil), Array)
|
|
|
3448
3346
|
# handling to select a parser that doesn't emit deprecations. While it was backported to Ruby 3.1, users may
|
|
3449
3347
|
# have the uri gem in their own bundle and thus not use a compatible version.
|
|
3450
3348
|
#
|
|
3451
|
-
# source://tapioca//lib/tapioca/helpers/source_uri.rb#
|
|
3349
|
+
# source://tapioca//lib/tapioca/helpers/source_uri.rb#23
|
|
3452
3350
|
Tapioca::SourceURI::PARSER = T.let(T.unsafe(nil), URI::RFC2396_Parser)
|
|
3453
3351
|
|
|
3454
3352
|
# source://tapioca//lib/tapioca/static/symbol_table_parser.rb#5
|
|
@@ -3508,12 +3406,10 @@ module Tapioca::Static::SymbolLoader
|
|
|
3508
3406
|
|
|
3509
3407
|
private
|
|
3510
3408
|
|
|
3511
|
-
#
|
|
3512
|
-
#
|
|
3513
|
-
# source://tapioca//lib/tapioca/static/symbol_loader.rb#71
|
|
3409
|
+
# source://tapioca//lib/tapioca/static/symbol_loader.rb#72
|
|
3514
3410
|
def engines; end
|
|
3515
3411
|
|
|
3516
|
-
# source://tapioca//lib/tapioca/static/symbol_loader.rb#
|
|
3412
|
+
# source://tapioca//lib/tapioca/static/symbol_loader.rb#82
|
|
3517
3413
|
sig { params(input: ::String, table_type: ::String).returns(::String) }
|
|
3518
3414
|
def symbol_table_json_from(input, table_type: T.unsafe(nil)); end
|
|
3519
3415
|
end
|
|
@@ -3547,10 +3443,10 @@ end
|
|
|
3547
3443
|
# source://tapioca//lib/tapioca/static/symbol_table_parser.rb#9
|
|
3548
3444
|
Tapioca::Static::SymbolTableParser::SKIP_PARSE_KINDS = T.let(T.unsafe(nil), Array)
|
|
3549
3445
|
|
|
3550
|
-
# source://tapioca//lib/tapioca.rb#
|
|
3446
|
+
# source://tapioca//lib/tapioca.rb#18
|
|
3551
3447
|
Tapioca::TAPIOCA_CONFIG_FILE = T.let(T.unsafe(nil), String)
|
|
3552
3448
|
|
|
3553
|
-
# source://tapioca//lib/tapioca.rb#
|
|
3449
|
+
# source://tapioca//lib/tapioca.rb#17
|
|
3554
3450
|
Tapioca::TAPIOCA_DIR = T.let(T.unsafe(nil), String)
|
|
3555
3451
|
|
|
3556
3452
|
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#108
|
|
@@ -3574,41 +3470,31 @@ end
|
|
|
3574
3470
|
#
|
|
3575
3471
|
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#122
|
|
3576
3472
|
class Tapioca::TypeVariableModule < ::Module
|
|
3577
|
-
#
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
context: ::Module,
|
|
3581
|
-
type: ::Tapioca::TypeVariableModule::Type,
|
|
3582
|
-
variance: ::Symbol,
|
|
3583
|
-
bounds_proc: T.nilable(T.proc.returns(T::Hash[::Symbol, T.untyped]))
|
|
3584
|
-
).void
|
|
3585
|
-
end
|
|
3473
|
+
# @return [TypeVariableModule] a new instance of TypeVariableModule
|
|
3474
|
+
#
|
|
3475
|
+
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#139
|
|
3586
3476
|
def initialize(context, type, variance, bounds_proc); end
|
|
3587
3477
|
|
|
3588
|
-
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#
|
|
3589
|
-
sig { returns(::Tapioca::TypeVariable) }
|
|
3478
|
+
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#175
|
|
3590
3479
|
def coerce_to_type_variable; end
|
|
3591
3480
|
|
|
3592
|
-
#
|
|
3593
|
-
|
|
3481
|
+
# @return [Boolean]
|
|
3482
|
+
#
|
|
3483
|
+
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#155
|
|
3594
3484
|
def fixed?; end
|
|
3595
3485
|
|
|
3596
|
-
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#
|
|
3597
|
-
sig { returns(T.nilable(::String)) }
|
|
3486
|
+
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#149
|
|
3598
3487
|
def name; end
|
|
3599
3488
|
|
|
3600
|
-
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#
|
|
3601
|
-
sig { returns(::String) }
|
|
3489
|
+
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#160
|
|
3602
3490
|
def serialize; end
|
|
3603
3491
|
|
|
3604
3492
|
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#136
|
|
3605
|
-
sig { returns(::Tapioca::TypeVariableModule::Type) }
|
|
3606
3493
|
def type; end
|
|
3607
3494
|
|
|
3608
3495
|
private
|
|
3609
3496
|
|
|
3610
|
-
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#
|
|
3611
|
-
sig { returns(T::Hash[::Symbol, T.untyped]) }
|
|
3497
|
+
# source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#182
|
|
3612
3498
|
def bounds; end
|
|
3613
3499
|
end
|
|
3614
3500
|
|