Class: Mutant::Mutator::Node::NamedValue::Access::Ivar

Inherits:
Mutant::Mutator::Node::NamedValue::Access show all
Defined in:
lib/mutant/mutator/node/named_value/access.rb

Overview

Named value access emitter for instance variables

Constant Summary collapse

NAME_RANGE =
(1..-1).freeze

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

#input, #parent

Instance Method Summary collapse

Methods included from AST::NamedChildren

included

Methods inherited from Mutant::Mutator

each

Instance Method Details

#dispatchundefined

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

Emit mutations

Returns:

  • (undefined)


35
36
37
38
# File 'lib/mutant/mutator/node/named_value/access.rb', line 35

def dispatch
  emit_attribute_read
  super()
end