free_mutant/lib/mutant/mutator/node/named_value/access.rb
2013-07-23 00:43:48 -07:00

27 lines
506 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, :const, :self)
private
# Emit mutations
#
# @return [undefined]
#
# @api private
#
def dispatch
emit_nil
end
end # Access
end # NamedValue
end # Node
end # Mutator
end # Mutant