Sha256: 720659b1a738ca7491fd9fe3d1c10161e8ab9b1e61caa7fb1a51a5fda87ce986

Contents?: true

Size: 422 Bytes

Versions: 6

Compression:

Stored size: 422 Bytes

Contents

module Mutant
  class Mutator
    class Node

      # Mutator for while expressions
      class While < self

        handle(Rubinius::AST::While)

      private

        # Emit mutations
        #
        # @return [undefined]
        #
        # @api private
        #
        def dispatch
          emit_attribute_mutations(:condition)
          emit_attribute_mutations(:body)
        end

      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mutant-0.2.20 lib/mutant/mutator/node/while.rb
mutant-0.2.17 lib/mutant/mutator/node/while.rb
mutant-0.2.16 lib/mutant/mutator/node/while.rb
mutant-0.2.15 lib/mutant/mutator/node/while.rb
mutant-0.2.14 lib/mutant/mutator/node/while.rb
mutant-0.2.13 lib/mutant/mutator/node/while.rb