Class: Mutant::Context Private

Inherits:
Object
  • Object
show all
Includes:
AbstractType, Adamantium::Flat
Defined in:
lib/mutant/context.rb,
lib/mutant/context/scope.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.

An abstract context where mutations can be applied to.

Direct Known Subclasses

Scope

Defined Under Namespace

Classes: Scope

Instance Method Summary collapse

Instance Method Details

#identificationString

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.

Identification string

Returns:

  • (String)


16
# File 'lib/mutant/context.rb', line 16

abstract_method :identification

#rootParser::AST::Node

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.

Root ast node

Parameters:

  • node (Parser::AST::Node)

Returns:

  • (Parser::AST::Node)


11
# File 'lib/mutant/context.rb', line 11

abstract_method :root