sorbet/rbi/gems/regexp_parser@2.9.2.rbi
# typed: true
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `regexp_parser` gem.
# Please instead update this file by running `bin/tapioca gem regexp_parser`.
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#1
module Regexp::Expression; end
# source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#5
class Regexp::Expression::Alternation < ::Regexp::Expression::SequenceOperation
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#5
def alternatives; end
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#9
def human_name; end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#131
def match_length; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#6
Regexp::Expression::Alternation::OPERAND = Regexp::Expression::Alternative
# A sequence of expressions, used by Alternation as one of its alternatives.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/alternation.rb#3
class Regexp::Expression::Alternative < ::Regexp::Expression::Sequence
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#10
def human_name; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#2
module Regexp::Expression::Anchor; end
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#18
Regexp::Expression::Anchor::BOL = Regexp::Expression::Anchor::BeginningOfLine
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#20
Regexp::Expression::Anchor::BOS = Regexp::Expression::Anchor::BeginningOfString
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#3
class Regexp::Expression::Anchor::Base < ::Regexp::Expression::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#148
def match_length; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#5
class Regexp::Expression::Anchor::BeginningOfLine < ::Regexp::Expression::Anchor::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#11
def human_name; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#8
class Regexp::Expression::Anchor::BeginningOfString < ::Regexp::Expression::Anchor::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#12
def human_name; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#19
Regexp::Expression::Anchor::EOL = Regexp::Expression::Anchor::EndOfLine
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#21
Regexp::Expression::Anchor::EOS = Regexp::Expression::Anchor::EndOfString
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#22
Regexp::Expression::Anchor::EOSobEOL = Regexp::Expression::Anchor::EndOfStringOrBeforeEndOfLine
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#6
class Regexp::Expression::Anchor::EndOfLine < ::Regexp::Expression::Anchor::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#13
def human_name; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#9
class Regexp::Expression::Anchor::EndOfString < ::Regexp::Expression::Anchor::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#14
def human_name; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#11
class Regexp::Expression::Anchor::EndOfStringOrBeforeEndOfLine < ::Regexp::Expression::Anchor::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#15
def human_name; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#16
class Regexp::Expression::Anchor::MatchStart < ::Regexp::Expression::Anchor::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#16
def human_name; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#14
class Regexp::Expression::Anchor::NonWordBoundary < ::Regexp::Expression::Anchor::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#17
def human_name; end
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#13
def negative?; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/anchor.rb#13
class Regexp::Expression::Anchor::WordBoundary < ::Regexp::Expression::Anchor::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#18
def human_name; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#64
module Regexp::Expression::Assertion; end
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#65
class Regexp::Expression::Assertion::Base < ::Regexp::Expression::Group::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#148
def match_length; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#67
class Regexp::Expression::Assertion::Lookahead < ::Regexp::Expression::Assertion::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#19
def human_name; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#70
class Regexp::Expression::Assertion::Lookbehind < ::Regexp::Expression::Assertion::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#20
def human_name; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#68
class Regexp::Expression::Assertion::NegativeLookahead < ::Regexp::Expression::Assertion::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#21
def human_name; end
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#14
def negative?; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#71
class Regexp::Expression::Assertion::NegativeLookbehind < ::Regexp::Expression::Assertion::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#22
def human_name; end
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#15
def negative?; end
end
# alias for symmetry between token symbol and Expression class name
#
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#74
Regexp::Expression::Backref = Regexp::Expression::Backreference
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#2
module Regexp::Expression::Backreference; end
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#3
class Regexp::Expression::Backreference::Base < ::Regexp::Expression::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#155
def match_length; end
# Returns the value of attribute referenced_expression.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#4
def referenced_expression; end
# Sets the attribute referenced_expression
#
# @param value the value to set the attribute referenced_expression to.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#4
def referenced_expression=(_arg0); end
private
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#6
def initialize_copy(orig); end
class << self
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#140
def referential?; end
end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#34
class Regexp::Expression::Backreference::Name < ::Regexp::Expression::Backreference::Base
# @return [Name] a new instance of Name
#
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#38
def initialize(token, options = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#23
def human_name; end
# Returns the value of attribute name.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#35
def name; end
# Returns the value of attribute name.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#35
def reference; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#50
class Regexp::Expression::Backreference::NameCall < ::Regexp::Expression::Backreference::Name
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#24
def human_name; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#62
class Regexp::Expression::Backreference::NameRecursionLevel < ::Regexp::Expression::Backreference::Name
# @return [NameRecursionLevel] a new instance of NameRecursionLevel
#
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#65
def initialize(token, options = T.unsafe(nil)); end
# Returns the value of attribute recursion_level.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#63
def recursion_level; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#24
class Regexp::Expression::Backreference::Number < ::Regexp::Expression::Backreference::Base
# @return [Number] a new instance of Number
#
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#28
def initialize(token, options = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#25
def human_name; end
# Returns the value of attribute number.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#25
def number; end
# Returns the value of attribute number.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#25
def reference; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#49
class Regexp::Expression::Backreference::NumberCall < ::Regexp::Expression::Backreference::Number
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#27
def human_name; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#51
class Regexp::Expression::Backreference::NumberCallRelative < ::Regexp::Expression::Backreference::NumberRelative
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#28
def human_name; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#53
class Regexp::Expression::Backreference::NumberRecursionLevel < ::Regexp::Expression::Backreference::NumberRelative
# @return [NumberRecursionLevel] a new instance of NumberRecursionLevel
#
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#56
def initialize(token, options = T.unsafe(nil)); end
# Returns the value of attribute recursion_level.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#54
def recursion_level; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#44
class Regexp::Expression::Backreference::NumberRelative < ::Regexp::Expression::Backreference::Number
# Returns the value of attribute effective_number.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#45
def effective_number; end
# Sets the attribute effective_number
#
# @param value the value to set the attribute effective_number to.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#45
def effective_number=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#26
def human_name; end
# Returns the value of attribute effective_number.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/backreference.rb#45
def reference; end
end
# source://regexp_parser//lib/regexp_parser/expression/base.rb#2
class Regexp::Expression::Base
include ::Regexp::Expression::Shared
extend ::Regexp::Expression::Shared::ClassMethods
# @return [Base] a new instance of Base
#
# source://regexp_parser//lib/regexp_parser/expression/base.rb#5
def initialize(token, options = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#8
def =~(string, offset = T.unsafe(nil)); end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#25
def a?; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#25
def ascii_classes?; end
# source://regexp_parser//lib/regexp_parser/expression/base.rb#60
def attributes; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#8
def case_insensitive?; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def conditional_level; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def conditional_level=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def custom_to_s_handling; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def custom_to_s_handling=(_arg0); end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#20
def d?; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#20
def default_classes?; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#14
def extended?; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#14
def free_spacing?; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/base.rb#47
def greedy?; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#8
def i?; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#8
def ignore_case?; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/base.rb#51
def lazy?; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def level; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def level=(_arg0); end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#3
def m?; end
# source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#8
def match(string, offset = T.unsafe(nil)); end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#3
def match?(string); end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/match.rb#3
def matches?(string); end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#3
def multiline?; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#14
def nesting_level; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def options; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def options=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def parent; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def parent=(_arg0); end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/base.rb#56
def possessive?; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def pre_quantifier_decorations; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def pre_quantifier_decorations=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#14
def quantifier; end
# source://regexp_parser//lib/regexp_parser/expression/base.rb#17
def quantify(*args); end
# Deprecated. Prefer `#repetitions` which has a more uniform interface.
#
# source://regexp_parser//lib/regexp_parser/expression/base.rb#26
def quantity; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/base.rb#51
def reluctant?; end
# source://regexp_parser//lib/regexp_parser/expression/base.rb#31
def repetitions; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def set_level; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def set_level=(_arg0); end
# %l Level (depth) of the expression. Returns 'root' for the root
# expression, returns zero or higher for all others.
#
# %> Indentation at expression's level.
#
# %x Index of the expression at its depth. Available when using
# the sprintf_tree method only.
#
# %s Start offset within the whole expression.
# %e End offset within the whole expression.
# %S Length of expression.
#
# %o Coded offset and length, same as '@%s+%S'
#
# %y Type of expression.
# %k Token of expression.
# %i ID, same as '%y:%k'
# %c Class name
#
# %q Quantifier info, as {m[,M]}
# %Q Quantifier text
#
# %z Quantifier min
# %Z Quantifier max
#
# %t Base text of the expression (excludes quantifier, if any)
# %~t Full text if the expression is terminal, otherwise %i
# %T Full text of the expression (includes quantifier, if any)
#
# %b Basic info, same as '%o %i'
# %m Most info, same as '%b %q'
# %a All info, same as '%m %t'
#
# source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#37
def strfre(format = T.unsafe(nil), indent_offset = T.unsafe(nil), index = T.unsafe(nil)); end
# %l Level (depth) of the expression. Returns 'root' for the root
# expression, returns zero or higher for all others.
#
# %> Indentation at expression's level.
#
# %x Index of the expression at its depth. Available when using
# the sprintf_tree method only.
#
# %s Start offset within the whole expression.
# %e End offset within the whole expression.
# %S Length of expression.
#
# %o Coded offset and length, same as '@%s+%S'
#
# %y Type of expression.
# %k Token of expression.
# %i ID, same as '%y:%k'
# %c Class name
#
# %q Quantifier info, as {m[,M]}
# %Q Quantifier text
#
# %z Quantifier min
# %Z Quantifier max
#
# %t Base text of the expression (excludes quantifier, if any)
# %~t Full text if the expression is terminal, otherwise %i
# %T Full text of the expression (includes quantifier, if any)
#
# %b Basic info, same as '%o %i'
# %m Most info, same as '%b %q'
# %a All info, same as '%m %t'
#
# source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#37
def strfregexp(format = T.unsafe(nil), indent_offset = T.unsafe(nil), index = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def te; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def te=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def text; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def text=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/base.rb#60
def to_h; end
# source://regexp_parser//lib/regexp_parser/expression/base.rb#9
def to_re(format = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def token; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def token=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def ts; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def ts=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def type; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def type=(_arg0); end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#30
def u?; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#30
def unicode_classes?; end
# source://regexp_parser//lib/regexp_parser/expression/base.rb#21
def unquantified_clone; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/options.rb#14
def x?; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#2
class Regexp::Expression::CharacterSet < ::Regexp::Expression::Subexpression
# @return [CharacterSet] a new instance of CharacterSet
#
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#6
def initialize(token, options = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#16
def close; end
# Returns the value of attribute closed.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#3
def closed; end
# Sets the attribute closed
#
# @param value the value to set the attribute closed to.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#3
def closed=(_arg0); end
# Returns the value of attribute closed.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#3
def closed?; end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
def match_length; end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#12
def negate; end
# Returns the value of attribute negative.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#3
def negative; end
# Sets the attribute negative
#
# @param value the value to set the attribute negative to.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#3
def negative=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#16
def negative?; end
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#15
def parts; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/intersection.rb#3
class Regexp::Expression::CharacterSet::IntersectedSequence < ::Regexp::Expression::Sequence
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#29
def human_name; end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
def match_length; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/intersection.rb#5
class Regexp::Expression::CharacterSet::Intersection < ::Regexp::Expression::SequenceOperation
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#30
def human_name; end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
def match_length; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/intersection.rb#6
Regexp::Expression::CharacterSet::Intersection::OPERAND = Regexp::Expression::CharacterSet::IntersectedSequence
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#3
class Regexp::Expression::CharacterSet::Range < ::Regexp::Expression::Subexpression
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#8
def <<(exp); end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#14
def complete?; end
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#31
def human_name; end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
def match_length; end
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#16
def parts; end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set/range.rb#4
def ts; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#2
module Regexp::Expression::CharacterType; end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#5
class Regexp::Expression::CharacterType::Any < ::Regexp::Expression::CharacterType::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#32
def human_name; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#3
class Regexp::Expression::CharacterType::Base < ::Regexp::Expression::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
def match_length; end
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#17
def negative?; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#6
class Regexp::Expression::CharacterType::Digit < ::Regexp::Expression::CharacterType::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#15
class Regexp::Expression::CharacterType::ExtendedGrapheme < ::Regexp::Expression::CharacterType::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#8
class Regexp::Expression::CharacterType::Hex < ::Regexp::Expression::CharacterType::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#14
class Regexp::Expression::CharacterType::Linebreak < ::Regexp::Expression::CharacterType::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#7
class Regexp::Expression::CharacterType::NonDigit < ::Regexp::Expression::CharacterType::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#9
class Regexp::Expression::CharacterType::NonHex < ::Regexp::Expression::CharacterType::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#13
class Regexp::Expression::CharacterType::NonSpace < ::Regexp::Expression::CharacterType::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#11
class Regexp::Expression::CharacterType::NonWord < ::Regexp::Expression::CharacterType::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#12
class Regexp::Expression::CharacterType::Space < ::Regexp::Expression::CharacterType::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/character_type.rb#10
class Regexp::Expression::CharacterType::Word < ::Regexp::Expression::CharacterType::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#8
class Regexp::Expression::Comment < ::Regexp::Expression::FreeSpace
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#33
def human_name; end
class << self
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#130
def comment?; end
end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#2
module Regexp::Expression::Conditional; end
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#25
class Regexp::Expression::Conditional::Branch < ::Regexp::Expression::Sequence
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#34
def human_name; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#9
class Regexp::Expression::Conditional::Condition < ::Regexp::Expression::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#35
def human_name; end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#148
def match_length; end
# Name or number of the referenced capturing group that determines state.
# Returns a String if reference is by name, Integer if by number.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#14
def reference; end
# Returns the value of attribute referenced_expression.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#10
def referenced_expression; end
# Sets the attribute referenced_expression
#
# @param value the value to set the attribute referenced_expression to.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#10
def referenced_expression=(_arg0); end
private
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#19
def initialize_copy(orig); end
class << self
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#141
def referential?; end
end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#27
class Regexp::Expression::Conditional::Expression < ::Regexp::Expression::Subexpression
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#30
def <<(exp); end
# @raise [TooManyBranches]
#
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#34
def add_sequence(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end
# @raise [TooManyBranches]
#
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#34
def branch(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#50
def branches; end
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#46
def condition; end
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#41
def condition=(exp); end
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#36
def human_name; end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#131
def match_length; end
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#17
def parts; end
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#54
def reference; end
# Returns the value of attribute referenced_expression.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#28
def referenced_expression; end
# Sets the attribute referenced_expression
#
# @param value the value to set the attribute referenced_expression to.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#28
def referenced_expression=(_arg0); end
private
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#58
def initialize_copy(orig); end
class << self
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#142
def referential?; end
end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#3
class Regexp::Expression::Conditional::TooManyBranches < ::Regexp::Parser::Error
# @return [TooManyBranches] a new instance of TooManyBranches
#
# source://regexp_parser//lib/regexp_parser/expression/classes/conditional.rb#4
def initialize; end
end
# alias for symmetry between Token::* and Expression::*
#
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#101
Regexp::Expression::Escape = Regexp::Expression::EscapeSequence
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#2
module Regexp::Expression::EscapeSequence; end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#63
class Regexp::Expression::EscapeSequence::AbstractMetaControlSequence < ::Regexp::Expression::EscapeSequence::Base
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#64
def char; end
private
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#70
def control_sequence_to_s(control_sequence); end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#75
def meta_char_to_codepoint(meta_char); end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#27
class Regexp::Expression::EscapeSequence::AsciiEscape < ::Regexp::Expression::EscapeSequence::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#28
class Regexp::Expression::EscapeSequence::Backspace < ::Regexp::Expression::EscapeSequence::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#3
class Regexp::Expression::EscapeSequence::Base < ::Regexp::Expression::Base
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#9
def char; end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#4
def codepoint; end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
def match_length; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#29
class Regexp::Expression::EscapeSequence::Bell < ::Regexp::Expression::EscapeSequence::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#37
class Regexp::Expression::EscapeSequence::Codepoint < ::Regexp::Expression::EscapeSequence::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#39
class Regexp::Expression::EscapeSequence::CodepointList < ::Regexp::Expression::EscapeSequence::Base
# @raise [NoMethodError]
#
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#40
def char; end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#48
def chars; end
# @raise [NoMethodError]
#
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#44
def codepoint; end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#52
def codepoints; end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#164
def match_length; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#81
class Regexp::Expression::EscapeSequence::Control < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#82
def codepoint; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#30
class Regexp::Expression::EscapeSequence::FormFeed < ::Regexp::Expression::EscapeSequence::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#36
class Regexp::Expression::EscapeSequence::Hex < ::Regexp::Expression::EscapeSequence::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#21
class Regexp::Expression::EscapeSequence::Literal < ::Regexp::Expression::EscapeSequence::Base
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#22
def char; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#87
class Regexp::Expression::EscapeSequence::Meta < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#88
def codepoint; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#93
class Regexp::Expression::EscapeSequence::MetaControl < ::Regexp::Expression::EscapeSequence::AbstractMetaControlSequence
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#94
def codepoint; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#31
class Regexp::Expression::EscapeSequence::Newline < ::Regexp::Expression::EscapeSequence::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#57
class Regexp::Expression::EscapeSequence::Octal < ::Regexp::Expression::EscapeSequence::Base
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#58
def char; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#32
class Regexp::Expression::EscapeSequence::Return < ::Regexp::Expression::EscapeSequence::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#33
class Regexp::Expression::EscapeSequence::Tab < ::Regexp::Expression::EscapeSequence::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/escape_sequence.rb#34
class Regexp::Expression::EscapeSequence::VerticalTab < ::Regexp::Expression::EscapeSequence::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#2
class Regexp::Expression::FreeSpace < ::Regexp::Expression::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#148
def match_length; end
# @raise [Regexp::Parser::Error]
#
# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#3
def quantify(*_args); end
class << self
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#135
def decorative?; end
end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#2
module Regexp::Expression::Group; end
# Special case. Absence group can match 0.. chars, irrespective of content.
# TODO: in theory, they *can* exclude match lengths with `.`: `(?~.{3})`
#
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#19
class Regexp::Expression::Group::Absence < ::Regexp::Expression::Group::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#172
def match_length; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#20
class Regexp::Expression::Group::Atomic < ::Regexp::Expression::Group::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#3
class Regexp::Expression::Group::Base < ::Regexp::Expression::Subexpression
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#18
def parts; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#40
class Regexp::Expression::Group::Capture < ::Regexp::Expression::Group::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#37
def human_name; end
# Returns the value of attribute number.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41
def identifier; end
# Returns the value of attribute number.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41
def number; end
# Sets the attribute number
#
# @param value the value to set the attribute number to.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41
def number=(_arg0); end
# Returns the value of attribute number_at_level.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41
def number_at_level; end
# Sets the attribute number_at_level
#
# @param value the value to set the attribute number_at_level to.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#41
def number_at_level=(_arg0); end
class << self
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#126
def capturing?; end
end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#60
class Regexp::Expression::Group::Comment < ::Regexp::Expression::Group::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#20
def parts; end
class << self
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#131
def comment?; end
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#136
def decorative?; end
end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#45
class Regexp::Expression::Group::Named < ::Regexp::Expression::Group::Capture
# @return [Named] a new instance of Named
#
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#49
def initialize(token, options = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#38
def human_name; end
# Returns the value of attribute name.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#46
def identifier; end
# Returns the value of attribute name.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#46
def name; end
private
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#54
def initialize_copy(orig); end
end
# TODO: should split off OptionsSwitch in v3.0.0. Maybe even make it no
# longer inherit from Group because it is effectively a terminal expression.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#23
class Regexp::Expression::Group::Options < ::Regexp::Expression::Group::Base
# Returns the value of attribute option_changes.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#24
def option_changes; end
# Sets the attribute option_changes
#
# @param value the value to set the attribute option_changes to.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#24
def option_changes=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#31
def quantify(*args); end
private
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#26
def initialize_copy(orig); end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#6
class Regexp::Expression::Group::Passive < ::Regexp::Expression::Group::Base
# @return [Passive] a new instance of Passive
#
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#9
def initialize(*_arg0); end
# Sets the attribute implicit
#
# @param value the value to set the attribute implicit to.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#7
def implicit=(_arg0); end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/classes/group.rb#14
def implicit?; end
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#19
def parts; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/keep.rb#2
module Regexp::Expression::Keep; end
# TODO: in regexp_parser v3.0.0 this should possibly be a Subexpression
# that contains all expressions to its left.
#
# source://regexp_parser//lib/regexp_parser/expression/classes/keep.rb#5
class Regexp::Expression::Keep::Mark < ::Regexp::Expression::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#39
def human_name; end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#148
def match_length; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/literal.rb#2
class Regexp::Expression::Literal < ::Regexp::Expression::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#40
def human_name; end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#105
def match_length; end
end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#85
Regexp::Expression::MatchLength = Regexp::MatchLength
# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#10
Regexp::Expression::Nonposixclass = Regexp::Expression::PosixClass
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#118
Regexp::Expression::Nonproperty = Regexp::Expression::UnicodeProperty
# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#2
class Regexp::Expression::PosixClass < ::Regexp::Expression::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
def match_length; end
# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#3
def name; end
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#18
def negative?; end
end
# alias for symmetry between token symbol and Expression class name
#
# source://regexp_parser//lib/regexp_parser/expression/classes/posix_class.rb#9
Regexp::Expression::Posixclass = Regexp::Expression::PosixClass
# alias for symmetry between token symbol and Expression class name
#
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#117
Regexp::Expression::Property = Regexp::Expression::UnicodeProperty
# TODO: in v3.0.0, maybe put Shared back into Base, and inherit from Base and
# call super in #initialize, but raise in #quantifier= and #quantify,
# or introduce an Expression::Quantifiable intermediate class.
# Or actually allow chaining as a more concise but tricky solution than PR#69.
#
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#6
class Regexp::Expression::Quantifier
include ::Regexp::Expression::Shared
extend ::Regexp::Expression::Shared::ClassMethods
# @return [Quantifier] a new instance of Quantifier
#
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#11
def initialize(*args); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def conditional_level; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def conditional_level=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def custom_to_s_handling; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def custom_to_s_handling=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#31
def greedy?; end
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#31
def lazy?; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def level; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def level=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#42
def max; end
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#38
def min; end
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#46
def mode; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#14
def nesting_level; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def options; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def options=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def parent; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def parent=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#31
def possessive?; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def pre_quantifier_decorations; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def pre_quantifier_decorations=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#14
def quantifier; end
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#31
def reluctant?; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def set_level; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def set_level=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def te; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def te=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def text; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def text=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#19
def to_h; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def token; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def token=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def ts; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def ts=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def type; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def type=(_arg0); end
private
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#52
def deprecated_old_init(token, text, _min, _max, _mode = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#64
def derived_data; end
end
# source://regexp_parser//lib/regexp_parser/expression/quantifier.rb#9
Regexp::Expression::Quantifier::MODES = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/expression/classes/root.rb#2
class Regexp::Expression::Root < ::Regexp::Expression::Subexpression
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#41
def human_name; end
class << self
# source://regexp_parser//lib/regexp_parser/expression/classes/root.rb#3
def build(options = T.unsafe(nil)); end
end
end
# A sequence of expressions. Differs from a Subexpressions by how it handles
# quantifiers, as it applies them to its last element instead of itself as
# a whole subexpression.
#
# Used as the base class for the Alternation alternatives, Conditional
# branches, and CharacterSet::Intersection intersected sequences.
#
# source://regexp_parser//lib/regexp_parser/expression/sequence.rb#8
class Regexp::Expression::Sequence < ::Regexp::Expression::Subexpression
# source://regexp_parser//lib/regexp_parser/expression/sequence.rb#27
def quantify(token, *args); end
# source://regexp_parser//lib/regexp_parser/expression/sequence.rb#23
def ts; end
class << self
# source://regexp_parser//lib/regexp_parser/expression/sequence.rb#10
def add_to(exp, params = T.unsafe(nil), active_opts = T.unsafe(nil)); end
end
end
# abstract class
#
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#3
class Regexp::Expression::SequenceOperation < ::Regexp::Expression::Subexpression
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#12
def <<(exp); end
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#16
def add_sequence(active_opts = T.unsafe(nil), params = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#5
def operands; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#9
def operator; end
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#22
def parts; end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#5
def sequences; end
# source://regexp_parser//lib/regexp_parser/expression/sequence_operation.rb#8
def ts; end
end
# alias for symmetry between token symbol and Expression class name
#
# source://regexp_parser//lib/regexp_parser/expression/classes/character_set.rb#22
Regexp::Expression::Set = Regexp::Expression::CharacterSet
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#2
module Regexp::Expression::Shared
mixes_in_class_methods ::Regexp::Expression::Shared::ClassMethods
# Deep-compare two expressions for equality.
#
# When changing the conditions, please make sure to update
# #pretty_print_instance_variables so that it includes all relevant values.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#101
def ==(other); end
# Deep-compare two expressions for equality.
#
# When changing the conditions, please make sure to update
# #pretty_print_instance_variables so that it includes all relevant values.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#101
def ===(other); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#51
def base_length; end
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#124
def capturing?; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#96
def coded_offset; end
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#128
def comment?; end
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#133
def decorative?; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#47
def ends_at(include_quantifier = T.unsafe(nil)); end
# Deep-compare two expressions for equality.
#
# When changing the conditions, please make sure to update
# #pretty_print_instance_variables so that it includes all relevant values.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#101
def eql?(other); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#55
def full_length; end
# default implementation, e.g. "atomic group", "hex escape", "word type", ..
#
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#4
def human_name; end
# source://regexp_parser//lib/regexp_parser/expression/methods/printing.rb#3
def inspect; end
# Test if this expression has the given test_token, and optionally a given
# test_type.
#
# # Any expressions
# exp.is? :* # always returns true
#
# # is it a :capture
# exp.is? :capture
#
# # is it a :character and a :set
# exp.is? :character, :set
#
# # is it a :meta :dot
# exp.is? :dot, :meta
#
# # is it a :meta or :escape :dot
# exp.is? :dot, [:meta, :escape]
#
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#36
def is?(test_token, test_type = T.unsafe(nil)); end
# not an alias so as to respect overrides of #negative?
#
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#8
def negated?; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#3
def negative?; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#100
def nesting_level=(lvl); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#92
def offset; end
# Test if this expression matches an entry in the given scope spec.
#
# A scope spec can be one of:
#
# . An array: Interpreted as a set of tokens, tested for inclusion
# of the expression's token.
#
# . A hash: Where the key is interpreted as the expression type
# and the value is either a symbol or an array. In this
# case, when the scope is a hash, one_of? calls itself to
# evaluate the key's value.
#
# . A symbol: matches the expression's token or type, depending on
# the level of the call. If one_of? is called directly with
# a symbol then it will always be checked against the
# type of the expression. If it's being called for a value
# from a hash, it will be checked against the token of the
# expression.
#
# # any expression
# exp.one_of?(:*) # always true
#
# # like exp.type?(:group)
# exp.one_of?(:group)
#
# # any expression of type meta
# exp.one_of?(:meta => :*)
#
# # meta dots and alternations
# exp.one_of?(:meta => [:dot, :alternation])
#
# # meta dots and any set tokens
# exp.one_of?({meta: [:dot], set: :*})
#
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#75
def one_of?(scope, top = T.unsafe(nil)); end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#111
def optional?; end
# default implementation
#
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#4
def parts; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#84
def pre_quantifier_decoration(expression_format = T.unsafe(nil)); end
# Make pretty-print work despite #inspect implementation.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/printing.rb#12
def pretty_print(q); end
# Called by pretty_print (ruby/pp) and #inspect.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/printing.rb#17
def pretty_print_instance_variables; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#115
def quantified?; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#106
def quantifier=(qtf); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#88
def quantifier_affix(expression_format = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#138
def referential?; end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#43
def starts_at; end
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#120
def terminal?; end
# #to_s reproduces the original source, as an unparser would.
#
# It takes an optional format argument.
#
# Example:
#
# lit = Regexp::Parser.parse(/a +/x)[0]
#
# lit.to_s # => 'a+' # default; with quantifier
# lit.to_s(:full) # => 'a+' # default; with quantifier
# lit.to_s(:base) # => 'a' # without quantifier
# lit.to_s(:original) # => 'a +' # with quantifier AND intermittent decorations
#
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#72
def to_s(format = T.unsafe(nil)); end
# #to_s reproduces the original source, as an unparser would.
#
# It takes an optional format argument.
#
# Example:
#
# lit = Regexp::Parser.parse(/a +/x)[0]
#
# lit.to_s # => 'a+' # default; with quantifier
# lit.to_s(:full) # => 'a+' # default; with quantifier
# lit.to_s(:base) # => 'a' # without quantifier
# lit.to_s(:original) # => 'a +' # with quantifier AND intermittent decorations
#
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#72
def to_str(format = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#37
def token_class; end
# Test if this expression has the given test_type, which can be either
# a symbol or an array of symbols to check against the expression's type.
#
# # is it a :group expression
# exp.type? :group
#
# # is it a :set, or :meta
# exp.type? [:set, :meta]
#
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#13
def type?(test_type); end
private
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#18
def init_from_token_and_options(token, options = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#32
def initialize_copy(orig); end
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#10
def intersperse(expressions, separator); end
class << self
# @private
#
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#5
def included(mod); end
end
end
# filled in ./methods/*.rb
#
# source://regexp_parser//lib/regexp_parser/expression/shared.rb#3
module Regexp::Expression::Shared::ClassMethods
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#125
def capturing?; end
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#129
def comment?; end
# Convenience method to init a valid Expression without a Regexp::Token
#
# @raise [ArgumentError]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#5
def construct(params = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#15
def construct_defaults; end
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#134
def decorative?; end
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#139
def referential?; end
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#121
def terminal?; end
# source://regexp_parser//lib/regexp_parser/expression/methods/construct.rb#25
def token_class; end
end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#2
class Regexp::Expression::Subexpression < ::Regexp::Expression::Base
include ::Enumerable
# @return [Subexpression] a new instance of Subexpression
#
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#7
def initialize(token, options = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#20
def <<(exp); end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
def [](*args, &block); end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
def at(*args, &block); end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#33
def dig(*indices); end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
def each(*args, &block); end
# Traverses the expression, passing each recursive child to the
# given block.
# If the block takes two arguments, the indices of the children within
# their parents are also passed to it.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#8
def each_expression(include_self = T.unsafe(nil), &block); end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
def empty?(*args, &block); end
# Returns the value of attribute expressions.
#
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#5
def expressions; end
# Sets the attribute expressions
#
# @param value the value to set the attribute expressions to.
#
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#5
def expressions=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#50
def extract_quantifier_target(quantifier_description); end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
def fetch(*args, &block); end
# Returns a new array with the results of calling the given block once
# for every expression. If a block is not given, returns an array with
# each expression and its level index as an array.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#56
def flat_map(include_self = T.unsafe(nil), &block); end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
def index(*args, &block); end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#118
def inner_match_length; end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
def join(*args, &block); end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
def last(*args, &block); end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
def length(*args, &block); end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#111
def match_length; end
# source://regexp_parser//lib/regexp_parser/expression/methods/parts.rb#21
def parts; end
# source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#102
def strfre_tree(format = T.unsafe(nil), include_self = T.unsafe(nil), separator = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/methods/strfregexp.rb#102
def strfregexp_tree(format = T.unsafe(nil), include_self = T.unsafe(nil), separator = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#39
def te; end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#43
def to_h; end
# Traverses the subexpression (depth-first, pre-order) and calls the given
# block for each expression with three arguments; the traversal event,
# the expression, and the index of the expression within its parent.
#
# The event argument is passed as follows:
#
# - For subexpressions, :enter upon entering the subexpression, and
# :exit upon exiting it.
#
# - For terminal expressions, :visit is called once.
#
# Returns self.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#32
def traverse(include_self = T.unsafe(nil), &block); end
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#27
def values_at(*args, &block); end
# Traverses the subexpression (depth-first, pre-order) and calls the given
# block for each expression with three arguments; the traversal event,
# the expression, and the index of the expression within its parent.
#
# The event argument is passed as follows:
#
# - For subexpressions, :enter upon entering the subexpression, and
# :exit upon exiting it.
#
# - For terminal expressions, :visit is called once.
#
# Returns self.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#32
def walk(include_self = T.unsafe(nil), &block); end
protected
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#66
def each_expression_with_index(&block); end
# source://regexp_parser//lib/regexp_parser/expression/methods/traverse.rb#73
def each_expression_without_index(&block); end
private
# Override base method to clone the expressions as well.
#
# source://regexp_parser//lib/regexp_parser/expression/subexpression.rb#13
def initialize_copy(orig); end
class << self
# source://regexp_parser//lib/regexp_parser/expression/methods/tests.rb#122
def terminal?; end
end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#2
module Regexp::Expression::UnicodeProperty; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#108
class Regexp::Expression::UnicodeProperty::Age < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#13
class Regexp::Expression::UnicodeProperty::Alnum < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#14
class Regexp::Expression::UnicodeProperty::Alpha < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#31
class Regexp::Expression::UnicodeProperty::Any < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#15
class Regexp::Expression::UnicodeProperty::Ascii < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#32
class Regexp::Expression::UnicodeProperty::Assigned < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#3
class Regexp::Expression::UnicodeProperty::Base < ::Regexp::Expression::Base
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#98
def match_length; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#4
def name; end
# source://regexp_parser//lib/regexp_parser/expression/methods/negative.rb#19
def negative?; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#8
def shortcut; end
end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#16
class Regexp::Expression::UnicodeProperty::Blank < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#109
class Regexp::Expression::UnicodeProperty::Block < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#17
class Regexp::Expression::UnicodeProperty::Cntrl < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#97
module Regexp::Expression::UnicodeProperty::Codepoint; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#100
class Regexp::Expression::UnicodeProperty::Codepoint::Any < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#98
class Regexp::Expression::UnicodeProperty::Codepoint::Base < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#101
class Regexp::Expression::UnicodeProperty::Codepoint::Control < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#102
class Regexp::Expression::UnicodeProperty::Codepoint::Format < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#104
class Regexp::Expression::UnicodeProperty::Codepoint::PrivateUse < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#103
class Regexp::Expression::UnicodeProperty::Codepoint::Surrogate < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#105
class Regexp::Expression::UnicodeProperty::Codepoint::Unassigned < ::Regexp::Expression::UnicodeProperty::Codepoint::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#110
class Regexp::Expression::UnicodeProperty::Derived < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#18
class Regexp::Expression::UnicodeProperty::Digit < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#111
class Regexp::Expression::UnicodeProperty::Emoji < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#112
class Regexp::Expression::UnicodeProperty::Enumerated < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#19
class Regexp::Expression::UnicodeProperty::Graph < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#34
module Regexp::Expression::UnicodeProperty::Letter; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#37
class Regexp::Expression::UnicodeProperty::Letter::Any < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#35
class Regexp::Expression::UnicodeProperty::Letter::Base < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#38
class Regexp::Expression::UnicodeProperty::Letter::Cased < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#40
class Regexp::Expression::UnicodeProperty::Letter::Lowercase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#42
class Regexp::Expression::UnicodeProperty::Letter::Modifier < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#43
class Regexp::Expression::UnicodeProperty::Letter::Other < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#41
class Regexp::Expression::UnicodeProperty::Letter::Titlecase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#39
class Regexp::Expression::UnicodeProperty::Letter::Uppercase < ::Regexp::Expression::UnicodeProperty::Letter::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#20
class Regexp::Expression::UnicodeProperty::Lower < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#46
module Regexp::Expression::UnicodeProperty::Mark; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#49
class Regexp::Expression::UnicodeProperty::Mark::Any < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#47
class Regexp::Expression::UnicodeProperty::Mark::Base < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#50
class Regexp::Expression::UnicodeProperty::Mark::Combining < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#53
class Regexp::Expression::UnicodeProperty::Mark::Enclosing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#51
class Regexp::Expression::UnicodeProperty::Mark::Nonspacing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#52
class Regexp::Expression::UnicodeProperty::Mark::Spacing < ::Regexp::Expression::UnicodeProperty::Mark::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#29
class Regexp::Expression::UnicodeProperty::Newline < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#56
module Regexp::Expression::UnicodeProperty::Number; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#59
class Regexp::Expression::UnicodeProperty::Number::Any < ::Regexp::Expression::UnicodeProperty::Number::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#57
class Regexp::Expression::UnicodeProperty::Number::Base < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#60
class Regexp::Expression::UnicodeProperty::Number::Decimal < ::Regexp::Expression::UnicodeProperty::Number::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#61
class Regexp::Expression::UnicodeProperty::Number::Letter < ::Regexp::Expression::UnicodeProperty::Number::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#62
class Regexp::Expression::UnicodeProperty::Number::Other < ::Regexp::Expression::UnicodeProperty::Number::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#21
class Regexp::Expression::UnicodeProperty::Print < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#22
class Regexp::Expression::UnicodeProperty::Punct < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#65
module Regexp::Expression::UnicodeProperty::Punctuation; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#68
class Regexp::Expression::UnicodeProperty::Punctuation::Any < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#66
class Regexp::Expression::UnicodeProperty::Punctuation::Base < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#72
class Regexp::Expression::UnicodeProperty::Punctuation::Close < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#69
class Regexp::Expression::UnicodeProperty::Punctuation::Connector < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#70
class Regexp::Expression::UnicodeProperty::Punctuation::Dash < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#74
class Regexp::Expression::UnicodeProperty::Punctuation::Final < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#73
class Regexp::Expression::UnicodeProperty::Punctuation::Initial < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#71
class Regexp::Expression::UnicodeProperty::Punctuation::Open < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#75
class Regexp::Expression::UnicodeProperty::Punctuation::Other < ::Regexp::Expression::UnicodeProperty::Punctuation::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#113
class Regexp::Expression::UnicodeProperty::Script < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#78
module Regexp::Expression::UnicodeProperty::Separator; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#81
class Regexp::Expression::UnicodeProperty::Separator::Any < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#79
class Regexp::Expression::UnicodeProperty::Separator::Base < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#83
class Regexp::Expression::UnicodeProperty::Separator::Line < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#84
class Regexp::Expression::UnicodeProperty::Separator::Paragraph < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#82
class Regexp::Expression::UnicodeProperty::Separator::Space < ::Regexp::Expression::UnicodeProperty::Separator::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#23
class Regexp::Expression::UnicodeProperty::Space < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#87
module Regexp::Expression::UnicodeProperty::Symbol; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#90
class Regexp::Expression::UnicodeProperty::Symbol::Any < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#88
class Regexp::Expression::UnicodeProperty::Symbol::Base < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#92
class Regexp::Expression::UnicodeProperty::Symbol::Currency < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#91
class Regexp::Expression::UnicodeProperty::Symbol::Math < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#93
class Regexp::Expression::UnicodeProperty::Symbol::Modifier < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#94
class Regexp::Expression::UnicodeProperty::Symbol::Other < ::Regexp::Expression::UnicodeProperty::Symbol::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#24
class Regexp::Expression::UnicodeProperty::Upper < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#25
class Regexp::Expression::UnicodeProperty::Word < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#27
class Regexp::Expression::UnicodeProperty::XPosixPunct < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/unicode_property.rb#26
class Regexp::Expression::UnicodeProperty::Xdigit < ::Regexp::Expression::UnicodeProperty::Base; end
# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#11
class Regexp::Expression::WhiteSpace < ::Regexp::Expression::FreeSpace
# source://regexp_parser//lib/regexp_parser/expression/methods/human_name.rb#42
def human_name; end
# source://regexp_parser//lib/regexp_parser/expression/classes/free_space.rb#12
def merge(exp); end
end
# A very thin wrapper around the scanner that breaks quantified literal runs,
# collects emitted tokens into an array, calculates their nesting depth, and
# normalizes tokens for the parser, and checks if they are implemented by the
# given syntax flavor.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#5
class Regexp::Lexer
# source://regexp_parser//lib/regexp_parser/lexer.rb#71
def emit(token); end
# source://regexp_parser//lib/regexp_parser/lexer.rb#20
def lex(input, syntax = T.unsafe(nil), options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end
private
# source://regexp_parser//lib/regexp_parser/lexer.rb#91
def ascend(type, token); end
# Returns the value of attribute block.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def block; end
# Sets the attribute block
#
# @param value the value to set the attribute block to.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def block=(_arg0); end
# if a codepoint list is followed by a quantifier, that quantifier applies
# to the last codepoint, e.g. /\u{61 62 63}{3}/ =~ 'abccc'
# c.f. #break_literal.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#143
def break_codepoint_list(token); end
# called by scan to break a literal run that is longer than one character
# into two separate tokens when it is followed by a quantifier
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#123
def break_literal(token); end
# Returns the value of attribute collect_tokens.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def collect_tokens; end
# Sets the attribute collect_tokens
#
# @param value the value to set the attribute collect_tokens to.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def collect_tokens=(_arg0); end
# Returns the value of attribute conditional_nesting.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def conditional_nesting; end
# Sets the attribute conditional_nesting
#
# @param value the value to set the attribute conditional_nesting to.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def conditional_nesting=(_arg0); end
# source://regexp_parser//lib/regexp_parser/lexer.rb#106
def descend(type, token); end
# source://regexp_parser//lib/regexp_parser/lexer.rb#162
def merge_condition(current, last); end
# Returns the value of attribute nesting.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def nesting; end
# Sets the attribute nesting
#
# @param value the value to set the attribute nesting to.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def nesting=(_arg0); end
# Returns the value of attribute preprev_token.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def preprev_token; end
# Sets the attribute preprev_token
#
# @param value the value to set the attribute preprev_token to.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def preprev_token=(_arg0); end
# Returns the value of attribute prev_token.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def prev_token; end
# Sets the attribute prev_token
#
# @param value the value to set the attribute prev_token to.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def prev_token=(_arg0); end
# Returns the value of attribute set_nesting.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def set_nesting; end
# Sets the attribute set_nesting
#
# @param value the value to set the attribute set_nesting to.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def set_nesting=(_arg0); end
# Returns the value of attribute shift.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def shift; end
# Sets the attribute shift
#
# @param value the value to set the attribute shift to.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def shift=(_arg0); end
# Returns the value of attribute tokens.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def tokens; end
# Sets the attribute tokens
#
# @param value the value to set the attribute tokens to.
#
# source://regexp_parser//lib/regexp_parser/lexer.rb#87
def tokens=(_arg0); end
class << self
# source://regexp_parser//lib/regexp_parser/lexer.rb#16
def lex(input, syntax = T.unsafe(nil), options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end
# source://regexp_parser//lib/regexp_parser/lexer.rb#16
def scan(input, syntax = T.unsafe(nil), options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end
end
end
# source://regexp_parser//lib/regexp_parser/lexer.rb#12
Regexp::Lexer::CLOSING_TOKENS = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/lexer.rb#14
Regexp::Lexer::CONDITION_TOKENS = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/lexer.rb#7
Regexp::Lexer::OPENING_TOKENS = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#1
class Regexp::MatchLength
include ::Enumerable
# @return [MatchLength] a new instance of MatchLength
#
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#9
def initialize(exp, opts = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#24
def each(opts = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#35
def endless_each; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#44
def fixed?; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#40
def include?(length); end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#60
def inspect; end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#52
def max; end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#48
def min; end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#56
def minmax; end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#65
def to_re; end
private
# Returns the value of attribute base_max.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71
def base_max; end
# Sets the attribute base_max
#
# @param value the value to set the attribute base_max to.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71
def base_max=(_arg0); end
# Returns the value of attribute base_min.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71
def base_min; end
# Sets the attribute base_min
#
# @param value the value to set the attribute base_min to.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71
def base_min=(_arg0); end
# Returns the value of attribute exp_class.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71
def exp_class; end
# Sets the attribute exp_class
#
# @param value the value to set the attribute exp_class to.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71
def exp_class=(_arg0); end
# Returns the value of attribute max_rep.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71
def max_rep; end
# Sets the attribute max_rep
#
# @param value the value to set the attribute max_rep to.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71
def max_rep=(_arg0); end
# Returns the value of attribute min_rep.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71
def min_rep; end
# Sets the attribute min_rep
#
# @param value the value to set the attribute min_rep to.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71
def min_rep=(_arg0); end
# Returns the value of attribute reify.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71
def reify; end
# Sets the attribute reify
#
# @param value the value to set the attribute reify to.
#
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#71
def reify=(_arg0); end
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#74
def test_regexp; end
class << self
# source://regexp_parser//lib/regexp_parser/expression/methods/match_length.rb#4
def of(obj); end
end
end
# source://regexp_parser//lib/regexp_parser/version.rb#2
class Regexp::Parser
include ::Regexp::Expression
# source://regexp_parser//lib/regexp_parser/parser.rb#25
def parse(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
private
# source://regexp_parser//lib/regexp_parser/parser.rb#574
def active_opts; end
# source://regexp_parser//lib/regexp_parser/parser.rb#99
def anchor(token); end
# source://regexp_parser//lib/regexp_parser/parser.rb#262
def assign_effective_number(exp); end
# Assigns referenced expressions to referring expressions, e.g. if there is
# an instance of Backreference::Number, its #referenced_expression is set to
# the instance of Group::Capture that it refers to via its number.
#
# source://regexp_parser//lib/regexp_parser/parser.rb#581
def assign_referenced_expressions; end
# source://regexp_parser//lib/regexp_parser/parser.rb#227
def backref(token); end
# source://regexp_parser//lib/regexp_parser/parser.rb#202
def captured_group_count_at_level; end
# Returns the value of attribute captured_group_counts.
#
# source://regexp_parser//lib/regexp_parser/parser.rb#56
def captured_group_counts; end
# Sets the attribute captured_group_counts
#
# @param value the value to set the attribute captured_group_counts to.
#
# source://regexp_parser//lib/regexp_parser/parser.rb#56
def captured_group_counts=(_arg0); end
# source://regexp_parser//lib/regexp_parser/parser.rb#570
def close_completed_character_set_range; end
# source://regexp_parser//lib/regexp_parser/parser.rb#210
def close_group; end
# source://regexp_parser//lib/regexp_parser/parser.rb#538
def close_set; end
# source://regexp_parser//lib/regexp_parser/parser.rb#269
def conditional(token); end
# Returns the value of attribute conditional_nesting.
#
# source://regexp_parser//lib/regexp_parser/parser.rb#56
def conditional_nesting; end
# Sets the attribute conditional_nesting
#
# @param value the value to set the attribute conditional_nesting to.
#
# source://regexp_parser//lib/regexp_parser/parser.rb#56
def conditional_nesting=(_arg0); end
# source://regexp_parser//lib/regexp_parser/parser.rb#206
def count_captured_group; end
# @yield [node]
#
# source://regexp_parser//lib/regexp_parser/parser.rb#216
def decrease_nesting; end
# source://regexp_parser//lib/regexp_parser/parser.rb#305
def escape(token); end
# source://regexp_parser//lib/regexp_parser/parser.rb#60
def extract_options(input, options); end
# source://regexp_parser//lib/regexp_parser/parser.rb#349
def free_space(token); end
# source://regexp_parser//lib/regexp_parser/parser.rb#114
def group(token); end
# source://regexp_parser//lib/regexp_parser/parser.rb#509
def increase_group_level(exp); end
# source://regexp_parser//lib/regexp_parser/parser.rb#549
def intersection(token); end
# source://regexp_parser//lib/regexp_parser/parser.rb#360
def keep(token); end
# source://regexp_parser//lib/regexp_parser/parser.rb#364
def literal(token); end
# source://regexp_parser//lib/regexp_parser/parser.rb#368
def meta(token); end
# source://regexp_parser//lib/regexp_parser/parser.rb#534
def negate_set; end
# source://regexp_parser//lib/regexp_parser/parser.rb#299
def nest(exp); end
# source://regexp_parser//lib/regexp_parser/parser.rb#294
def nest_conditional(exp); end
# Returns the value of attribute nesting.
#
# source://regexp_parser//lib/regexp_parser/parser.rb#56
def nesting; end
# Sets the attribute nesting
#
# @param value the value to set the attribute nesting to.
#
# source://regexp_parser//lib/regexp_parser/parser.rb#56
def nesting=(_arg0); end
# Returns the value of attribute node.
#
# source://regexp_parser//lib/regexp_parser/parser.rb#56
def node; end
# Sets the attribute node
#
# @param value the value to set the attribute node to.
#
# source://regexp_parser//lib/regexp_parser/parser.rb#56
def node=(_arg0); end
# source://regexp_parser//lib/regexp_parser/parser.rb#165
def open_group(token); end
# source://regexp_parser//lib/regexp_parser/parser.rb#527
def open_set(token); end
# source://regexp_parser//lib/regexp_parser/parser.rb#130
def options_group(token); end
# Returns the value of attribute options_stack.
#
# source://regexp_parser//lib/regexp_parser/parser.rb#56
def options_stack; end
# Sets the attribute options_stack
#
# @param value the value to set the attribute options_stack to.
#
# source://regexp_parser//lib/regexp_parser/parser.rb#56
def options_stack=(_arg0); end
# source://regexp_parser//lib/regexp_parser/parser.rb#76
def parse_token(token); end
# source://regexp_parser//lib/regexp_parser/parser.rb#390
def posixclass(token); end
# source://regexp_parser//lib/regexp_parser/parser.rb#397
def property(token); end
# source://regexp_parser//lib/regexp_parser/parser.rb#479
def quantifier(token); end
# source://regexp_parser//lib/regexp_parser/parser.rb#542
def range(token); end
# Returns the value of attribute root.
#
# source://regexp_parser//lib/regexp_parser/parser.rb#56
def root; end
# Sets the attribute root
#
# @param value the value to set the attribute root to.
#
# source://regexp_parser//lib/regexp_parser/parser.rb#56
def root=(_arg0); end
# source://regexp_parser//lib/regexp_parser/parser.rb#379
def sequence_operation(klass, token); end
# source://regexp_parser//lib/regexp_parser/parser.rb#515
def set(token); end
# Returns the value of attribute switching_options.
#
# source://regexp_parser//lib/regexp_parser/parser.rb#56
def switching_options; end
# Sets the attribute switching_options
#
# @param value the value to set the attribute switching_options to.
#
# source://regexp_parser//lib/regexp_parser/parser.rb#56
def switching_options=(_arg0); end
# source://regexp_parser//lib/regexp_parser/parser.rb#198
def total_captured_group_count; end
# source://regexp_parser//lib/regexp_parser/parser.rb#553
def type(token); end
class << self
# source://regexp_parser//lib/regexp_parser/parser.rb#21
def parse(input, syntax = T.unsafe(nil), options: T.unsafe(nil), &block); end
end
end
# source://regexp_parser//lib/regexp_parser/parser.rb#128
Regexp::Parser::ENC_FLAGS = T.let(T.unsafe(nil), Array)
# base class for all gem-specific errors
#
# source://regexp_parser//lib/regexp_parser/error.rb#3
class Regexp::Parser::Error < ::StandardError; end
# source://regexp_parser//lib/regexp_parser/parser.rb#127
Regexp::Parser::MOD_FLAGS = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/parser.rb#7
class Regexp::Parser::ParserError < ::Regexp::Parser::Error; end
# source://regexp_parser//lib/regexp_parser/parser.rb#394
Regexp::Parser::UP = Regexp::Expression::UnicodeProperty
# source://regexp_parser//lib/regexp_parser/parser.rb#395
Regexp::Parser::UPTokens = Regexp::Syntax::Token::UnicodeProperty
# source://regexp_parser//lib/regexp_parser/parser.rb#15
class Regexp::Parser::UnknownTokenError < ::Regexp::Parser::ParserError
# @return [UnknownTokenError] a new instance of UnknownTokenError
#
# source://regexp_parser//lib/regexp_parser/parser.rb#16
def initialize(type, token); end
end
# source://regexp_parser//lib/regexp_parser/parser.rb#9
class Regexp::Parser::UnknownTokenTypeError < ::Regexp::Parser::ParserError
# @return [UnknownTokenTypeError] a new instance of UnknownTokenTypeError
#
# source://regexp_parser//lib/regexp_parser/parser.rb#10
def initialize(type, token); end
end
# source://regexp_parser//lib/regexp_parser/version.rb#3
Regexp::Parser::VERSION = T.let(T.unsafe(nil), String)
# source://regexp_parser//lib/regexp_parser/scanner/errors/scanner_error.rb#3
class Regexp::Scanner
# Emits an array with the details of the scanned pattern
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2406
def emit(type, token, text); end
# only public for #||= to work on ruby <= 2.5
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2431
def literal_run; end
# only public for #||= to work on ruby <= 2.5
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2431
def literal_run=(_arg0); end
# @raise [PrematureEndError]
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#24
def scan(input_object, options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end
private
# Appends one or more characters to the literal buffer, to be emitted later
# by a call to emit_literal.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2468
def append_literal(data, ts, te); end
# Returns the value of attribute block.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def block; end
# Sets the attribute block
#
# @param value the value to set the attribute block to.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def block=(_arg0); end
# Returns the value of attribute char_pos.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def char_pos; end
# Sets the attribute char_pos
#
# @param value the value to set the attribute char_pos to.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def char_pos=(_arg0); end
# Returns the value of attribute collect_tokens.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def collect_tokens; end
# Sets the attribute collect_tokens
#
# @param value the value to set the attribute collect_tokens to.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def collect_tokens=(_arg0); end
# Returns the value of attribute conditional_stack.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def conditional_stack; end
# Sets the attribute conditional_stack
#
# @param value the value to set the attribute conditional_stack to.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def conditional_stack=(_arg0); end
# Copy from ts to te from data as text
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2462
def copy(data, ts, te); end
# Emits the literal run collected by calls to the append_literal method.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2473
def emit_literal; end
# source://regexp_parser//lib/regexp_parser/scanner.rb#2508
def emit_meta_control_sequence(data, ts, te, token); end
# source://regexp_parser//lib/regexp_parser/scanner.rb#2479
def emit_options(text); end
# Returns the value of attribute free_spacing.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def free_spacing; end
# Sets the attribute free_spacing
#
# @param value the value to set the attribute free_spacing to.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def free_spacing=(_arg0); end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2441
def free_spacing?(input_object, options); end
# Returns the value of attribute group_depth.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def group_depth; end
# Sets the attribute group_depth
#
# @param value the value to set the attribute group_depth to.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def group_depth=(_arg0); end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2453
def in_group?; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2457
def in_set?; end
# Returns the value of attribute prev_token.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def prev_token; end
# Sets the attribute prev_token
#
# @param value the value to set the attribute prev_token to.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def prev_token=(_arg0); end
# Returns the value of attribute set_depth.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def set_depth; end
# Sets the attribute set_depth
#
# @param value the value to set the attribute set_depth to.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def set_depth=(_arg0); end
# Returns the value of attribute spacing_stack.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def spacing_stack; end
# Sets the attribute spacing_stack
#
# @param value the value to set the attribute spacing_stack to.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def spacing_stack=(_arg0); end
# Returns the value of attribute tokens.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def tokens; end
# Sets the attribute tokens
#
# @param value the value to set the attribute tokens to.
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2435
def tokens=(_arg0); end
class << self
# source://regexp_parser//lib/regexp_parser/scanner.rb#2392
def long_prop_map; end
# source://regexp_parser//lib/regexp_parser/scanner.rb#2396
def parse_prop_map(name); end
# source://regexp_parser//lib/regexp_parser/scanner.rb#2400
def posix_classes; end
# Scans the given regular expression text, or Regexp object and collects the
# emitted token into an array that gets returned at the end. If a block is
# given, it gets called for each emitted token.
#
# This method may raise errors if a syntax error is encountered.
# --------------------------------------------------------------------------
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#20
def scan(input_object, options: T.unsafe(nil), collect_tokens: T.unsafe(nil), &block); end
# lazy-load property maps when first needed
#
# source://regexp_parser//lib/regexp_parser/scanner.rb#2388
def short_prop_map; end
end
end
# Invalid back reference. Used for name a number refs/calls.
#
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#44
class Regexp::Scanner::InvalidBackrefError < ::Regexp::Scanner::ValidationError
# @return [InvalidBackrefError] a new instance of InvalidBackrefError
#
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#45
def initialize(what, reason); end
end
# Invalid group. Used for named groups.
#
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#29
class Regexp::Scanner::InvalidGroupError < ::Regexp::Scanner::ValidationError
# @return [InvalidGroupError] a new instance of InvalidGroupError
#
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#30
def initialize(what, reason); end
end
# Invalid groupOption. Used for inline options.
# TODO: should become InvalidGroupOptionError in v3.0.0 for consistency
#
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#37
class Regexp::Scanner::InvalidGroupOption < ::Regexp::Scanner::ValidationError
# @return [InvalidGroupOption] a new instance of InvalidGroupOption
#
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#38
def initialize(option, text); end
end
# Invalid sequence format. Used for escape sequences, mainly.
#
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#22
class Regexp::Scanner::InvalidSequenceError < ::Regexp::Scanner::ValidationError
# @return [InvalidSequenceError] a new instance of InvalidSequenceError
#
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#23
def initialize(what = T.unsafe(nil), where = T.unsafe(nil)); end
end
# Unexpected end of pattern
#
# source://regexp_parser//lib/regexp_parser/scanner/errors/premature_end_error.rb#3
class Regexp::Scanner::PrematureEndError < ::Regexp::Scanner::ScannerError
# @return [PrematureEndError] a new instance of PrematureEndError
#
# source://regexp_parser//lib/regexp_parser/scanner/errors/premature_end_error.rb#4
def initialize(where = T.unsafe(nil)); end
end
# General scanner error (catch all)
#
# source://regexp_parser//lib/regexp_parser/scanner/errors/scanner_error.rb#5
class Regexp::Scanner::ScannerError < ::Regexp::Parser::Error; end
# The POSIX class name was not recognized by the scanner.
#
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#58
class Regexp::Scanner::UnknownPosixClassError < ::Regexp::Scanner::ValidationError
# @return [UnknownPosixClassError] a new instance of UnknownPosixClassError
#
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#59
def initialize(text, _); end
end
# The property name was not recognized by the scanner.
#
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#51
class Regexp::Scanner::UnknownUnicodePropertyError < ::Regexp::Scanner::ValidationError
# @return [UnknownUnicodePropertyError] a new instance of UnknownUnicodePropertyError
#
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#52
def initialize(name, _); end
end
# Base for all scanner validation errors
#
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#3
class Regexp::Scanner::ValidationError < ::Regexp::Scanner::ScannerError
class << self
# Centralizes and unifies the handling of validation related errors.
#
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#5
def for(type, problem, reason = T.unsafe(nil)); end
# source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#9
def types; end
end
end
# After loading all the tokens the map is full. Extract all tokens and types
# into the All and Types constants.
#
# source://regexp_parser//lib/regexp_parser/syntax.rb#3
module Regexp::Syntax
private
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#61
def comparable(name); end
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#44
def const_missing(const_name); end
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#51
def fallback_version_class(version); end
# Returns the syntax specification class for the given syntax
# version name. The special names 'any' and '*' return Syntax::Any.
#
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#22
def for(name); end
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#26
def new(name); end
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#57
def specified_versions; end
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#32
def supported?(name); end
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#36
def version_class(version); end
class << self
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#61
def comparable(name); end
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#44
def const_missing(const_name); end
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#51
def fallback_version_class(version); end
# Returns the syntax specification class for the given syntax
# version name. The special names 'any' and '*' return Syntax::Any.
#
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#22
def for(name); end
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#26
def new(name); end
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#57
def specified_versions; end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#32
def supported?(name); end
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#36
def version_class(version); end
end
end
# A syntax that always returns true, passing all tokens as implemented. This
# is useful during development, testing, and should be useful for some types
# of transformations as well.
#
# source://regexp_parser//lib/regexp_parser/syntax/any.rb#5
class Regexp::Syntax::Any < ::Regexp::Syntax::Base
class << self
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/syntax/any.rb#8
def implements?(_type, _token); end
end
end
# A lookup map of supported types and tokens in a given syntax
#
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#9
class Regexp::Syntax::Base
include ::Regexp::Syntax::Token
# TODO: drop this backwards compatibility code in v3.0.0, do `private :new`
#
# @return [Base] a new instance of Base
#
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#99
def initialize; end
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#104
def method_missing(name, *args); end
private
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#115
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
class << self
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#46
def added_features; end
# @raise [NotImplementedError]
#
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#40
def check!(type, token); end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#31
def check?(type, token); end
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#26
def excludes(type, tokens); end
# Returns the value of attribute features.
#
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#13
def features; end
# Sets the attribute features
#
# @param value the value to set the attribute features to.
#
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#13
def features=(_arg0); end
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#36
def implementations(type); end
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#21
def implements(type, tokens); end
# @raise [NotImplementedError]
#
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#40
def implements!(type, token); end
# @return [Boolean]
#
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#31
def implements?(type, token); end
# automatically inherit features through the syntax class hierarchy
#
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#16
def inherited(subclass); end
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#54
def normalize(type, token); end
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#74
def normalize_backref(type, token); end
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#65
def normalize_group(type, token); end
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#50
def removed_features; end
end
end
# source://regexp_parser//lib/regexp_parser/syntax/versions.rb#8
Regexp::Syntax::CURRENT = Regexp::Syntax::V3_2_0
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#6
class Regexp::Syntax::InvalidVersionNameError < ::Regexp::Syntax::SyntaxError
# @return [InvalidVersionNameError] a new instance of InvalidVersionNameError
#
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#7
def initialize(name); end
end
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#2
class Regexp::Syntax::NotImplementedError < ::Regexp::Syntax::SyntaxError
# @return [NotImplementedError] a new instance of NotImplementedError
#
# source://regexp_parser//lib/regexp_parser/syntax/base.rb#3
def initialize(syntax, type, token); end
end
# source://regexp_parser//lib/regexp_parser/syntax.rb#4
class Regexp::Syntax::SyntaxError < ::Regexp::Parser::Error; end
# source://regexp_parser//lib/regexp_parser/syntax/token.rb#3
module Regexp::Syntax::Token; end
# source://regexp_parser//lib/regexp_parser/syntax/token.rb#42
Regexp::Syntax::Token::All = T.let(T.unsafe(nil), Array)
# alias for symmetry between Token::* and Expression::*
#
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#15
module Regexp::Syntax::Token::Alternation; end
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#16
Regexp::Syntax::Token::Alternation::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#17
Regexp::Syntax::Token::Alternation::Type = T.let(T.unsafe(nil), Symbol)
# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#3
module Regexp::Syntax::Token::Anchor; end
# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#9
Regexp::Syntax::Token::Anchor::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#4
Regexp::Syntax::Token::Anchor::Basic = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#5
Regexp::Syntax::Token::Anchor::Extended = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#7
Regexp::Syntax::Token::Anchor::MatchStart = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#6
Regexp::Syntax::Token::Anchor::String = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/anchor.rb#10
Regexp::Syntax::Token::Anchor::Type = T.let(T.unsafe(nil), Symbol)
# source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#3
module Regexp::Syntax::Token::Assertion; end
# source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#7
Regexp::Syntax::Token::Assertion::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#4
Regexp::Syntax::Token::Assertion::Lookahead = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#5
Regexp::Syntax::Token::Assertion::Lookbehind = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/assertion.rb#8
Regexp::Syntax::Token::Assertion::Type = T.let(T.unsafe(nil), Symbol)
# alias for symmetry between token symbol and Expression class name
#
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#31
Regexp::Syntax::Token::Backref = Regexp::Syntax::Token::Backreference
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#3
module Regexp::Syntax::Token::Backreference; end
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#15
Regexp::Syntax::Token::Backreference::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#7
Regexp::Syntax::Token::Backreference::Name = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#6
Regexp::Syntax::Token::Backreference::Number = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#5
Regexp::Syntax::Token::Backreference::NumberRef = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#4
Regexp::Syntax::Token::Backreference::Plain = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#9
Regexp::Syntax::Token::Backreference::RecursionLevel = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#16
Regexp::Syntax::Token::Backreference::Type = T.let(T.unsafe(nil), Symbol)
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#11
Regexp::Syntax::Token::Backreference::V1_8_6 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#13
Regexp::Syntax::Token::Backreference::V1_9_1 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#3
module Regexp::Syntax::Token::CharacterSet; end
# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#7
Regexp::Syntax::Token::CharacterSet::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#4
Regexp::Syntax::Token::CharacterSet::Basic = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#5
Regexp::Syntax::Token::CharacterSet::Extended = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#8
Regexp::Syntax::Token::CharacterSet::Type = T.let(T.unsafe(nil), Symbol)
# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#3
module Regexp::Syntax::Token::CharacterType; end
# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#10
Regexp::Syntax::Token::CharacterType::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#4
Regexp::Syntax::Token::CharacterType::Basic = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#8
Regexp::Syntax::Token::CharacterType::Clustered = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#5
Regexp::Syntax::Token::CharacterType::Extended = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#6
Regexp::Syntax::Token::CharacterType::Hex = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/character_type.rb#11
Regexp::Syntax::Token::CharacterType::Type = T.let(T.unsafe(nil), Symbol)
# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#3
module Regexp::Syntax::Token::Conditional; end
# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#9
Regexp::Syntax::Token::Conditional::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#6
Regexp::Syntax::Token::Conditional::Condition = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#4
Regexp::Syntax::Token::Conditional::Delimiters = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#7
Regexp::Syntax::Token::Conditional::Separator = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/conditional.rb#11
Regexp::Syntax::Token::Conditional::Type = T.let(T.unsafe(nil), Symbol)
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#3
module Regexp::Syntax::Token::Escape; end
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#8
Regexp::Syntax::Token::Escape::ASCII = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#24
Regexp::Syntax::Token::Escape::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#4
Regexp::Syntax::Token::Escape::Basic = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#6
Regexp::Syntax::Token::Escape::Control = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#20
Regexp::Syntax::Token::Escape::Hex = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#13
Regexp::Syntax::Token::Escape::Meta = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#22
Regexp::Syntax::Token::Escape::Octal = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#25
Regexp::Syntax::Token::Escape::Type = T.let(T.unsafe(nil), Symbol)
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#11
Regexp::Syntax::Token::Escape::Unicode = T.let(T.unsafe(nil), Array)
# alias for symmetry between Token::* and Expression::*
#
# source://regexp_parser//lib/regexp_parser/syntax/token/escape.rb#31
Regexp::Syntax::Token::EscapeSequence = Regexp::Syntax::Token::Escape
# source://regexp_parser//lib/regexp_parser/syntax/token.rb#11
module Regexp::Syntax::Token::FreeSpace; end
# source://regexp_parser//lib/regexp_parser/syntax/token.rb#12
Regexp::Syntax::Token::FreeSpace::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token.rb#13
Regexp::Syntax::Token::FreeSpace::Type = T.let(T.unsafe(nil), Symbol)
# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#3
module Regexp::Syntax::Token::Group; end
# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#17
Regexp::Syntax::Token::Group::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#8
Regexp::Syntax::Token::Group::Atomic = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#4
Regexp::Syntax::Token::Group::Basic = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#10
Regexp::Syntax::Token::Group::Comment = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#5
Regexp::Syntax::Token::Group::Extended = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#7
Regexp::Syntax::Token::Group::Named = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#9
Regexp::Syntax::Token::Group::Passive = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#18
Regexp::Syntax::Token::Group::Type = T.let(T.unsafe(nil), Symbol)
# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#12
Regexp::Syntax::Token::Group::V1_8_6 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/group.rb#15
Regexp::Syntax::Token::Group::V2_4_1 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/keep.rb#3
module Regexp::Syntax::Token::Keep; end
# source://regexp_parser//lib/regexp_parser/syntax/token/keep.rb#6
Regexp::Syntax::Token::Keep::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/keep.rb#4
Regexp::Syntax::Token::Keep::Mark = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/keep.rb#7
Regexp::Syntax::Token::Keep::Type = T.let(T.unsafe(nil), Symbol)
# source://regexp_parser//lib/regexp_parser/syntax/token.rb#6
module Regexp::Syntax::Token::Literal; end
# source://regexp_parser//lib/regexp_parser/syntax/token.rb#7
Regexp::Syntax::Token::Literal::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token.rb#8
Regexp::Syntax::Token::Literal::Type = T.let(T.unsafe(nil), Symbol)
# source://regexp_parser//lib/regexp_parser/syntax/token.rb#4
Regexp::Syntax::Token::Map = T.let(T.unsafe(nil), Hash)
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#3
module Regexp::Syntax::Token::Meta; end
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#8
Regexp::Syntax::Token::Meta::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#5
Regexp::Syntax::Token::Meta::Alternation = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#4
Regexp::Syntax::Token::Meta::Basic = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#6
Regexp::Syntax::Token::Meta::Extended = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/meta.rb#9
Regexp::Syntax::Token::Meta::Type = T.let(T.unsafe(nil), Symbol)
# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#3
module Regexp::Syntax::Token::PosixClass; end
# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#9
Regexp::Syntax::Token::PosixClass::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#7
Regexp::Syntax::Token::PosixClass::Extensions = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#11
Regexp::Syntax::Token::PosixClass::NonType = T.let(T.unsafe(nil), Symbol)
# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#4
Regexp::Syntax::Token::PosixClass::Standard = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/posix_class.rb#10
Regexp::Syntax::Token::PosixClass::Type = T.let(T.unsafe(nil), Symbol)
# alias for symmetry between token symbol and Token module name
#
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#749
Regexp::Syntax::Token::Property = Regexp::Syntax::Token::UnicodeProperty
# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#3
module Regexp::Syntax::Token::Quantifier; end
# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#29
Regexp::Syntax::Token::Quantifier::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#4
Regexp::Syntax::Token::Quantifier::Greedy = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#22
Regexp::Syntax::Token::Quantifier::Interval = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#26
Regexp::Syntax::Token::Quantifier::IntervalAll = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#24
Regexp::Syntax::Token::Quantifier::IntervalPossessive = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#23
Regexp::Syntax::Token::Quantifier::IntervalReluctant = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#16
Regexp::Syntax::Token::Quantifier::Possessive = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#10
Regexp::Syntax::Token::Quantifier::Reluctant = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#30
Regexp::Syntax::Token::Quantifier::Type = T.let(T.unsafe(nil), Symbol)
# source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#28
Regexp::Syntax::Token::Quantifier::V1_8_6 = T.let(T.unsafe(nil), Array)
# alias for symmetry between token symbol and Token module name
#
# source://regexp_parser//lib/regexp_parser/syntax/token/character_set.rb#14
Regexp::Syntax::Token::Set = Regexp::Syntax::Token::CharacterSet
# Type is the same as Backreference so keeping it here, for now.
#
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#20
module Regexp::Syntax::Token::SubexpressionCall; end
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#24
Regexp::Syntax::Token::SubexpressionCall::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#21
Regexp::Syntax::Token::SubexpressionCall::Name = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/backreference.rb#22
Regexp::Syntax::Token::SubexpressionCall::Number = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token.rb#43
Regexp::Syntax::Token::Types = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#3
module Regexp::Syntax::Token::UnicodeProperty; end
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#64
Regexp::Syntax::Token::UnicodeProperty::Age = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#40
Regexp::Syntax::Token::UnicodeProperty::Age_V1_9_3 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#44
Regexp::Syntax::Token::UnicodeProperty::Age_V2_0_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#46
Regexp::Syntax::Token::UnicodeProperty::Age_V2_2_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#48
Regexp::Syntax::Token::UnicodeProperty::Age_V2_3_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#50
Regexp::Syntax::Token::UnicodeProperty::Age_V2_4_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#52
Regexp::Syntax::Token::UnicodeProperty::Age_V2_5_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#54
Regexp::Syntax::Token::UnicodeProperty::Age_V2_6_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#56
Regexp::Syntax::Token::UnicodeProperty::Age_V2_6_2 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#58
Regexp::Syntax::Token::UnicodeProperty::Age_V2_6_3 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#60
Regexp::Syntax::Token::UnicodeProperty::Age_V3_1_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#62
Regexp::Syntax::Token::UnicodeProperty::Age_V3_2_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#739
Regexp::Syntax::Token::UnicodeProperty::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#13
module Regexp::Syntax::Token::UnicodeProperty::Category; end
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#36
Regexp::Syntax::Token::UnicodeProperty::Category::All = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#33
Regexp::Syntax::Token::UnicodeProperty::Category::Codepoint = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#14
Regexp::Syntax::Token::UnicodeProperty::Category::Letter = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#17
Regexp::Syntax::Token::UnicodeProperty::Category::Mark = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#20
Regexp::Syntax::Token::UnicodeProperty::Category::Number = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#23
Regexp::Syntax::Token::UnicodeProperty::Category::Punctuation = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#30
Regexp::Syntax::Token::UnicodeProperty::Category::Separator = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#27
Regexp::Syntax::Token::UnicodeProperty::Category::Symbol = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#6
Regexp::Syntax::Token::UnicodeProperty::CharType_V1_9_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#9
Regexp::Syntax::Token::UnicodeProperty::CharType_V2_5_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#133
Regexp::Syntax::Token::UnicodeProperty::Derived = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#66
Regexp::Syntax::Token::UnicodeProperty::Derived_V1_9_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#120
Regexp::Syntax::Token::UnicodeProperty::Derived_V2_0_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#125
Regexp::Syntax::Token::UnicodeProperty::Derived_V2_4_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#129
Regexp::Syntax::Token::UnicodeProperty::Derived_V2_5_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#724
Regexp::Syntax::Token::UnicodeProperty::Emoji = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#694
Regexp::Syntax::Token::UnicodeProperty::Emoji_V2_5_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#702
Regexp::Syntax::Token::UnicodeProperty::Emoji_V2_6_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#722
Regexp::Syntax::Token::UnicodeProperty::Enumerated = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#706
Regexp::Syntax::Token::UnicodeProperty::Enumerated_V2_4_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#742
Regexp::Syntax::Token::UnicodeProperty::NonType = T.let(T.unsafe(nil), Symbol)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#11
Regexp::Syntax::Token::UnicodeProperty::POSIX = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#332
Regexp::Syntax::Token::UnicodeProperty::Script = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#135
Regexp::Syntax::Token::UnicodeProperty::Script_V1_9_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#231
Regexp::Syntax::Token::UnicodeProperty::Script_V1_9_3 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#237
Regexp::Syntax::Token::UnicodeProperty::Script_V2_0_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#247
Regexp::Syntax::Token::UnicodeProperty::Script_V2_2_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#273
Regexp::Syntax::Token::UnicodeProperty::Script_V2_3_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#282
Regexp::Syntax::Token::UnicodeProperty::Script_V2_4_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#291
Regexp::Syntax::Token::UnicodeProperty::Script_V2_5_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#298
Regexp::Syntax::Token::UnicodeProperty::Script_V2_6_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#308
Regexp::Syntax::Token::UnicodeProperty::Script_V2_6_2 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#315
Regexp::Syntax::Token::UnicodeProperty::Script_V3_1_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#322
Regexp::Syntax::Token::UnicodeProperty::Script_V3_2_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#741
Regexp::Syntax::Token::UnicodeProperty::Type = T.let(T.unsafe(nil), Symbol)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#692
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#334
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V1_9_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#433
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_0_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#561
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_2_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#596
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_3_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#609
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_4_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#623
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_5_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#633
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_6_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#647
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_6_2 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#659
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V3_1_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#670
Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V3_2_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#726
Regexp::Syntax::Token::UnicodeProperty::V1_9_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#727
Regexp::Syntax::Token::UnicodeProperty::V1_9_3 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#728
Regexp::Syntax::Token::UnicodeProperty::V2_0_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#729
Regexp::Syntax::Token::UnicodeProperty::V2_2_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#730
Regexp::Syntax::Token::UnicodeProperty::V2_3_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#731
Regexp::Syntax::Token::UnicodeProperty::V2_4_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#732
Regexp::Syntax::Token::UnicodeProperty::V2_5_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#733
Regexp::Syntax::Token::UnicodeProperty::V2_6_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#734
Regexp::Syntax::Token::UnicodeProperty::V2_6_2 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#735
Regexp::Syntax::Token::UnicodeProperty::V2_6_3 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#736
Regexp::Syntax::Token::UnicodeProperty::V3_1_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#737
Regexp::Syntax::Token::UnicodeProperty::V3_2_0 = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#12
class Regexp::Syntax::UnknownSyntaxNameError < ::Regexp::Syntax::SyntaxError
# @return [UnknownSyntaxNameError] a new instance of UnknownSyntaxNameError
#
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#13
def initialize(name); end
end
# source://regexp_parser//lib/regexp_parser/syntax/versions/1.8.6.rb#1
class Regexp::Syntax::V1_8_6 < ::Regexp::Syntax::Base; end
# source://regexp_parser//lib/regexp_parser/syntax/versions/1.9.1.rb#1
class Regexp::Syntax::V1_9_1 < ::Regexp::Syntax::V1_8_6; end
# source://regexp_parser//lib/regexp_parser/syntax/versions/1.9.3.rb#1
class Regexp::Syntax::V1_9_3 < ::Regexp::Syntax::V1_9_1; end
# source://regexp_parser//lib/regexp_parser/syntax/versions/2.0.0.rb#1
class Regexp::Syntax::V2_0_0 < ::Regexp::Syntax::V1_9_3; end
# source://regexp_parser//lib/regexp_parser/syntax/versions/2.2.0.rb#1
class Regexp::Syntax::V2_2_0 < ::Regexp::Syntax::V2_0_0; end
# source://regexp_parser//lib/regexp_parser/syntax/versions/2.3.0.rb#1
class Regexp::Syntax::V2_3_0 < ::Regexp::Syntax::V2_2_0; end
# source://regexp_parser//lib/regexp_parser/syntax/versions/2.4.0.rb#1
class Regexp::Syntax::V2_4_0 < ::Regexp::Syntax::V2_3_0; end
# source://regexp_parser//lib/regexp_parser/syntax/versions/2.4.1.rb#1
class Regexp::Syntax::V2_4_1 < ::Regexp::Syntax::V2_4_0; end
# source://regexp_parser//lib/regexp_parser/syntax/versions/2.5.0.rb#1
class Regexp::Syntax::V2_5_0 < ::Regexp::Syntax::V2_4_1; end
# source://regexp_parser//lib/regexp_parser/syntax/versions/2.6.0.rb#1
class Regexp::Syntax::V2_6_0 < ::Regexp::Syntax::V2_5_0; end
# source://regexp_parser//lib/regexp_parser/syntax/versions/2.6.2.rb#1
class Regexp::Syntax::V2_6_2 < ::Regexp::Syntax::V2_6_0; end
# source://regexp_parser//lib/regexp_parser/syntax/versions/2.6.3.rb#1
class Regexp::Syntax::V2_6_3 < ::Regexp::Syntax::V2_6_2; end
# source://regexp_parser//lib/regexp_parser/syntax/versions/3.1.0.rb#1
class Regexp::Syntax::V3_1_0 < ::Regexp::Syntax::V2_6_3; end
# source://regexp_parser//lib/regexp_parser/syntax/versions/3.2.0.rb#1
class Regexp::Syntax::V3_2_0 < ::Regexp::Syntax::V3_1_0; end
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#4
Regexp::Syntax::VERSION_CONST_REGEXP = T.let(T.unsafe(nil), Regexp)
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#2
Regexp::Syntax::VERSION_FORMAT = T.let(T.unsafe(nil), String)
# source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#3
Regexp::Syntax::VERSION_REGEXP = T.let(T.unsafe(nil), Regexp)
# source://regexp_parser//lib/regexp_parser/token.rb#2
Regexp::TOKEN_KEYS = T.let(T.unsafe(nil), Array)
# source://regexp_parser//lib/regexp_parser/token.rb#13
class Regexp::Token < ::Struct
def conditional_level; end
def conditional_level=(_); end
# source://regexp_parser//lib/regexp_parser/token.rb#20
def length; end
def level; end
def level=(_); end
# Returns the value of attribute next.
#
# source://regexp_parser//lib/regexp_parser/token.rb#14
def next; end
# Sets the attribute next
#
# @param value the value to set the attribute next to.
#
# source://regexp_parser//lib/regexp_parser/token.rb#14
def next=(_arg0); end
# source://regexp_parser//lib/regexp_parser/token.rb#16
def offset; end
# Returns the value of attribute previous.
#
# source://regexp_parser//lib/regexp_parser/token.rb#14
def previous; end
# Sets the attribute previous
#
# @param value the value to set the attribute previous to.
#
# source://regexp_parser//lib/regexp_parser/token.rb#14
def previous=(_arg0); end
def set_level; end
def set_level=(_); end
def te; end
def te=(_); end
def text; end
def text=(_); end
def token; end
def token=(_); end
def ts; end
def ts=(_); end
def type; end
def type=(_); end
class << self
def [](*_arg0); end
def inspect; end
def keyword_init?; end
def members; end
def new(*_arg0); end
end
end