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) |
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, valueprotected 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 NodejjtAccept in class SimpleNodeSimpleNode.jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object)public Object init(InternalContextAdapter context, Object data) throws TemplateInitException
init in interface Nodeinit in class SimpleNodecontext - data - TemplateInitExceptionNode.init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)public Object execute(Object o, InternalContextAdapter context) throws MethodInvocationException
execute in interface Nodeexecute in class SimpleNodeMethodInvocationExceptionSimpleNode.execute(java.lang.Object, org.apache.velocity.context.InternalContextAdapter)public String literal()
literal in interface Nodeliteral in class SimpleNodeNode.literal()Copyright © 2000–2021 The Apache Software Foundation. All rights reserved.