Sha256: 9178b04070cae5417c93ca018fcfd26fcbc7085445db606219a30b81c5657b8d

Contents?: true

Size: 626 Bytes

Versions: 10

Compression:

Stored size: 626 Bytes

Contents

module Mutant
  class Mutator
    class Node
      class Literal < self
        # Mutator for symbol literals
        class Symbol < self

          handle(:sym)

          children :value

          PREFIX = '__mutant__'.freeze

        private

          # Emit mutants
          #
          # @return [undefined]
          #
          # @api private
          #
          def dispatch
            emit_singletons
            Mutator::Util::Symbol.each(value, self) do |value|
              emit_type(value)
            end
          end

        end # Symbol
      end # Literal
    end # Node
  end # Mutator
end # Mutant

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mutant-0.8.0 lib/mutant/mutator/node/literal/symbol.rb
mutant-0.7.9 lib/mutant/mutator/node/literal/symbol.rb
mutant-0.7.8 lib/mutant/mutator/node/literal/symbol.rb
mutant-0.7.7 lib/mutant/mutator/node/literal/symbol.rb
mutant-0.7.6 lib/mutant/mutator/node/literal/symbol.rb
mutant-0.7.5 lib/mutant/mutator/node/literal/symbol.rb
mutant-0.7.4 lib/mutant/mutator/node/literal/symbol.rb
mutant-0.7.3 lib/mutant/mutator/node/literal/symbol.rb
mutant-0.7.2 lib/mutant/mutator/node/literal/symbol.rb
mutant-0.7.1 lib/mutant/mutator/node/literal/symbol.rb