diff --git a/sorbet/rbi/gems/rbi@0.0.13.rbi b/sorbet/rbi/gems/rbi@0.0.14.rbi similarity index 99% rename from sorbet/rbi/gems/rbi@0.0.13.rbi rename to sorbet/rbi/gems/rbi@0.0.14.rbi index 74fa5d3ccd..38461bc0db 100644 --- a/sorbet/rbi/gems/rbi@0.0.13.rbi +++ b/sorbet/rbi/gems/rbi@0.0.14.rbi @@ -10,7 +10,7 @@ module RBI; end class RBI::ASTVisitor abstract! - def initialize(*args, **_arg1, &blk); end + def initialize(*args, &blk); end # @abstract sig { abstract.params(node: T.nilable(::AST::Node)).void } @@ -725,6 +725,9 @@ class RBI::Loc sig { returns(T.nilable(::String)) } def file; end + sig { returns(T.nilable(::String)) } + def source; end + sig { returns(::String) } def to_s; end @@ -1573,7 +1576,7 @@ class RBI::Scope < ::RBI::Tree abstract! - def initialize(*args, **_arg1, &blk); end + def initialize(*args, &blk); end sig { override.params(v: ::RBI::Printer).void } def accept_printer(v); end @@ -2152,6 +2155,9 @@ class RBI::TreeBuilder < ::RBI::ASTVisitor 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 } def post_process; end @@ -2252,6 +2258,17 @@ class RBI::TypeMember < ::RBI::NodeWithComments def value; 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) # Visibility @@ -2300,7 +2317,7 @@ end class RBI::Visitor abstract! - def initialize(*args, **_arg1, &blk); end + def initialize(*args, &blk); end # @abstract sig { abstract.params(node: T.nilable(::RBI::Node)).void }