|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Node
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 |
---|
static final long serialVersionUID
Method Detail |
---|
void jjtOpen()
void jjtClose()
void jjtSetParent(Node n)
Node jjtGetParent()
void jjtAddChild(Node n)
Node jjtGetChild(int i)
int jjtGetNumChildren()
void interpret()
java.lang.String getError()
void checkContext()
java.lang.Object getRootResult()
void dump(java.lang.String prefix)
void rewrite()
void replaceChildWith(Node old, Node newNode)
java.lang.String getString()
void getAllVariablesinExpression(java.util.Vector<java.lang.String> v)
Node copy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |