Class: Mutest::Mutator::Node::Regexp::RootExpression Private

Inherits:
Mutest::Mutator::Node show all
Defined in:
lib/mutest/mutator/node/regexp.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.

Mutator for root expression regexp wrapper

Constant Summary

Constants inherited from Mutest::Mutator::Node

TAUTOLOGY

Constants included from AST::Nodes

AST::Nodes::N_EMPTY, AST::Nodes::N_EMPTY_SUPER, AST::Nodes::N_FALSE, AST::Nodes::N_INFINITY, AST::Nodes::N_NAN, AST::Nodes::N_NEGATIVE_INFINITY, AST::Nodes::N_NIL, AST::Nodes::N_RAISE, AST::Nodes::N_SELF, AST::Nodes::N_TRUE, AST::Nodes::N_ZSUPER

Constants inherited from Mutest::Mutator

REGISTRY

Instance Attribute Summary

Attributes inherited from Mutest::Mutator

#output

Instance Method Summary collapse

Methods included from AST::NamedChildren

included

Methods inherited from Mutest::Mutator

mutate

Instance Method Details

#dispatchundefined

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.

Emit mutations for children of root node

Returns:

  • (undefined)


12
13
14
# File 'lib/mutest/mutator/node/regexp.rb', line 12

def dispatch
  children.each_index(&method(:mutate_child))
end