Skip to content
Snippets Groups Projects
Unverified Commit 36226deb authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

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

sorbet: Update RBI files and prune files.yaml.
parents 5d592fb9 87b05a9b
No related branches found
No related tags found
No related merge requests found
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment