Sha256: 438d79f7b8157969ba2329399d8a0f798e880750906b1ac30583914400d38aa9
Contents?: true
Size: 542 Bytes
Versions: 8
Compression:
Stored size: 542 Bytes
Contents
module Mutest class Mutator class Node # OrAsgn mutator class OrAsgn < self handle(:or_asgn) children :left, :right private # Emit mutations # # @return [undefined] def dispatch emit_singletons emit_right_mutations return if n_ivasgn?(left) emit_left_mutations do |node| AST::Types::ASSIGNABLE_VARIABLES.include?(node.type) end end end # OrAsgn end # Node end # Mutator end # Mutest
Version data entries
8 entries across 8 versions & 1 rubygems