free_mutant/lib/mutant/mutator/node/named_value/access.rb

28 lines
493 B
Ruby
Raw Normal View History

module Mutant
class Mutator
class Node
module NamedValue
# Mutation emitter to handle value access nodes
class Access < Node
2013-07-23 02:57:30 -04:00
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