Class: Mutant::AST::Regexp::Transformer::Direct::ExpressionToAST Private

Inherits:
ExpressionToAST
  • Object
show all
Defined in:
lib/mutant/ast/regexp/transformer/direct.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 ‘Regexp::Expression` to `Parser::AST::Node`

Constant Summary

Constants inherited from ExpressionToAST

ExpressionToAST::PREFIX

Instance Method Summary collapse

Methods included from Procto

included

Instance Method Details

#callParser::AST::Node

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Transform expression into node

Returns:

  • (Parser::AST::Node)


30
31
32
# File 'lib/mutant/ast/regexp/transformer/direct.rb', line 30

def call
  quantify(ast)
end