public class ASTReference extends AbstractVmNode
| Modifier and Type | Field and Description |
|---|---|
boolean |
strictRef
Indicates if we are running in strict reference mode.
|
boolean |
toStringNullCheck
Indicates if toString() should be called during condition evaluation just to ensure it does not return null.
|
first, info, invalid, last, parser, state, templateNamebeginColumn, beginLine, children, endColumn, endLine, id, parent| Constructor and Description |
|---|
ASTReference(int id) |
ASTReference(VmParser p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRootString()
Returns the 'root string', the reference key
|
Object |
jjtAccept(VmParserVisitor visitor,
Object data)
Accept the visitor.
|
String |
literal()
Override of the SimpleNode method literal() Returns the literal representation of the node.
|
void |
setLiteral(String literal)
Routine to allow the literal representation to be externally overridden.
|
childrenAccept, dump, getColumn, getFirstToken, getInfo, getLastToken, getLine, getTemplateName, getType, isInvalid, jjtClose, jjtOpen, setFirstToken, setInfo, setInvalid, toString, toStringappendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChild, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetParent, setDataFlowNode, setImage, setUserData, testingOnly__setBeginColumn, testingOnly__setBeginLine, testingOnly__setEndColumn, testingOnly__setEndLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtGetChild, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetParent, setDataFlowNode, setImage, setUserDatapublic boolean strictRef
public boolean toStringNullCheck
public ASTReference(int id)
id - public ASTReference(VmParser p, int id)
p - id - public Object jjtAccept(VmParserVisitor visitor, Object data)
VmNodejjtAccept in interface VmNodejjtAccept in class AbstractVmNodeorg.apache.velocity.runtime.parser.node.SimpleNode#jjtAccept(org.apache.velocity.runtime.parser.node.VmParserVisitor,
java.lang.Object)public String getRootString()
public void setLiteral(String literal)
literal - String to render to when nullpublic String literal()
literal in class AbstractVmNodeorg.apache.velocity.runtime.parser.node.Node#literal()Copyright © 2002-2014 InfoEther. All Rights Reserved.