Sha256: dc92a9043527e741e4de3a0b0ed59c1bf16616c8b3e115f3d4b3361bb38f5d60
Contents?: true
Size: 1.02 KB
Versions: 5
Compression:
Stored size: 1.02 KB
Contents
module Mutant class Mutator class Node # Mutator that does not do mutations on ast class Noop < self # Literal references to self do not need to be mutated? handle(:self) # These nodes still need a mutator, your contribution is that close! handle( :zsuper, :not, :or, :and, :defined, :next, :break, :match, :gvar, :cvar, :ensure, :dstr, :dsym, :yield, :rescue, :redo, :defined?, :lvar, :splat, :const, :blockarg, :block_pass, :op_asgn, :regopt, :ivar, :restarg, :casgn, :masgn, :resbody, :retry, :arg_expr, :kwrestarg, :kwoptarg, :kwarg, :undef, :module, :cbase, :empty, :alias, :for, :xstr, :back_ref, :nth_ref, :class, :sclass, :match_with_lvasgn, :match_current_line, :or_asgn ) private # Emit mutations # # @return [undefined] # # @api private # def dispatch end end # Noop end # Node end # Mutator end # Mutant
Version data entries
5 entries across 5 versions & 1 rubygems