free_mutant/lib/mutant/mutator/node/masgn.rb

28 lines
462 B
Ruby
Raw Normal View History

module Mutant
class Mutator
class Node
2013-07-22 03:33:35 -04:00
# Mutation emitter to handle multiple 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