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

28 lines
505 B
Ruby
Raw Normal View History

module Mutant
class Mutator
class Node
module NamedValue
2013-07-23 03:37:19 -04:00
# 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_singletons
end
end # Access
end # NamedValue
end # Node
end # Mutator
end # Mutant