free_mutant/lib/mutant/mutator/node/named_value/access.rb
Dan Kubb 345b67144a Add const mutator
* The const node has children, which need to be mutated
2013-07-23 21:57:39 -07:00

27 lines
498 B
Ruby

module Mutant
class Mutator
class Node
module NamedValue
# Mutation emitter to handle named value access nodes
class Access < Node
handle(:gvar, :cvar, :ivar, :lvar, :self)
private
# Emit mutations
#
# @return [undefined]
#
# @api private
#
def dispatch
emit_nil
end
end # Access
end # NamedValue
end # Node
end # Mutator
end # Mutant