Sha256: a8aae46b4c71061c618b9e20e6a09bcd9937cbade2ca65b0646c998c0103280a
Contents?: true
Size: 864 Bytes
Versions: 26
Compression:
Stored size: 864 Bytes
Contents
module Mutant class Mutator class Node module NamedValue # Mutation emitter to handle constant assignment nodes class ConstantAssignment < Node children :cbase, :name, :value handle :casgn private # Perform dispatch # # @return [undefined] # # @api private # def dispatch mutate_name emit_value_mutations if value end # Emit name mutations # # @return [undefined] # # @api private # def mutate_name Mutator::Util::Symbol.each(name, self) do |name| emit_name(name.upcase) end end end # ConstantAssignment end # NamedValue end # Node end # Mutator end # Mutant
Version data entries
26 entries across 26 versions & 1 rubygems