astcentric.structure.transformation
Class AbstractTransformation

java.lang.Object
  extended by astcentric.structure.transformation.AbstractTransformation
All Implemented Interfaces:
Transformation
Direct Known Subclasses:
CreateNode, DeleteNode, MoveNode, RegisterNodeForExport, SetASTName, SetNodeName, SetNodeValue, SetReference

public abstract class AbstractTransformation
extends java.lang.Object
implements Transformation

Abstract super class of all transformations. Carries the AST to be manipulated.


Field Summary
protected  AST _ast
           
 
Constructor Summary
AbstractTransformation(AST ast)
          Creates an instance which will transform the specified AST.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface astcentric.structure.transformation.Transformation
transform, undo
 

Field Detail

_ast

protected final AST _ast
Constructor Detail

AbstractTransformation

public AbstractTransformation(AST ast)
Creates an instance which will transform the specified AST.

Parameters:
ast - A non-null argument.