lib/mutest/ast/regexp/transformer.rb
def quantify(node)
            return node unless expression.quantified?

            Quantifier.to_ast(expression.quantifier).append(node)
          end
# Wrap provided node in a quantifier
#
# @param node [Parser::AST::Node]
#
# @return [Parser::AST::Node]
#   quantifier node wrapping provided node if expression is quantified
#
# @return [Parser::AST::Node]
#   original node otherwise
Wrap provided node in a quantifier
Wrap provided node in a quantifier
def quantify(node)
            return node unless expression.quantified?
            Quantifier.to_ast(expression.quantifier).append(node)
          end
def quantify ( node ) return node unless expression . quantified? Quantifier . to_ast ( expression . quantifier ) . append ( node ) end
Wrap provided node in a quantifier
Wrap provided node in a quantifier
quantifier node wrapping provided node if expression is quantified
quantifier node wrapping provided node if expression is quantified
Parser::AST::Node
original node otherwise
original node otherwise
Parser::AST::Node
node
None