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:
parent
f6d6103297
commit
ade142adf0
@ -1280,21 +1280,21 @@ class RBI::Parser
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://rbi//lib/rbi/parser.rb#828
|
# source://rbi//lib/rbi/parser.rb#821
|
||||||
class RBI::Parser::SigBuilder < ::RBI::Parser::Visitor
|
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 }
|
sig { params(content: ::String, file: ::String).void }
|
||||||
def initialize(content, file:); end
|
def initialize(content, file:); end
|
||||||
|
|
||||||
# source://rbi//lib/rbi/parser.rb#832
|
# source://rbi//lib/rbi/parser.rb#825
|
||||||
sig { returns(::RBI::Sig) }
|
sig { returns(::RBI::Sig) }
|
||||||
def current; end
|
def current; end
|
||||||
|
|
||||||
# source://rbi//lib/rbi/parser.rb#903
|
# source://rbi//lib/rbi/parser.rb#896
|
||||||
sig { override.params(node: ::Prism::AssocNode).void }
|
sig { override.params(node: ::Prism::AssocNode).void }
|
||||||
def visit_assoc_node(node); end
|
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 }
|
sig { override.params(node: ::Prism::CallNode).void }
|
||||||
def visit_call_node(node); end
|
def visit_call_node(node); end
|
||||||
end
|
end
|
||||||
@ -1353,49 +1353,49 @@ class RBI::Parser::TreeBuilder < ::RBI::Parser::Visitor
|
|||||||
|
|
||||||
# Collect all the remaining comments within a node
|
# 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 }
|
sig { params(node: ::Prism::Node).void }
|
||||||
def collect_dangling_comments(node); end
|
def collect_dangling_comments(node); end
|
||||||
|
|
||||||
# Collect all the remaining comments after visiting the tree
|
# 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 }
|
sig { void }
|
||||||
def collect_orphan_comments; end
|
def collect_orphan_comments; end
|
||||||
|
|
||||||
# source://rbi//lib/rbi/parser.rb#544
|
# source://rbi//lib/rbi/parser.rb#539
|
||||||
sig { returns(::RBI::Tree) }
|
sig { returns(::RBI::Tree) }
|
||||||
def current_scope; end
|
def current_scope; end
|
||||||
|
|
||||||
# source://rbi//lib/rbi/parser.rb#549
|
# source://rbi//lib/rbi/parser.rb#544
|
||||||
sig { returns(T::Array[::RBI::Sig]) }
|
sig { returns(T::Array[::RBI::Sig]) }
|
||||||
def current_sigs; end
|
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]) }
|
sig { params(sigs: T::Array[::RBI::Sig]).returns(T::Array[::RBI::Comment]) }
|
||||||
def detach_comments_from_sigs(sigs); end
|
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]) }
|
sig { params(node: ::Prism::Node).returns(T::Array[::RBI::Comment]) }
|
||||||
def node_comments(node); end
|
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) }
|
sig { params(node: ::Prism::Comment).returns(::RBI::Comment) }
|
||||||
def parse_comment(node); end
|
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]) }
|
sig { params(node: T.nilable(::Prism::Node)).returns(T::Array[::RBI::Param]) }
|
||||||
def parse_params(node); end
|
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]) }
|
sig { params(node: T.nilable(::Prism::Node)).returns(T::Array[::RBI::Arg]) }
|
||||||
def parse_send_args(node); end
|
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) }
|
sig { params(node: ::Prism::CallNode).returns(::RBI::Sig) }
|
||||||
def parse_sig(node); end
|
def parse_sig(node); end
|
||||||
|
|
||||||
# source://rbi//lib/rbi/parser.rb#698
|
# source://rbi//lib/rbi/parser.rb#693
|
||||||
sig do
|
sig do
|
||||||
params(
|
params(
|
||||||
node: T.any(::Prism::ConstantPathWriteNode, ::Prism::ConstantWriteNode)
|
node: T.any(::Prism::ConstantPathWriteNode, ::Prism::ConstantWriteNode)
|
||||||
@ -1403,23 +1403,23 @@ class RBI::Parser::TreeBuilder < ::RBI::Parser::Visitor
|
|||||||
end
|
end
|
||||||
def parse_struct(node); 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 }
|
sig { params(send: ::Prism::CallNode).void }
|
||||||
def parse_tstruct_field(send); end
|
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) }
|
sig { params(name: ::String, node: ::Prism::Node).returns(::RBI::Visibility) }
|
||||||
def parse_visibility(name, node); end
|
def parse_visibility(name, node); end
|
||||||
|
|
||||||
# source://rbi//lib/rbi/parser.rb#799
|
# source://rbi//lib/rbi/parser.rb#792
|
||||||
sig { void }
|
sig { void }
|
||||||
def separate_header_comments; end
|
def separate_header_comments; end
|
||||||
|
|
||||||
# source://rbi//lib/rbi/parser.rb#809
|
# source://rbi//lib/rbi/parser.rb#802
|
||||||
sig { void }
|
sig { void }
|
||||||
def set_root_tree_loc; end
|
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) }
|
sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) }
|
||||||
def type_variable_definition?(node); end
|
def type_variable_definition?(node); end
|
||||||
end
|
end
|
||||||
@ -2493,7 +2493,7 @@ class RBI::Rewriters::Merge::Conflict < ::T::Struct
|
|||||||
def to_s; end
|
def to_s; end
|
||||||
|
|
||||||
class << self
|
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
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2738,7 +2738,7 @@ class RBI::Rewriters::RemoveKnownDefinitions::Operation < ::T::Struct
|
|||||||
def to_s; end
|
def to_s; end
|
||||||
|
|
||||||
class << self
|
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
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -1027,7 +1027,7 @@ class Spoom::Coverage::D3::ColorPalette < ::T::Struct
|
|||||||
prop :strong, ::String
|
prop :strong, ::String
|
||||||
|
|
||||||
class << self
|
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
|
def inherited(s); end
|
||||||
end
|
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) }
|
sig { params(obj: T::Hash[::String, T.untyped]).returns(::Spoom::Coverage::Snapshot) }
|
||||||
def from_obj(obj); end
|
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
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -1503,7 +1503,7 @@ class Spoom::Deadcode::Definition < ::T::Struct
|
|||||||
def to_json(*args); end
|
def to_json(*args); end
|
||||||
|
|
||||||
class << self
|
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
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2391,7 +2391,7 @@ class Spoom::Deadcode::Send < ::T::Struct
|
|||||||
def each_arg_assoc(&block); end
|
def each_arg_assoc(&block); end
|
||||||
|
|
||||||
class << self
|
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
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2411,7 +2411,7 @@ class Spoom::ExecResult < ::T::Struct
|
|||||||
def to_s; end
|
def to_s; end
|
||||||
|
|
||||||
class << self
|
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
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2609,7 +2609,7 @@ class Spoom::FileTree::Node < ::T::Struct
|
|||||||
def path; end
|
def path; end
|
||||||
|
|
||||||
class << self
|
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
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2675,7 +2675,7 @@ class Spoom::Git::Commit < ::T::Struct
|
|||||||
def timestamp; end
|
def timestamp; end
|
||||||
|
|
||||||
class << self
|
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
|
def inherited(s); end
|
||||||
|
|
||||||
# Parse a line formatted as `%h %at` into a `Commit`
|
# 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) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Diagnostic) }
|
||||||
def from_json(json); end
|
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
|
def inherited(s); end
|
||||||
end
|
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) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::DocumentSymbol) }
|
||||||
def from_json(json); end
|
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
|
def inherited(s); end
|
||||||
end
|
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) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Hover) }
|
||||||
def from_json(json); end
|
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
|
def inherited(s); end
|
||||||
end
|
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) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Location) }
|
||||||
def from_json(json); end
|
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
|
def inherited(s); end
|
||||||
end
|
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) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Position) }
|
||||||
def from_json(json); end
|
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
|
def inherited(s); end
|
||||||
end
|
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) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Range) }
|
||||||
def from_json(json); end
|
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
|
def inherited(s); end
|
||||||
end
|
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) }
|
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::SignatureHelp) }
|
||||||
def from_json(json); end
|
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
|
def inherited(s); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -3496,7 +3496,7 @@ class Spoom::Model::Reference < ::T::Struct
|
|||||||
sig { params(name: ::String, location: ::Spoom::Location).returns(::Spoom::Model::Reference) }
|
sig { params(name: ::String, location: ::Spoom::Location).returns(::Spoom::Model::Reference) }
|
||||||
def constant(name, location); end
|
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
|
def inherited(s); end
|
||||||
|
|
||||||
# source://spoom//lib/spoom/model/reference.rb#29
|
# source://spoom//lib/spoom/model/reference.rb#29
|
||||||
Loading…
x
Reference in New Issue
Block a user