Class: Mutant::Mutator::Node::Send::Index::Assign

Inherits:
Mutant::Mutator::Node::Send::Index show all
Defined in:
lib/mutant/mutator/node/send/index.rb

Overview

Mutator for index assignments

Constant Summary collapse

INDEX_RANGE =
(2..-2).freeze

Constants inherited from Mutant::Mutator::Node::Send

SELECTOR_REPLACEMENTS

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 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

Instance Attribute Summary

Attributes inherited from Mutant::Mutator

#input, #parent

Method Summary

Methods included from AST::NamedChildren

included

Methods inherited from Mutant::Mutator

each