public class ASTIdentifier extends SimpleNode
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
identifier |
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 |
---|---|
java.lang.Object |
execute(java.lang.Object o,
InternalContextAdapter context) |
java.lang.String |
getIdentifier()
Identifier getter
|
java.lang.Object |
init(InternalContextAdapter context,
java.lang.Object data)
simple init - don't do anything that is context specific.
|
java.lang.Object |
jjtAccept(ParserVisitor visitor,
java.lang.Object data) |
java.lang.String |
literal()
Returns the string ".identifier".
|
childrenAccept, cleanupParserAndTokens, dump, dump, dump, evaluate, getColumn, getFirstToken, getFirstTokenImage, getInfo, getLastToken, getLastTokenImage, getLine, getLocation, getParser, getRuntimeServices, getTemplate, getTemplateName, getType, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, render, saveTokenImages, setFirstToken, setInfo, setInvalid, toString, toString, value
private java.lang.String identifier
protected Info uberInfo
protected boolean strictRef
public ASTIdentifier(int id)
id
- public ASTIdentifier(Parser p, int id)
p
- id
- public java.lang.String getIdentifier()
public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
jjtAccept
in interface Node
jjtAccept
in class SimpleNode
SimpleNode.jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object)
public java.lang.Object init(InternalContextAdapter context, java.lang.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 java.lang.Object execute(java.lang.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)
public java.lang.String literal()
literal
in interface Node
literal
in class SimpleNode
Node.literal()