Sha256: 5ebf1eaffeaf696627bb19ba0e1629fb648c81d4e6ccb42c3ffda1f87222fdd4

Contents?: true

Size: 456 Bytes

Versions: 76

Compression:

Stored size: 456 Bytes

Contents

# frozen_string_literal: true

module Mutant
  class Mutator
    class Node

      # Mutator for super with parentheses
      class Super < self

        handle(:super)

      private

        def dispatch
          emit_singletons
          emit(N_EMPTY_SUPER)
          children.each_index do |index|
            mutate_child(index)
            delete_child(index)
          end
        end

      end # Super
    end # Node
  end # Mutator
end # Mutant

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
mutant-0.12.0 lib/mutant/mutator/node/super.rb
mutant-0.11.34 lib/mutant/mutator/node/super.rb
mutant-0.11.33 lib/mutant/mutator/node/super.rb
mutant-0.11.32 lib/mutant/mutator/node/super.rb
mutant-0.11.31 lib/mutant/mutator/node/super.rb
mutant-0.11.30 lib/mutant/mutator/node/super.rb
mutant-0.11.29 lib/mutant/mutator/node/super.rb
mutant-0.11.28 lib/mutant/mutator/node/super.rb
mutant-0.11.27 lib/mutant/mutator/node/super.rb
mutant-0.11.26 lib/mutant/mutator/node/super.rb
mutant-0.11.25 lib/mutant/mutator/node/super.rb
mutant-0.11.24 lib/mutant/mutator/node/super.rb
mutant-0.11.23 lib/mutant/mutator/node/super.rb
mutant-0.11.22 lib/mutant/mutator/node/super.rb
mutant-0.11.21 lib/mutant/mutator/node/super.rb
mutant-0.11.20 lib/mutant/mutator/node/super.rb
mutant-0.11.19 lib/mutant/mutator/node/super.rb
mutant-0.11.18 lib/mutant/mutator/node/super.rb
mutant-0.11.17 lib/mutant/mutator/node/super.rb
mutant-0.11.16 lib/mutant/mutator/node/super.rb