Class: Mutant::Mutator::Node::Literal

Inherits:
Mutant::Mutator::Node show all
Includes:
AbstractType
Defined in:
lib/mutant/mutator/node/literal.rb,
lib/mutant/mutator/node/literal/nil.rb,
lib/mutant/mutator/node/literal/hash.rb,
lib/mutant/mutator/node/literal/array.rb,
lib/mutant/mutator/node/literal/float.rb,
lib/mutant/mutator/node/literal/range.rb,
lib/mutant/mutator/node/literal/regex.rb,
lib/mutant/mutator/node/literal/fixnum.rb,
lib/mutant/mutator/node/literal/string.rb,
lib/mutant/mutator/node/literal/symbol.rb,
lib/mutant/mutator/node/literal/boolean.rb

Overview

Abstract mutator for literal AST nodes

Direct Known Subclasses

Array, Boolean, Fixnum, Float, Hash, Nil, Range, Regex, String, Symbol

Defined Under Namespace

Classes: Array, Boolean, Fixnum, Float, Hash, Nil, Range, Regex, String, Symbol

Constant Summary

Constants included from NodeHelpers

NodeHelpers::INFINITY, NodeHelpers::NAN, NodeHelpers::NEGATIVE_INFINITY, NodeHelpers::N_EMPTY, NodeHelpers::N_FALSE, NodeHelpers::N_NIL, NodeHelpers::N_SELF, NodeHelpers::N_TRUE, NodeHelpers::RAISE

Instance Attribute Summary

Attributes inherited from Mutant::Mutator

#input, #parent

Method Summary

Methods included from NodeHelpers

#n_not, s

Methods inherited from Mutant::Mutator

each