agg.attribute.parser.javaExpr
Interface Node

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ASTAction, ASTAddNode, ASTAllocationExpression, ASTAndNode, ASTArrayAllocation, ASTArrayIndex, ASTBitwiseAndNode, ASTBitwiseComplNode, ASTBitwiseOrNode, ASTBitwiseXorNode, ASTCharConstNode, ASTClassName, ASTCondExpr, ASTDivNode, ASTEmptyDimension, ASTEQNode, ASTExpression, ASTFalseNode, ASTField, ASTFloatConstNode, ASTGENode, ASTGTNode, ASTId, ASTIntConstNode, ASTLENode, ASTLTNode, ASTMemberName, ASTMethod, ASTModNode, ASTMulNode, ASTNegNode, ASTNENode, ASTNotNode, ASTNullLiteral, ASTOrNode, ASTPrimaryExpression, ASTStringConstNode, ASTSubtractNode, ASTTrueNode, BoolNode, BOOLtoBOOLnode, BOOLxBOOLtoBOOLnode, MemberNode, NUMtoNUMnode, NUMxNUMtoBOOLnode, NUMxNUMtoNUMnode, ObjectConstNode, OpMemberNode, SimpleNode, TYPE1xTYPE1toBOOL

public interface Node
extends java.io.Serializable


Field Summary
static long serialVersionUID
           
 
Method Summary
 void checkContext()
          Finding the type and checking for consistency.
 Node copy()
          Copy the abstract syntax tree
 void dump(java.lang.String prefix)
           
 void getAllVariablesinExpression(java.util.Vector<java.lang.String> v)
          fills the vector with the names of all variables which occur in this abstract syntax tree
 java.lang.String getError()
          This method returns an error string, if interpretting is failed
 java.lang.Object getRootResult()
           
 java.lang.String getString()
          returns this node as a string with all children.
 void interpret()
          Interpret method
 void jjtAddChild(Node n)
          This method tells the node to add its argument to the node's list of children.
 void jjtClose()
          This method is called after all the child nodes have been added.
 Node jjtGetChild(int i)
          This method returns a child node.
 int jjtGetNumChildren()
          Return the number of children the node has.
 Node jjtGetParent()
           
 void jjtOpen()
          This method is called after the node has been made the current node.
 void jjtSetParent(Node n)
          This pair of methods are used to inform the node of its parent.
 void replaceChildWith(Node old, Node newNode)
           
 void rewrite()
           
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Method Detail

jjtOpen

void jjtOpen()
This method is called after the node has been made the current node. It indicates that child nodes can now be added to it.


jjtClose

void jjtClose()
This method is called after all the child nodes have been added.


jjtSetParent

void jjtSetParent(Node n)
This pair of methods are used to inform the node of its parent.


jjtGetParent

Node jjtGetParent()

jjtAddChild

void jjtAddChild(Node n)
This method tells the node to add its argument to the node's list of children.


jjtGetChild

Node jjtGetChild(int i)
This method returns a child node. The children are numbered from zero, left to right.


jjtGetNumChildren

int jjtGetNumChildren()
Return the number of children the node has.


interpret

void interpret()
Interpret method


getError

java.lang.String getError()
This method returns an error string, if interpretting is failed


checkContext

void checkContext()
Finding the type and checking for consistency.


getRootResult

java.lang.Object getRootResult()

dump

void dump(java.lang.String prefix)

rewrite

void rewrite()

replaceChildWith

void replaceChildWith(Node old,
                      Node newNode)

getString

java.lang.String getString()
returns this node as a string with all children.


getAllVariablesinExpression

void getAllVariablesinExpression(java.util.Vector<java.lang.String> v)
fills the vector with the names of all variables which occur in this abstract syntax tree


copy

Node copy()
Copy the abstract syntax tree