Sha256: 2bc0a5c1ae1f6eae3ca36d49f93378039bb688b248391374dd68b2c30b53d12c

Contents?: true

Size: 512 Bytes

Versions: 24

Compression:

Stored size: 512 Bytes

Contents

module Mutant
  class Mutator
    class Node
      # Mutator for multiple assignment left hand side nodes
      class MLHS < self

        handle(:mlhs)

      private

        # Emit mutations
        #
        # @return [undefined]
        #
        # @api private
        #
        def dispatch
          children.each_index do |index|
            mutate_child(index)
            delete_child(index) unless children.one?
          end
        end

      end # MLHS
    end # Node
  end # Mutator
end # Mutant

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
mutant-0.8.0 lib/mutant/mutator/node/mlhs.rb
mutant-0.7.9 lib/mutant/mutator/node/mlhs.rb
mutant-0.7.8 lib/mutant/mutator/node/mlhs.rb
mutant-0.7.7 lib/mutant/mutator/node/mlhs.rb
mutant-0.7.6 lib/mutant/mutator/node/mlhs.rb
mutant-0.7.5 lib/mutant/mutator/node/mlhs.rb
mutant-0.7.4 lib/mutant/mutator/node/mlhs.rb
mutant-0.7.3 lib/mutant/mutator/node/mlhs.rb
mutant-0.7.2 lib/mutant/mutator/node/mlhs.rb
mutant-0.7.1 lib/mutant/mutator/node/mlhs.rb
mutant-0.6.7 lib/mutant/mutator/node/mlhs.rb
mutant-0.6.6 lib/mutant/mutator/node/mlhs.rb
mutant-0.6.5 lib/mutant/mutator/node/mlhs.rb
mutant-0.6.4 lib/mutant/mutator/node/mlhs.rb
mutant-0.6.3 lib/mutant/mutator/node/mlhs.rb
mutant-0.6.2 lib/mutant/mutator/node/mlhs.rb
mutant-0.6.0 lib/mutant/mutator/node/mlhs.rb
mutant-0.5.26 lib/mutant/mutator/node/mlhs.rb
mutant-0.5.25 lib/mutant/mutator/node/mlhs.rb
mutant-0.5.24 lib/mutant/mutator/node/mlhs.rb