2013-07-24 00:58:10 -04:00
|
|
|
module Mutant
|
|
|
|
class Mutator
|
|
|
|
class Node
|
|
|
|
|
2013-07-28 16:25:43 -04:00
|
|
|
# Mutation emitter to handle noop nodes
|
|
|
|
class Noop < self
|
2013-07-24 00:58:10 -04:00
|
|
|
|
2013-07-28 16:25:43 -04:00
|
|
|
handle(:block_pass, :cbase)
|
2013-07-24 00:58:10 -04:00
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
# Emit mutations
|
|
|
|
#
|
|
|
|
# @return [undefined]
|
|
|
|
#
|
|
|
|
# @api private
|
|
|
|
#
|
|
|
|
def dispatch
|
2013-07-28 16:25:43 -04:00
|
|
|
# noop
|
2013-07-24 00:58:10 -04:00
|
|
|
end
|
|
|
|
|
2013-07-28 16:25:43 -04:00
|
|
|
end # Noop
|
2013-07-24 00:58:10 -04:00
|
|
|
end # Node
|
|
|
|
end # Mutator
|
|
|
|
end # Mutant
|