public class ASTMethod extends SimpleNode
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
methodName |
private int |
paramCount |
| Constructor and Description |
|---|
ASTMethod(int id) |
ASTMethod(Parser p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
execute(java.lang.Object o,
InternalContextAdapter context)
invokes the method.
|
java.lang.Object |
init(InternalContextAdapter context,
java.lang.Object data)
simple init - init our subtree and get what we can from
the AST
|
java.lang.Object |
jjtAccept(ParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
childrenAccept, dump, evaluate, getColumn, getFirstToken, getInfo, getLastToken, getLine, getType, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, render, setFirstToken, setInfo, setInvalid, toString, valuepublic ASTMethod(int id)
public ASTMethod(Parser p, int id)
public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
jjtAccept in interface NodejjtAccept in class SimpleNodepublic java.lang.Object init(InternalContextAdapter context, java.lang.Object data) throws java.lang.Exception
init in interface Nodeinit in class SimpleNodejava.lang.Exceptionpublic java.lang.Object execute(java.lang.Object o,
InternalContextAdapter context)
throws MethodInvocationException
execute in interface Nodeexecute in class SimpleNodeMethodInvocationExceptionCopyright ? 2002 Apache Software Foundation. All Rights Reserved.