net.sourceforge.pmd.lang.ast.Node, VmNodeASTAndNode, ASTAssignment, ASTBlock, ASTComment, ASTDirective, ASTElseIfStatement, ASTElseStatement, ASTEQNode, ASTEscape, ASTEscapedDirective, ASTExpression, ASTFalse, ASTFloatingPointLiteral, ASTForeachStatement, ASTGENode, ASTGTNode, ASTIdentifier, ASTIfStatement, ASTIndex, ASTIntegerLiteral, ASTIntegerRange, ASTLENode, ASTLTNode, ASTMap, ASTMathNode, ASTMethod, ASTNENode, ASTNotNode, ASTObjectArray, ASTOrNode, ASTprocess, ASTReference, ASTSetDirective, ASTStringLiteral, ASTText, ASTTextblock, ASTTrue, ASTWordpublic class AbstractVmNode extends net.sourceforge.pmd.lang.ast.AbstractNode implements VmNode
| Modifier and Type | Field | Description |
|---|---|---|
protected Token |
first |
|
protected int |
info |
|
protected boolean |
invalid |
|
protected Token |
last |
|
protected VmParser |
parser |
|
boolean |
state |
|
protected java.lang.String |
templateName |
| Constructor | Description |
|---|---|
AbstractVmNode(int i) |
|
AbstractVmNode(VmParser p,
int i) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
childrenAccept(VmParserVisitor visitor,
java.lang.Object data) |
Accept the visitor.
|
void |
dump(java.lang.String prefix,
boolean recurse,
java.io.Writer writer) |
Override this method if you want to customize how the node dumps out its
children.
|
int |
getColumn() |
|
Token |
getFirstToken() |
|
int |
getInfo() |
|
Token |
getLastToken() |
|
int |
getLine() |
|
java.lang.String |
getTemplateName() |
|
int |
getType() |
|
java.lang.String |
getXPathNodeName() |
|
boolean |
isInvalid() |
|
java.lang.Object |
jjtAccept(VmParserVisitor visitor,
java.lang.Object data) |
Accept the visitor.
|
void |
jjtClose() |
|
void |
jjtOpen() |
|
java.lang.String |
literal() |
|
void |
setFirstToken(Token t) |
|
void |
setInfo(int info) |
|
void |
setInvalid() |
|
java.lang.String |
toString(java.lang.String prefix) |
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine, toStringfindChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserDataprotected VmParser parser
protected int info
public boolean state
protected boolean invalid
protected Token first
protected Token last
protected java.lang.String templateName
public AbstractVmNode(int i)
i - public AbstractVmNode(VmParser p, int i)
p - i - public void jjtOpen()
jjtOpen in interface net.sourceforge.pmd.lang.ast.NodejjtOpen in class net.sourceforge.pmd.lang.ast.AbstractNodepublic void jjtClose()
jjtClose in interface net.sourceforge.pmd.lang.ast.NodejjtClose in class net.sourceforge.pmd.lang.ast.AbstractNodepublic void setFirstToken(Token t)
t - public Token getFirstToken()
public Token getLastToken()
public java.lang.Object jjtAccept(VmParserVisitor visitor, java.lang.Object data)
VmNodepublic java.lang.Object childrenAccept(VmParserVisitor visitor, java.lang.Object data)
VmNodechildrenAccept in interface VmNodepublic java.lang.String getXPathNodeName()
getXPathNodeName in interface net.sourceforge.pmd.lang.ast.NodegetXPathNodeName in class net.sourceforge.pmd.lang.ast.AbstractNodepublic java.lang.String toString(java.lang.String prefix)
prefix - public void dump(java.lang.String prefix,
boolean recurse,
java.io.Writer writer)
prefix - public java.lang.String literal()
public int getType()
public void setInfo(int info)
public int getInfo()
public void setInvalid()
public boolean isInvalid()
public int getLine()
public int getColumn()
public java.lang.String getTemplateName()
Copyright © 2002–2018 PMD. All rights reserved.