Merge pull request #17791 from Homebrew/sorbet-files-update

This commit is contained in:
Patrick Linnane 2024-07-18 09:02:29 -07:00 committed by GitHub
commit 5e5ea1c020
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 897 additions and 645 deletions

View File

@ -1,4 +1,4 @@
# typed: false
# typed: true
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `tapioca` gem.
@ -55,7 +55,7 @@ module RBI; end
# source://tapioca//lib/tapioca/rbi_ext/model.rb#5
class RBI::Tree < ::RBI::NodeWithComments
# source://rbi/0.1.13/lib/rbi/model.rb#119
# source://rbi/0.1.14/lib/rbi/model.rb#121
sig do
params(
loc: T.nilable(::RBI::Loc),
@ -65,19 +65,15 @@ class RBI::Tree < ::RBI::NodeWithComments
end
def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
# source://rbi/0.1.13/lib/rbi/model.rb#126
# source://rbi/0.1.14/lib/rbi/model.rb#128
sig { params(node: ::RBI::Node).void }
def <<(node); end
# source://rbi/0.1.13/lib/rbi/printer.rb#226
sig { override.params(v: ::RBI::Printer).void }
def accept_printer(v); end
# source://rbi/0.1.13/lib/rbi/rewriters/add_sig_templates.rb#66
# source://rbi/0.1.14/lib/rbi/rewriters/add_sig_templates.rb#66
sig { params(with_todo_comment: T::Boolean).void }
def add_sig_templates!(with_todo_comment: T.unsafe(nil)); end
# source://rbi/0.1.13/lib/rbi/rewriters/annotate.rb#49
# source://rbi/0.1.14/lib/rbi/rewriters/annotate.rb#49
sig { params(annotation: ::String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void }
def annotate!(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end
@ -164,27 +160,27 @@ class RBI::Tree < ::RBI::NodeWithComments
end
def create_type_variable(name, type:, variance: T.unsafe(nil), fixed: T.unsafe(nil), upper: T.unsafe(nil), lower: T.unsafe(nil)); end
# source://rbi/0.1.13/lib/rbi/rewriters/deannotate.rb#41
# source://rbi/0.1.14/lib/rbi/rewriters/deannotate.rb#41
sig { params(annotation: ::String).void }
def deannotate!(annotation); end
# source://rbi/0.1.13/lib/rbi/model.rb#132
# source://rbi/0.1.14/lib/rbi/model.rb#134
sig { returns(T::Boolean) }
def empty?; end
# source://rbi/0.1.13/lib/rbi/rewriters/filter_versions.rb#118
# source://rbi/0.1.14/lib/rbi/rewriters/filter_versions.rb#118
sig { params(version: ::Gem::Version).void }
def filter_versions!(version); end
# source://rbi/0.1.13/lib/rbi/rewriters/group_nodes.rb#38
# source://rbi/0.1.14/lib/rbi/rewriters/group_nodes.rb#81
sig { void }
def group_nodes!; end
# source://rbi/0.1.13/lib/rbi/index.rb#68
# source://rbi/0.1.14/lib/rbi/index.rb#68
sig { returns(::RBI::Index) }
def index; end
# source://rbi/0.1.13/lib/rbi/rewriters/merge_trees.rb#324
# source://rbi/0.1.14/lib/rbi/rewriters/merge_trees.rb#324
sig do
params(
other: ::RBI::Tree,
@ -195,23 +191,23 @@ class RBI::Tree < ::RBI::NodeWithComments
end
def merge(other, left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end
# source://rbi/0.1.13/lib/rbi/rewriters/nest_non_public_methods.rb#46
# source://rbi/0.1.14/lib/rbi/rewriters/nest_non_public_methods.rb#46
sig { void }
def nest_non_public_methods!; end
# source://rbi/0.1.13/lib/rbi/rewriters/nest_singleton_methods.rb#36
# source://rbi/0.1.14/lib/rbi/rewriters/nest_singleton_methods.rb#36
sig { void }
def nest_singleton_methods!; end
# source://rbi/0.1.13/lib/rbi/model.rb#110
# source://rbi/0.1.14/lib/rbi/model.rb#112
sig { returns(T::Array[::RBI::Node]) }
def nodes; end
# source://rbi/0.1.13/lib/rbi/printer.rb#233
sig { override.returns(T::Boolean) }
def oneline?; end
# source://rbi/0.1.14/lib/rbi/rewriters/attr_to_methods.rb#53
sig { void }
def replace_attributes_with_methods!; end
# source://rbi/0.1.13/lib/rbi/rewriters/sort_nodes.rb#119
# source://rbi/0.1.14/lib/rbi/rewriters/sort_nodes.rb#119
sig { void }
def sort_nodes!; end
@ -232,7 +228,7 @@ class RBI::TypedParam < ::T::Struct
const :type, ::String
class << self
# source://sorbet-runtime/0.5.11478/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11481/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -1155,7 +1151,7 @@ class Tapioca::ConfigHelper::ConfigError < ::T::Struct
const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart]
class << self
# source://sorbet-runtime/0.5.11478/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11481/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -1166,7 +1162,7 @@ class Tapioca::ConfigHelper::ConfigErrorMessagePart < ::T::Struct
const :colors, T::Array[::Symbol]
class << self
# source://sorbet-runtime/0.5.11478/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11481/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2207,7 +2203,7 @@ class Tapioca::GemInfo < ::T::Struct
sig { params(spec: ::Bundler::LazySpecification).returns(::Tapioca::GemInfo) }
def from_spec(spec); end
# source://sorbet-runtime/0.5.11478/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11481/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2499,7 +2495,7 @@ class Tapioca::Loaders::Loader
# @param engine [T.class_of(Rails::Engine)]
# @return [Array<String>]
#
# source://sorbet-runtime/0.5.11478/lib/types/private/methods/_methods.rb#257
# source://sorbet-runtime/0.5.11481/lib/types/private/methods/_methods.rb#257
def eager_load_paths(*args, **_arg1, &blk); end
# source://tapioca//lib/tapioca/loaders/loader.rb#188
@ -3407,7 +3403,7 @@ module Tapioca::Static::SymbolLoader
# @return [Array<T.class_of(Rails::Engine)>]
#
# source://sorbet-runtime/0.5.11478/lib/types/private/methods/_methods.rb#257
# source://sorbet-runtime/0.5.11481/lib/types/private/methods/_methods.rb#257
def engines(*args, **_arg1, &blk); end
# source://tapioca//lib/tapioca/static/symbol_loader.rb#82