7505344a8b
May result in syntactially invalid AST. Currently is a noop.
27 lines
461 B
Ruby
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
|