Class: Mutant::AST::Regexp::Transformer::Text::ASTToExpression Private
- Inherits:
-
ASTToExpression
- Object
- ASTToExpression
- Mutant::AST::Regexp::Transformer::Text::ASTToExpression
- Includes:
- LookupTable
- Defined in:
- lib/mutant/ast/regexp/transformer/text.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Mapper from ‘Parser::AST::Node` to `Regexp::Expression`
Constant Summary collapse
- TABLE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
rubocop:disable Layout/LineLength
Table.create( [:regexp_literal_literal, %i[literal literal], ::Regexp::Expression::Literal], [:regexp_comment_group, %i[group comment], ::Regexp::Expression::Group::Comment], [:regexp_number_backref, %i[backref number], ::Regexp::Expression::Backreference::Number], [:regexp_name_call_backref, %i[backref name_call], ::Regexp::Expression::Backreference::NameCall], [:regexp_whitespace_free_space, %i[free_space whitespace], ::Regexp::Expression::WhiteSpace], [:regexp_comment_free_space, %i[free_space comment], ::Regexp::Expression::WhiteSpace], [:regexp_hex_escape, %i[escape hex], ::Regexp::Expression::EscapeSequence::Hex], [:regexp_octal_escape, %i[escape octal], ::Regexp::Expression::EscapeSequence::Octal], [:regexp_literal_escape, %i[escape literal], ::Regexp::Expression::EscapeSequence::Literal], [:regexp_backslash_escape, %i[escape backslash], ::Regexp::Expression::EscapeSequence::Literal], [:regexp_tab_escape, %i[escape tab], ::Regexp::Expression::EscapeSequence::Literal], [:regexp_codepoint_list_escape, %i[escape codepoint_list], ::Regexp::Expression::EscapeSequence::CodepointList], [:regexp_codepoint_escape, %i[escape codepoint], ::Regexp::Expression::EscapeSequence::Codepoint], [:regexp_control_escape, %i[escape control], ::Regexp::Expression::EscapeSequence::Control], [:regexp_meta_sequence_escape, %i[escape meta_sequence], ::Regexp::Expression::EscapeSequence::Control], [:regexp_condition_conditional, %i[conditional condition], ::Regexp::Expression::Conditional::Condition] )