Class: Mutant::Mutator::Node::Send

Inherits:
Mutant::Mutator::Node show all
Includes:
AST::Types
Defined in:
lib/mutant/mutator/node/send.rb,
lib/mutant/mutator/node/send/index.rb,
lib/mutant/mutator/node/send/binary.rb,
lib/mutant/mutator/node/send/attribute_assignment.rb

Overview

Namespace for send mutators

Direct Known Subclasses

AttributeAssignment, Binary, Index

Defined Under Namespace

Classes: AttributeAssignment, Binary, Index

Constant Summary collapse

SELECTOR_REPLACEMENTS =
IceNine.deep_freeze(
  reverse_map:  [:map, :each],
  reverse_each: [:each],
  map:          [:each],
  send:         [:public_send],
  gsub:         [:sub],
  eql?:         [:equal?],
  :== =>        [:eql?, :equal?]
)

Constants included from AST::Types

AST::Types::ALL, AST::Types::ASSIGNABLE_VARIABLES, AST::Types::BINARY_METHOD_OPERATORS, AST::Types::BLACKLIST, AST::Types::EXTRA, AST::Types::INDEX_ASSIGN_OPERATOR, AST::Types::INDEX_OPERATORS, AST::Types::METHOD_OPERATORS, AST::Types::NOT_ASSIGNABLE, AST::Types::NOT_STANDALONE, AST::Types::OPERATOR_METHODS, AST::Types::OP_ASSIGN, AST::Types::UNARY_METHOD_OPERATORS

Constants included from AST::Nodes

AST::Nodes::N_EMPTY, AST::Nodes::N_EMPTY_SUPER, AST::Nodes::N_FALSE, AST::Nodes::N_INFINITY, AST::Nodes::N_NAN, AST::Nodes::N_NEGATIVE_INFINITY, AST::Nodes::N_NIL, AST::Nodes::N_RAISE, AST::Nodes::N_SELF, AST::Nodes::N_TRUE, AST::Nodes::N_ZSUPER

Instance Attribute Summary

Attributes inherited from Mutant::Mutator

#input, #parent

Method Summary

Methods inherited from Mutant::Mutator::Node

define_named_child

Methods included from AST::NamedChildren

included

Methods inherited from Mutant::Mutator

each