free_mutant/lib/mutant/mutator/node/literal/symbol.rb
Tim Chambers e90e9e1ea4 Correct miscellaneous typos
Mostly comments
2014-11-22 11:16:07 -08:00

33 lines
626 B
Ruby

module Mutant
class Mutator
class Node
class Literal < self
# Mutator for symbol literals
class Symbol < self
handle(:sym)
children :value
PREFIX = '__mutant__'.freeze
private
# Emit mutants
#
# @return [undefined]
#
# @api private
#
def dispatch
emit_singletons
Mutator::Util::Symbol.each(value, self) do |value|
emit_type(value)
end
end
end # Symbol
end # Literal
end # Node
end # Mutator
end # Mutant