ApexNode<T>
, net.sourceforge.pmd.lang.ast.Node
ApexRootNode
, ASTAnnotation
, ASTAnnotationParameter
, ASTArrayLoadExpression
, ASTArrayStoreExpression
, ASTAssignmentExpression
, ASTBinaryExpression
, ASTBindExpressions
, ASTBlockStatement
, ASTBooleanExpression
, ASTBreakStatement
, ASTBridgeMethodCreator
, ASTCastExpression
, ASTCatchBlockStatement
, ASTClassRefExpression
, ASTConstructorPreamble
, ASTConstructorPreambleStatement
, ASTContinueStatement
, ASTDmlDeleteStatement
, ASTDmlInsertStatement
, ASTDmlMergeStatement
, ASTDmlUndeleteStatement
, ASTDmlUpdateStatement
, ASTDmlUpsertStatement
, ASTDoLoopStatement
, ASTExpression
, ASTExpressionStatement
, ASTField
, ASTFieldDeclaration
, ASTFieldDeclarationStatements
, ASTForEachStatement
, ASTForLoopStatement
, ASTIfBlockStatement
, ASTIfElseBlockStatement
, ASTIllegalStoreExpression
, ASTInstanceOfExpression
, ASTJavaMethodCallExpression
, ASTJavaVariableExpression
, ASTLiteralExpression
, ASTMapEntryNode
, ASTMethod
, ASTMethodBlockStatement
, ASTMethodCallExpression
, ASTModifier
, ASTModifierNode
, ASTModifierOrAnnotation
, ASTMultiStatement
, ASTNestedExpression
, ASTNestedStoreExpression
, ASTNewKeyValueObjectExpression
, ASTNewListInitExpression
, ASTNewListLiteralExpression
, ASTNewMapInitExpression
, ASTNewMapLiteralExpression
, ASTNewObjectExpression
, ASTNewSetInitExpression
, ASTNewSetLiteralExpression
, ASTPackageVersionExpression
, ASTParameter
, ASTPostfixExpression
, ASTPrefixExpression
, ASTProperty
, ASTReferenceExpression
, ASTReturnStatement
, ASTRunAsBlockStatement
, ASTSoqlExpression
, ASTSoslExpression
, ASTStandardCondition
, ASTStatement
, ASTStatementExecuted
, ASTSuperMethodCallExpression
, ASTSuperVariableExpression
, ASTTernaryExpression
, ASTThisMethodCallExpression
, ASTThisVariableExpression
, ASTThrowStatement
, ASTTriggerVariableExpression
, ASTTryCatchFinallyBlockStatement
, ASTUserClassMethods
, ASTUserExceptionMethods
, ASTVariableDeclaration
, ASTVariableDeclarationStatements
, ASTVariableExpression
, ASTWhileLoopStatement
public abstract class AbstractApexNode<T extends apex.jorje.semantic.ast.AstNode> extends net.sourceforge.pmd.lang.ast.AbstractNode implements ApexNode<T>
Modifier and Type | Field | Description |
---|---|---|
protected T |
node |
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
Constructor | Description |
---|---|
AbstractApexNode(T node) |
Modifier and Type | Method | 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.
|
java.lang.String |
getXPathNodeName() |
|
protected void |
handleSourceCode(java.lang.String source) |
|
protected boolean |
hasRealLoc() |
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getDataFlowNode, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, 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, toString
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 net.sourceforge.pmd.lang.ast.Node
getBeginLine
in class net.sourceforge.pmd.lang.ast.AbstractNode
public int getBeginColumn()
getBeginColumn
in interface net.sourceforge.pmd.lang.ast.Node
getBeginColumn
in class net.sourceforge.pmd.lang.ast.AbstractNode
public int getEndLine()
getEndLine
in interface net.sourceforge.pmd.lang.ast.Node
getEndLine
in class net.sourceforge.pmd.lang.ast.AbstractNode
public int getEndColumn()
getEndColumn
in interface net.sourceforge.pmd.lang.ast.Node
getEndColumn
in class net.sourceforge.pmd.lang.ast.AbstractNode
public java.lang.Object childrenAccept(ApexParserVisitor visitor, java.lang.Object data)
childrenAccept
in interface ApexNode<T extends apex.jorje.semantic.ast.AstNode>
public T getNode()
ApexNode
protected boolean hasRealLoc()
public final java.lang.String getXPathNodeName()
getXPathNodeName
in interface net.sourceforge.pmd.lang.ast.Node
getXPathNodeName
in class net.sourceforge.pmd.lang.ast.AbstractNode
public java.lang.String getLocation()
Copyright © 2002–2018 PMD. All rights reserved.