public class ASTMethod extends SimpleNode
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ASTMethod.MethodCacheKey
Internal class used as key for method cache.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
strictRef
Indicates if we are running in strict reference mode.
|
protected Info |
uberInfo |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
execute(java.lang.Object o,
InternalContextAdapter context)
invokes the method.
|
java.lang.String |
getMethodName() |
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) |
childrenAccept, dump, evaluate, getChildren, getColumn, getFirstToken, getInfo, getLastToken, getLine, getLocation, getRuntimeServices, getTemplateName, getType, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, render, setFirstToken, setInfo, setInvalid, toString, toString, valueprotected Info uberInfo
protected boolean strictRef
public ASTMethod(int id)
id - public ASTMethod(Parser p, int id)
p - id - public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
jjtAccept 在接口中 NodejjtAccept 在类中 SimpleNodeSimpleNode.jjtAccept(bboss.org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object)public java.lang.Object init(InternalContextAdapter context, java.lang.Object data) throws TemplateInitException
init 在接口中 Nodeinit 在类中 SimpleNodecontext - data - TemplateInitExceptionNode.init(bboss.org.apache.velocity.context.InternalContextAdapter, java.lang.Object)public java.lang.Object execute(java.lang.Object o,
InternalContextAdapter context)
throws MethodInvocationException
execute 在接口中 Nodeexecute 在类中 SimpleNodeo - context - MethodInvocationExceptionNode.execute(java.lang.Object, bboss.org.apache.velocity.context.InternalContextAdapter)public java.lang.String getMethodName()