free_mutant/lib/mutant/mutator/node/named_value/access.rb
2013-07-22 23:57:30 -07:00

27 lines
493 B
Ruby

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