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