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 |
|---|---|
Object |
childrenAccept(ApexParserVisitor visitor,
Object data)
Accept the visitor.
|
int |
getBeginColumn() |
int |
getBeginLine() |
int |
getEndColumn() |
int |
getEndLine() |
String |
getLocation() |
T |
getNode()
Get the underlying AST node.
|
protected boolean |
hasRealLoc() |
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, setDataFlowNode, setImage, setUserData, testingOnly__setBeginColumn, testingOnly__setBeginLine, testingOnly__setEndColumn, testingOnly__setEndLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindChildNodesWithXPath, 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, setDataFlowNode, setImage, setUserDataprotected final T extends apex.jorje.semantic.ast.AstNode node
public AbstractApexNode(T node)
public int getBeginLine()
getBeginLine in interface NodegetBeginLine in class AbstractNodepublic int getBeginColumn()
getBeginColumn in interface NodegetBeginColumn in class AbstractNodepublic int getEndLine()
getEndLine in interface NodegetEndLine in class AbstractNodepublic int getEndColumn()
getEndColumn in interface NodegetEndColumn in class AbstractNodepublic Object childrenAccept(ApexParserVisitor visitor, Object data)
childrenAccept in interface ApexNode<T extends apex.jorje.semantic.ast.AstNode>protected boolean hasRealLoc()
public String toString()
toString in class AbstractNodepublic String getLocation()
Copyright © 2002–2017 PMD. All rights reserved.