Update RBI files for sorbet.

Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
This commit is contained in:
BrewTestBot 2025-01-22 22:45:59 +00:00
parent f6d6103297
commit ade142adf0
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 38 additions and 38 deletions

View File

@ -1280,21 +1280,21 @@ class RBI::Parser
end
end
# source://rbi//lib/rbi/parser.rb#828
# source://rbi//lib/rbi/parser.rb#821
class RBI::Parser::SigBuilder < ::RBI::Parser::Visitor
# source://rbi//lib/rbi/parser.rb#835
# source://rbi//lib/rbi/parser.rb#828
sig { params(content: ::String, file: ::String).void }
def initialize(content, file:); end
# source://rbi//lib/rbi/parser.rb#832
# source://rbi//lib/rbi/parser.rb#825
sig { returns(::RBI::Sig) }
def current; end
# source://rbi//lib/rbi/parser.rb#903
# source://rbi//lib/rbi/parser.rb#896
sig { override.params(node: ::Prism::AssocNode).void }
def visit_assoc_node(node); end
# source://rbi//lib/rbi/parser.rb#842
# source://rbi//lib/rbi/parser.rb#835
sig { override.params(node: ::Prism::CallNode).void }
def visit_call_node(node); end
end
@ -1353,49 +1353,49 @@ class RBI::Parser::TreeBuilder < ::RBI::Parser::Visitor
# Collect all the remaining comments within a node
#
# source://rbi//lib/rbi/parser.rb#503
# source://rbi//lib/rbi/parser.rb#498
sig { params(node: ::Prism::Node).void }
def collect_dangling_comments(node); end
# Collect all the remaining comments after visiting the tree
#
# source://rbi//lib/rbi/parser.rb#521
# source://rbi//lib/rbi/parser.rb#516
sig { void }
def collect_orphan_comments; end
# source://rbi//lib/rbi/parser.rb#544
# source://rbi//lib/rbi/parser.rb#539
sig { returns(::RBI::Tree) }
def current_scope; end
# source://rbi//lib/rbi/parser.rb#549
# source://rbi//lib/rbi/parser.rb#544
sig { returns(T::Array[::RBI::Sig]) }
def current_sigs; end
# source://rbi//lib/rbi/parser.rb#556
# source://rbi//lib/rbi/parser.rb#551
sig { params(sigs: T::Array[::RBI::Sig]).returns(T::Array[::RBI::Comment]) }
def detach_comments_from_sigs(sigs); end
# source://rbi//lib/rbi/parser.rb#568
# source://rbi//lib/rbi/parser.rb#563
sig { params(node: ::Prism::Node).returns(T::Array[::RBI::Comment]) }
def node_comments(node); end
# source://rbi//lib/rbi/parser.rb#586
# source://rbi//lib/rbi/parser.rb#581
sig { params(node: ::Prism::Comment).returns(::RBI::Comment) }
def parse_comment(node); end
# source://rbi//lib/rbi/parser.rb#615
# source://rbi//lib/rbi/parser.rb#610
sig { params(node: T.nilable(::Prism::Node)).returns(T::Array[::RBI::Param]) }
def parse_params(node); end
# source://rbi//lib/rbi/parser.rb#591
# source://rbi//lib/rbi/parser.rb#586
sig { params(node: T.nilable(::Prism::Node)).returns(T::Array[::RBI::Arg]) }
def parse_send_args(node); end
# source://rbi//lib/rbi/parser.rb#689
# source://rbi//lib/rbi/parser.rb#684
sig { params(node: ::Prism::CallNode).returns(::RBI::Sig) }
def parse_sig(node); end
# source://rbi//lib/rbi/parser.rb#698
# source://rbi//lib/rbi/parser.rb#693
sig do
params(
node: T.any(::Prism::ConstantPathWriteNode, ::Prism::ConstantWriteNode)
@ -1403,23 +1403,23 @@ class RBI::Parser::TreeBuilder < ::RBI::Parser::Visitor
end
def parse_struct(node); end
# source://rbi//lib/rbi/parser.rb#748
# source://rbi//lib/rbi/parser.rb#741
sig { params(send: ::Prism::CallNode).void }
def parse_tstruct_field(send); end
# source://rbi//lib/rbi/parser.rb#785
# source://rbi//lib/rbi/parser.rb#778
sig { params(name: ::String, node: ::Prism::Node).returns(::RBI::Visibility) }
def parse_visibility(name, node); end
# source://rbi//lib/rbi/parser.rb#799
# source://rbi//lib/rbi/parser.rb#792
sig { void }
def separate_header_comments; end
# source://rbi//lib/rbi/parser.rb#809
# source://rbi//lib/rbi/parser.rb#802
sig { void }
def set_root_tree_loc; end
# source://rbi//lib/rbi/parser.rb#823
# source://rbi//lib/rbi/parser.rb#816
sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) }
def type_variable_definition?(node); end
end
@ -2493,7 +2493,7 @@ class RBI::Rewriters::Merge::Conflict < ::T::Struct
def to_s; end
class << self
# source://sorbet-runtime/0.5.11758/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2738,7 +2738,7 @@ class RBI::Rewriters::RemoveKnownDefinitions::Operation < ::T::Struct
def to_s; end
class << self
# source://sorbet-runtime/0.5.11758/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13
def inherited(s); end
end
end

View File

@ -1027,7 +1027,7 @@ class Spoom::Coverage::D3::ColorPalette < ::T::Struct
prop :strong, ::String
class << self
# source://sorbet-runtime/0.5.11755/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -1367,7 +1367,7 @@ class Spoom::Coverage::Snapshot < ::T::Struct
sig { params(obj: T::Hash[::String, T.untyped]).returns(::Spoom::Coverage::Snapshot) }
def from_obj(obj); end
# source://sorbet-runtime/0.5.11755/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -1503,7 +1503,7 @@ class Spoom::Deadcode::Definition < ::T::Struct
def to_json(*args); end
class << self
# source://sorbet-runtime/0.5.11755/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2391,7 +2391,7 @@ class Spoom::Deadcode::Send < ::T::Struct
def each_arg_assoc(&block); end
class << self
# source://sorbet-runtime/0.5.11755/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2411,7 +2411,7 @@ class Spoom::ExecResult < ::T::Struct
def to_s; end
class << self
# source://sorbet-runtime/0.5.11755/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2609,7 +2609,7 @@ class Spoom::FileTree::Node < ::T::Struct
def path; end
class << self
# source://sorbet-runtime/0.5.11755/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2675,7 +2675,7 @@ class Spoom::Git::Commit < ::T::Struct
def timestamp; end
class << self
# source://sorbet-runtime/0.5.11755/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13
def inherited(s); end
# Parse a line formatted as `%h %at` into a `Commit`
@ -2787,7 +2787,7 @@ class Spoom::LSP::Diagnostic < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Diagnostic) }
def from_json(json); end
# source://sorbet-runtime/0.5.11755/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2820,7 +2820,7 @@ class Spoom::LSP::DocumentSymbol < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::DocumentSymbol) }
def from_json(json); end
# source://sorbet-runtime/0.5.11755/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2878,7 +2878,7 @@ class Spoom::LSP::Hover < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Hover) }
def from_json(json); end
# source://sorbet-runtime/0.5.11755/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2903,7 +2903,7 @@ class Spoom::LSP::Location < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Location) }
def from_json(json); end
# source://sorbet-runtime/0.5.11755/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2966,7 +2966,7 @@ class Spoom::LSP::Position < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Position) }
def from_json(json); end
# source://sorbet-runtime/0.5.11755/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -3004,7 +3004,7 @@ class Spoom::LSP::Range < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Range) }
def from_json(json); end
# source://sorbet-runtime/0.5.11755/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -3070,7 +3070,7 @@ class Spoom::LSP::SignatureHelp < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::SignatureHelp) }
def from_json(json); end
# source://sorbet-runtime/0.5.11755/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -3496,7 +3496,7 @@ class Spoom::Model::Reference < ::T::Struct
sig { params(name: ::String, location: ::Spoom::Location).returns(::Spoom::Model::Reference) }
def constant(name, location); end
# source://sorbet-runtime/0.5.11755/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13
def inherited(s); end
# source://spoom//lib/spoom/model/reference.rb#29