|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
All AST nodes must implement this interface. It provides basic machinery for constructing the parent and child relationships between nodes.
Method Summary | |
java.lang.Object |
childrenAccept(ParserVisitor visitor,
java.lang.Object data)
|
boolean |
evaluate(InternalContextAdapter context)
|
java.lang.Object |
execute(java.lang.Object o,
InternalContextAdapter context)
|
int |
getColumn()
|
Token |
getFirstToken()
|
int |
getInfo()
|
Token |
getLastToken()
|
int |
getLine()
|
int |
getType()
|
java.lang.Object |
init(InternalContextAdapter context,
java.lang.Object data)
|
boolean |
isInvalid()
|
java.lang.Object |
jjtAccept(ParserVisitor visitor,
java.lang.Object data)
Accept the visitor. |
void |
jjtAddChild(Node n,
int i)
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. |
java.lang.String |
literal()
|
boolean |
render(InternalContextAdapter context,
java.io.Writer writer)
|
void |
setInfo(int info)
|
void |
setInvalid()
|
java.lang.Object |
value(InternalContextAdapter context)
|
Method Detail |
public void jjtOpen()
public void jjtClose()
public void jjtSetParent(Node n)
public Node jjtGetParent()
public void jjtAddChild(Node n, int i)
public Node jjtGetChild(int i)
public int jjtGetNumChildren()
public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
public java.lang.Object childrenAccept(ParserVisitor visitor, java.lang.Object data)
public Token getFirstToken()
public Token getLastToken()
public int getType()
public java.lang.Object init(InternalContextAdapter context, java.lang.Object data) throws java.lang.Exception
public boolean evaluate(InternalContextAdapter context) throws MethodInvocationException
public java.lang.Object value(InternalContextAdapter context) throws MethodInvocationException
public boolean render(InternalContextAdapter context, java.io.Writer writer) throws java.io.IOException, MethodInvocationException, ParseErrorException, ResourceNotFoundException
public java.lang.Object execute(java.lang.Object o, InternalContextAdapter context) throws MethodInvocationException
public void setInfo(int info)
public int getInfo()
public java.lang.String literal()
public void setInvalid()
public boolean isInvalid()
public int getLine()
public int getColumn()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |