eb6ea9a74f
Break some classes, rename stuff etc.
26 lines
422 B
Ruby
26 lines
422 B
Ruby
module Mutant
|
|
class Mutator
|
|
class Node
|
|
|
|
# Mutator for while expressions
|
|
class While < self
|
|
|
|
handle(Rubinius::AST::While)
|
|
|
|
private
|
|
|
|
# Emit mutations
|
|
#
|
|
# @return [undefined]
|
|
#
|
|
# @api private
|
|
#
|
|
def dispatch
|
|
emit_attribute_mutations(:condition)
|
|
emit_attribute_mutations(:body)
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|
|
end
|