Class: Mutant::AST::Regexp::Transformer::ASTToExpression Private

Inherits:
Object
  • Object
show all
Includes:
Procto, Unparser::AbstractType, Unparser::Adamantium
Defined in:
lib/mutant/ast/regexp/transformer.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.

Abstract node transformer

Instance Method Summary collapse

Methods included from Procto

included

Instance Method Details

#callRegexp::Expression

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.

Call generic transform method and freeze result

Returns:

  • (Regexp::Expression)


84
85
86
# File 'lib/mutant/ast/regexp/transformer.rb', line 84

def call
  transform.freeze
end