public class ASTIdentifier extends SimpleNode
Modifier and Type | Field and Description |
---|---|
protected boolean |
strictRef
Indicates if we are running in strict reference mode.
|
protected Info |
uberInfo
This is really immutable after the init, so keep one for this node
|
Constructor and Description |
---|
ASTIdentifier(int id) |
ASTIdentifier(Parser p,
int id) |
Modifier and Type | Method and Description |
---|---|
Object |
execute(Object o,
InternalContextAdapter context) |
String |
getIdentifier()
Identifier getter
|
Object |
init(InternalContextAdapter context,
Object data)
simple init - don't do anything that is context specific.
|
Object |
jjtAccept(ParserVisitor visitor,
Object data) |
childrenAccept, cleanupParserAndTokens, dump, dump, dump, evaluate, getColumn, getFirstToken, getFirstTokenImage, getInfo, getLastToken, getLastTokenImage, getLine, getLocation, getRuntimeServices, getTemplate, getTemplateName, getType, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, render, saveTokenImages, setFirstToken, setInfo, setInvalid, toString, toString, value
protected Info uberInfo
protected boolean strictRef
public ASTIdentifier(int id)
id
- public ASTIdentifier(Parser p, int id)
p
- id
- public String getIdentifier()
public Object jjtAccept(ParserVisitor visitor, Object data)
jjtAccept
in interface Node
jjtAccept
in class SimpleNode
SimpleNode.jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object)
public Object init(InternalContextAdapter context, Object data) throws TemplateInitException
init
in interface Node
init
in class SimpleNode
context
- data
- TemplateInitException
Node.init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)
public Object execute(Object o, InternalContextAdapter context) throws MethodInvocationException
execute
in interface Node
execute
in class SimpleNode
MethodInvocationException
SimpleNode.execute(java.lang.Object, org.apache.velocity.context.InternalContextAdapter)
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.