Update RBI files for rbi.

This commit is contained in:
BrewTestBot 2022-03-15 18:11:17 +00:00
parent fd7c62c0b2
commit 6f6e180cbe
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 23 additions and 0 deletions

View File

@ -662,6 +662,9 @@ class RBI::Loc
sig { returns(T.nilable(::String)) } sig { returns(T.nilable(::String)) }
def file; end def file; end
sig { returns(T.nilable(::String)) }
def source; end
sig { returns(::String) } sig { returns(::String) }
def to_s; end def to_s; end
@ -1903,6 +1906,9 @@ class RBI::TreeBuilder < ::RBI::ASTVisitor
end end
def initialize(file:, comments: T.unsafe(nil), nodes_comments_assoc: T.unsafe(nil)); end def initialize(file:, comments: T.unsafe(nil), nodes_comments_assoc: T.unsafe(nil)); end
sig { returns(T.nilable(::AST::Node)) }
def last_node; end
sig { void } sig { void }
def post_process; end def post_process; end
@ -2002,6 +2008,17 @@ class RBI::TypeMember < ::RBI::NodeWithComments
def value; end def value; end
end end
class RBI::UnexpectedParserError < ::StandardError
sig { params(parent_exception: ::Exception, last_location: ::RBI::Loc).void }
def initialize(parent_exception, last_location); end
sig { returns(::RBI::Loc) }
def last_location; end
sig { params(io: T.any(::IO, ::StringIO)).void }
def print_debug(io: T.unsafe(nil)); end
end
RBI::VERSION = T.let(T.unsafe(nil), String) RBI::VERSION = T.let(T.unsafe(nil), String)
class RBI::Visibility < ::RBI::NodeWithComments class RBI::Visibility < ::RBI::NodeWithComments

View File

@ -4204,6 +4204,12 @@ class RBI::Rewriters::RemoveKnownDefinitions::Operation
extend ::T::Private::Methods::SingletonMethodHooks extend ::T::Private::Methods::SingletonMethodHooks
end end
class RBI::UnexpectedParserError
extend ::T::Sig
extend ::T::Private::Methods::MethodHooks
extend ::T::Private::Methods::SingletonMethodHooks
end
class RBI::Visitor class RBI::Visitor
extend ::T::Helpers extend ::T::Helpers
extend ::T::Sig extend ::T::Sig