Class: Mutant::Context

Inherits:
Object
  • Object
show all
Includes:
AbstractType, Adamantium::Flat
Defined in:
lib/mutant/context.rb,
lib/mutant/context/scope.rb

Overview

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.

Return identification

Returns:

  • (String)


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

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.

Return root ast node

Parameters:

  • node (Parser::AST::Node)

Returns:

  • (Parser::AST::Node)


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

abstract_method :root