Sha256: 090ac8292ae492bd19f8c1e2a98522665677dffd9241e02d4b2addff4459941c

Contents?: true

Size: 479 Bytes

Versions: 11

Compression:

Stored size: 479 Bytes

Contents

module Mutant
  class Mutator
    class Node

      # Mutator for while expressions
      class While < self

        handle(:while)

        children :condition, :body

      private

        # Emit mutations
        #
        # @return [undefined]
        #
        # @api private
        #
        def dispatch
          emit_condition_mutations
          emit_body_mutations
          emit_body(nil)
        end

      end # While
    end # Node
  end # Mutator
end # Mutant

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mutant-0.3.0.beta21 lib/mutant/mutator/node/while.rb
mutant-0.3.0.beta20 lib/mutant/mutator/node/while.rb
mutant-0.3.0.beta19 lib/mutant/mutator/node/while.rb
mutant-0.3.0.beta18 lib/mutant/mutator/node/while.rb
mutant-0.3.0.beta17 lib/mutant/mutator/node/while.rb
mutant-0.3.0.beta16 lib/mutant/mutator/node/while.rb
mutant-0.3.0.beta15 lib/mutant/mutator/node/while.rb
mutant-0.3.0.beta14 lib/mutant/mutator/node/while.rb
mutant-0.3.0.beta13 lib/mutant/mutator/node/while.rb
mutant-0.3.0.beta12 lib/mutant/mutator/node/while.rb
mutant-0.3.0.beta11 lib/mutant/mutator/node/while.rb