# frozen_string_literal: true module Mutant class Mutator class Node # Mutator for return statements class Return < self handle(:return) children :value private # Emit mutations # # @return [undefined] def dispatch emit_singletons return unless value emit(value) emit_value_mutations end end # Return end # Node end # Mutator end # Mutant