free_mutant/lib/mutant/mutator/node/masgn.rb
Markus Schirp 7505344a8b Handle masgn outside of generic mutator
May result in syntactially invalid AST.
Currently is a noop.
2013-07-05 13:48:13 +02:00

27 lines
461 B
Ruby

module Mutant
class Mutator
class Node
# Mutation emitter to handle multipl assignment nodes
class MultipleAssignment < self
handle(:masgn)
children :left, :right
private
# Perform dispatch
#
# @return [undefined]
#
# @api private
#
def dispatch
# noop, for now
end
end # MultipleAssignment
end # Node
end # Mutator
end # Mutant