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

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Namespace for send mutators rubocop:disable Metrics/ClassLength

Direct Known Subclasses

AttributeAssignment, Binary, Conditional

Defined Under Namespace

Classes: AttributeAssignment, Binary, Conditional

Constant Summary collapse

SELECTOR_REPLACEMENTS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

IceNine.deep_freeze(
  reverse_map:   %i[map each],
  kind_of?:      %i[instance_of?],
  is_a?:         %i[instance_of?],
  reverse_each:  %i[each],
  reverse_merge: %i[merge],
  map:           %i[each],
  flat_map:      %i[map],
  send:          %i[public_send __send__],
  __send__:      %i[public_send],
  method:        %i[public_method],
  gsub:          %i[sub],
  eql?:          %i[equal?],
  to_s:          %i[to_str],
  to_i:          %i[to_int],
  to_a:          %i[to_ary],
  to_h:          %i[to_hash],
  at:            %i[fetch key?],
  fetch:         %i[key?],
  values_at:     %i[fetch_values],
  :== =>         %i[eql? equal?],
  :>= =>         %i[> == eql? equal?],
  :<= =>         %i[< == eql? equal?],
  :> =>          %i[== eql? equal?],
  :< =>          %i[== eql? equal?]
)
RECEIVER_SELECTOR_REPLACEMENTS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

IceNine.deep_freeze(
  Date: {
    parse: %i[jd civil strptime iso8601 rfc3339 xmlschema rfc2822 rfc822 httpdate jisx0301]
  }
)

Constants included from AST::Types

AST::Types::ALL, AST::Types::ASSIGNABLE_VARIABLES, AST::Types::BINARY_METHOD_OPERATORS, AST::Types::BLACKLIST, AST::Types::GENERATED, 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 inherited from Mutant::Mutator::Node

TAUTOLOGY

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

Constants inherited from Mutant::Mutator

REGISTRY

Instance Attribute Summary

Attributes inherited from Mutant::Mutator

#output

Method Summary

Methods included from AST::NamedChildren

included

Methods inherited from Mutant::Mutator

mutate