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__setEndLine
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, setDataFlowNode, setImage, setUserData
protected final T extends apex.jorje.semantic.ast.AstNode node
public AbstractApexNode(T node)
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 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 AbstractNode
public String getLocation()
Copyright © 2002-2017 PMD. All Rights Reserved.