Sha256: cd9e62a98bbee3e8c0571be7d6846f4fa1bef6d0d45c8f03c7c5174981afa572
Contents?: true
Size: 609 Bytes
Versions: 1
Compression:
Stored size: 609 Bytes
Contents
# encoding: utf-8 module Mutant class Mutator class Node # Mutation emitter to handle const nodes class Const < self handle(:const) private # Emit mutations # # @return [undefined] # # @api private # def dispatch emit_nil unless parent_type == :const emit_type(nil, *children.drop(1)) children.each_with_index do |child, index| mutate_child(index) if child.kind_of?(Parser::AST::Node) end end end # Const end # Node end # Mutator end # Mutant
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mutant-0.5.18 | lib/mutant/mutator/node/const.rb |