Sha256: 13096f5e5d61bb58b20fd0755036c7f1386d05bbaebb9c1ea558056613d9b374
Contents?: true
Size: 810 Bytes
Versions: 3
Compression:
Stored size: 810 Bytes
Contents
module Mutest class Mutator class Node class Literal # Abstract literal range mutator class Range < self MAP = { irange: :erange, erange: :irange }.freeze children :lower_bound, :upper_bound handle(*MAP.keys) private # Emit mutations # # @return [undefined] def dispatch emit_singletons emit_inverse emit_lower_bound_mutations emit_upper_bound_mutations end # Inverse node # # @return [undefined] def emit_inverse emit(s(MAP.fetch(node.type), *children)) end end # Range end # Literal end # Node end # Mutator end # Mutest
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mutest-0.0.9 | lib/mutest/mutator/node/literal/range.rb |
mutest-0.0.8 | lib/mutest/mutator/node/literal/range.rb |
mutest-0.0.7 | lib/mutest/mutator/node/literal/range.rb |