Module: Regexp::Syntax::Token

Included in:
Base
Defined in:
lib/regexp_parser/syntax/token.rb,
lib/regexp_parser/syntax/token.rb,
lib/regexp_parser/syntax/token/keep.rb,
lib/regexp_parser/syntax/token/meta.rb,
lib/regexp_parser/syntax/token/group.rb,
lib/regexp_parser/syntax/token/anchor.rb,
lib/regexp_parser/syntax/token/escape.rb,
lib/regexp_parser/syntax/token/virtual.rb,
lib/regexp_parser/syntax/token/assertion.rb,
lib/regexp_parser/syntax/token/quantifier.rb,
lib/regexp_parser/syntax/token/conditional.rb,
lib/regexp_parser/syntax/token/posix_class.rb,
lib/regexp_parser/syntax/token/backreference.rb,
lib/regexp_parser/syntax/token/character_set.rb,
lib/regexp_parser/syntax/token/character_type.rb,
lib/regexp_parser/syntax/token/unicode_property.rb

Defined Under Namespace

Modules: Alternation, Anchor, Assertion, Backreference, CharacterSet, CharacterType, Conditional, Escape, FreeSpace, Group, Keep, Literal, Meta, PosixClass, Quantifier, SubexpressionCall, UnicodeProperty, Virtual

Constant Summary collapse

Map =
{}
All =
Map.values.flatten.uniq.sort.freeze
Types =
Map.keys.freeze
EscapeSequence =

alias for symmetry between Token::* and Expression::*

Escape
Backref =

alias for symmetry between token symbol and Expression class name

Backreference
Set =

alias for symmetry between token symbol and Token module name

CharacterSet
Property =

alias for symmetry between token symbol and Token module name

UnicodeProperty