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

sorbet: Update RBI files and prune files.yaml.
This commit is contained in:
Mike McQuaid 2020-09-22 10:33:19 +01:00 committed by GitHub
commit 36226debb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `regexp_parser` gem.
# Please instead update this file by running `tapioca generate --exclude json`.
# Please instead update this file by running `tapioca sync`.
# typed: true
@ -794,7 +794,7 @@ class Regexp::Expression::WhiteSpace < ::Regexp::Expression::FreeSpace
end
class Regexp::Lexer
def lex(input, syntax = T.unsafe(nil), &block); end
def lex(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
private
@ -815,8 +815,8 @@ class Regexp::Lexer
def tokens=(_); end
class << self
def lex(input, syntax = T.unsafe(nil), &block); end
def scan(input, syntax = T.unsafe(nil), &block); end
def lex(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
def scan(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
end
end
@ -865,7 +865,7 @@ class Regexp::Parser
include(::Regexp::Syntax)
include(::Regexp::Expression::UnicodeProperty)
def parse(input, syntax = T.unsafe(nil), &block); end
def parse(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
private
@ -886,6 +886,7 @@ class Regexp::Parser
def count_captured_group; end
def decrease_nesting; end
def escape(token); end
def extract_options(input, options); end
def free_space(token); end
def group(token); end
def intersection(token); end
@ -901,7 +902,6 @@ class Regexp::Parser
def node=(_); end
def open_group(token); end
def open_set(token); end
def options_from_input(input); end
def options_group(token); end
def options_stack; end
def options_stack=(_); end
@ -921,7 +921,7 @@ class Regexp::Parser
def update_transplanted_subtree(exp, new_parent); end
class << self
def parse(input, syntax = T.unsafe(nil), &block); end
def parse(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
end
end
@ -944,7 +944,7 @@ Regexp::Parser::VERSION = T.let(T.unsafe(nil), String)
class Regexp::Scanner
def emit(type, token, text, ts, te); end
def scan(input_object, &block); end
def scan(input_object, options: T.unsafe(nil), &block); end
private
@ -959,6 +959,7 @@ class Regexp::Scanner
def emit_options(text, ts, te); end
def free_spacing; end
def free_spacing=(_); end
def free_spacing?(input_object, options); end
def group_depth; end
def group_depth=(_); end
def in_group?; end
@ -976,7 +977,7 @@ class Regexp::Scanner
class << self
def long_prop_map; end
def scan(input_object, &block); end
def scan(input_object, options: T.unsafe(nil), &block); end
def short_prop_map; end
end
end