public class ASTDirective extends AbstractVmNode
first, info, invalid, last, parser, state, templateName
beginColumn, beginLine, children, endColumn, endLine, id, parent
Constructor and Description |
---|
ASTDirective(int id) |
ASTDirective(VmParser p,
int id) |
Modifier and Type | Method and Description |
---|---|
String |
getDirectiveName()
Gets the name of this directive.
|
Object |
jjtAccept(VmParserVisitor visitor,
Object data)
Accept the visitor.
|
void |
setDirectiveName(String str)
Sets the directive name.
|
String |
toString()
Subclasses should implement this method to return a name usable with
XPathRule for evaluating Element Names.
|
childrenAccept, dump, getColumn, getFirstToken, getInfo, getLastToken, getLine, getTemplateName, getType, isInvalid, jjtClose, jjtOpen, literal, setFirstToken, setInfo, setInvalid, toString
appendElement, 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__setEndLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findChildNodesWithXPath, 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, setUserData
public ASTDirective(int id)
id
- public ASTDirective(VmParser p, int id)
p
- id
- public Object jjtAccept(VmParserVisitor visitor, Object data)
VmNode
jjtAccept
in interface VmNode
jjtAccept
in class AbstractVmNode
org.apache.velocity.runtime.parser.node.SimpleNode#jjtAccept(org.apache.velocity.runtime.parser.node.VmParserVisitor,
java.lang.Object)
public void setDirectiveName(String str)
str
- public String getDirectiveName()
public String toString()
AbstractNode
toString
in class AbstractVmNode
Copyright © 2002–2015 InfoEther. All rights reserved.