Dresden OCL Toolkit

tudresden.ocl.parser.node
Class Node

java.lang.Object
  extended bytudresden.ocl.parser.node.Node
All Implemented Interfaces:
Cloneable, Switchable
Direct Known Subclasses:
PActualParameterList, PActualParameterListTail, PAdditiveExpression, PAdditiveExpressionTail, PAddOperator, PClassifierContext, PClassifierHead, PCollectionKind, PCollectionType, PConstraint, PConstraintBody, PContextBody, PContextDeclaration, PDeclarator, PDeclaratorTail, PDeclaratorTypeDeclaration, PEnumerationType, PEnumerationTypeTail, PExpression, PExpressionListOrRange, PExpressionListOrRangeTail, PExpressionListTail, PFcpHelper, PFeatureCall, PFeatureCallParameters, PFormalParameter, PFormalParameterList, PFormalParameterListTail, PIfExpression, PLetExpression, PLetExpressionTypeDeclaration, PLiteral, PLiteralCollection, PLogicalExpression, PLogicalExpressionTail, PLogicalOperator, PMultiplicativeExpression, PMultiplicativeExpressionTail, PMultiplyOperator, POperationContext, PPathName, PPathNameBegin, PPathNameEnd, PPathNameTail, PPathTypeName, PPathTypeNameTail, PPostfixExpression, PPostfixExpressionTail, PPostfixExpressionTailBegin, PPrimaryExpression, PQualifiers, PRelationalExpression, PRelationalExpressionTail, PRelationalOperator, PReturnTypeDeclaration, PSimpleTypeSpecifier, PStereotype, PTimeExpression, PTypeName, PUnaryExpression, PUnaryOperator, Start, Token, XPActualParameterListTail, XPAdditiveExpressionTail, XPConstraintBody, XPDeclaratorTail, XPEnumerationTypeTail, XPExpressionListTail, XPFcpHelper, XPFormalParameterListTail, XPLetExpression, XPLogicalExpressionTail, XPMultiplicativeExpressionTail, XPPathNameTail, XPPathTypeNameTail, XPPostfixExpressionTail

public abstract class Node
extends Object
implements Switchable, Cloneable


Field Summary
private  Node parent
           
 
Constructor Summary
Node()
           
 
Method Summary
abstract  Object clone()
           
protected  List cloneList(List list)
           
protected  Node cloneNode(Node node)
           
 Node parent()
           
(package private)  void parent(Node parent)
           
(package private) abstract  void removeChild(Node child)
           
 void replaceBy(Node node)
           
(package private) abstract  void replaceChild(Node oldChild, Node newChild)
           
protected  String toString(List list)
           
protected  String toString(Node node)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface tudresden.ocl.parser.node.Switchable
apply
 

Field Detail

parent

private Node parent
Constructor Detail

Node

public Node()
Method Detail

clone

public abstract Object clone()

parent

public Node parent()

parent

void parent(Node parent)

removeChild

abstract void removeChild(Node child)

replaceChild

abstract void replaceChild(Node oldChild,
                           Node newChild)

replaceBy

public void replaceBy(Node node)

toString

protected String toString(Node node)

toString

protected String toString(List list)

cloneNode

protected Node cloneNode(Node node)

cloneList

protected List cloneList(List list)

Dresden OCL Toolkit

Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.