public abstract class AbstractApexNode<T extends apex.jorje.semantic.ast.AstNode> extends AbstractNode implements ApexNode<T>
Modifier and Type | Field and Description |
---|---|
protected T |
node |
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
Constructor and Description |
---|
AbstractApexNode(T node) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
childrenAccept(ApexParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
int |
getBeginColumn() |
int |
getBeginLine() |
int |
getEndColumn() |
int |
getEndLine() |
java.lang.String |
getLocation() |
T |
getNode()
Get the underlying AST node.
|
protected void |
handleSourceCode(java.lang.String source) |
protected boolean |
hasRealLoc() |
java.lang.String |
toString() |
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getDataFlowNode, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getDataFlowNode, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
protected final T extends apex.jorje.semantic.ast.AstNode node
public AbstractApexNode(T node)
protected void handleSourceCode(java.lang.String source)
public int getBeginLine()
getBeginLine
in interface Node
getBeginLine
in class AbstractNode
public int getBeginColumn()
getBeginColumn
in interface Node
getBeginColumn
in class AbstractNode
public int getEndLine()
getEndLine
in interface Node
getEndLine
in class AbstractNode
public int getEndColumn()
getEndColumn
in interface Node
getEndColumn
in class AbstractNode
public java.lang.Object childrenAccept(ApexParserVisitor visitor, java.lang.Object data)
childrenAccept
in interface ApexNode<T extends apex.jorje.semantic.ast.AstNode>
protected boolean hasRealLoc()
public java.lang.String toString()
toString
in class AbstractNode
public java.lang.String getLocation()
Copyright © 2002–2017 PMD. All rights reserved.