From 87b05a9be29170fe7e932710bf01d5a94e135f78 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 22 Sep 2020 00:48:51 +0000 Subject: [PATCH] sorbet: Update RBI files and prune files.yaml. Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml). --- ...rser@1.7.1.rbi => regexp_parser@1.8.0.rbi} | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{regexp_parser@1.7.1.rbi => regexp_parser@1.8.0.rbi} (98%) diff --git a/Library/Homebrew/sorbet/rbi/gems/regexp_parser@1.7.1.rbi b/Library/Homebrew/sorbet/rbi/gems/regexp_parser@1.8.0.rbi similarity index 98% rename from Library/Homebrew/sorbet/rbi/gems/regexp_parser@1.7.1.rbi rename to Library/Homebrew/sorbet/rbi/gems/regexp_parser@1.8.0.rbi index 18bff78b04..dea8006711 100644 --- a/Library/Homebrew/sorbet/rbi/gems/regexp_parser@1.7.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/regexp_parser@1.8.0.rbi @@ -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