ApexNode<T>, net.sourceforge.pmd.lang.ast.NodeApexRootNode, 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, ASTWhileLoopStatementpublic abstract class AbstractApexNode<T extends apex.jorje.semantic.ast.AstNode> extends net.sourceforge.pmd.lang.ast.AbstractNode implements ApexNode<T>
| 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, findDescendantsOfType, getAsDocument, getDataFlowNode, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, 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, toStringfindChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getDataFlowNode, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserDataprotected 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.NodegetBeginLine in class net.sourceforge.pmd.lang.ast.AbstractNodepublic int getBeginColumn()
getBeginColumn in interface net.sourceforge.pmd.lang.ast.NodegetBeginColumn in class net.sourceforge.pmd.lang.ast.AbstractNodepublic int getEndLine()
getEndLine in interface net.sourceforge.pmd.lang.ast.NodegetEndLine in class net.sourceforge.pmd.lang.ast.AbstractNodepublic int getEndColumn()
getEndColumn in interface net.sourceforge.pmd.lang.ast.NodegetEndColumn in class net.sourceforge.pmd.lang.ast.AbstractNodepublic 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 final java.lang.String getXPathNodeName()
getXPathNodeName in interface net.sourceforge.pmd.lang.ast.NodegetXPathNodeName in class net.sourceforge.pmd.lang.ast.AbstractNodepublic java.lang.String getLocation()
Copyright © 2002–2018 PMD. All rights reserved.