net.sourceforge.pmd.lang.ast.Node, PLSQLNode, net.sourceforge.pmd.lang.symboltable.ScopedNodeASTAccessibleByClause, ASTAdditiveExpression, ASTAlterTrigger, ASTAlterTypeSpec, ASTArgument, ASTArgumentList, ASTArguments, ASTAssignment, ASTAttribute, ASTAttributeDeclaration, ASTBlock, ASTBooleanLiteral, ASTCallSpecTail, ASTCaseExpression, ASTCaseStatement, ASTCaseWhenClause, ASTCloseStatement, ASTCollectionDeclaration, ASTCollectionTypeDefinition, ASTCollectionTypeName, ASTComment, ASTCompilationDataType, ASTCompilationDeclarationFragment, ASTCompilationExpression, ASTCompoundTriggerBlock, ASTConditionalAndExpression, ASTConditionalCompilationStatement, ASTConditionalOrExpression, ASTContinueStatement, ASTCursorBody, ASTCursorSpecification, ASTCursorUnit, ASTDatabaseEvent, ASTDatabaseLink, ASTDatatype, ASTDatatypeDeclaration, ASTDateTimeLiteral, ASTDDLCommand, ASTDDLEvent, ASTDeclarativeSection, ASTDeclarativeUnit, ASTDirectory, ASTElseClause, ASTElsifClause, ASTEmbeddedSqlStatement, ASTEqualityExpression, ASTEqualsOldIDNewID, ASTExceptionDeclaration, ASTExceptionHandler, ASTExitStatement, ASTExpression, ASTFetchStatement, ASTFieldDeclaration, ASTForAllIndex, ASTForAllStatement, ASTForIndex, ASTFormalParameter, ASTFormalParameters, ASTForStatement, ASTGlobal, ASTGotoStatement, ASTID, ASTIfStatement, ASTInlinePragma, ASTInput, ASTIsNullCondition, ASTIsOfTypeCondition, ASTJavaInterfaceClass, ASTKEYWORD_RESERVED, ASTKEYWORD_UNRESERVED, ASTLabel, ASTLabelledStatement, ASTLikeExpression, ASTLiteral, ASTLoopStatement, ASTMethodDeclaration, ASTMethodDeclarator, ASTMultiplicativeExpression, ASTMultiSetCondition, ASTName, ASTNonDMLEvent, ASTNonDMLTrigger, ASTNullLiteral, ASTNumericLiteral, ASTObjectDeclaration, ASTObjectExpression, ASTObjectNameDeclaration, ASTOpenStatement, ASTPackageBody, ASTPackageSpecification, ASTParallelClause, ASTPipelineStatement, ASTPragma, ASTPragmaClause, ASTPrimaryExpression, ASTPrimaryPrefix, ASTPrimarySuffix, ASTProgramUnit, ASTQualifiedID, ASTQualifiedName, ASTRaiseStatement, ASTRead2NextOccurrence, ASTReadPastNextOccurrence, ASTRelationalExpression, ASTReturnStatement, ASTScalarDataTypeName, ASTSkip2NextOccurrence, ASTSkip2NextTerminator, ASTSkip2NextTokenOccurrence, ASTSkipPastNextOccurrence, ASTSkipPastNextTokenOccurrence, ASTSqlPlusCommand, ASTSqlStatement, ASTStatement, ASTStringExpression, ASTStringLiteral, ASTSubTypeDefinition, ASTSynonym, ASTTable, ASTTableColumn, ASTTriggerTimingPointSection, ASTTriggerUnit, ASTTrimExpression, ASTTypeKeyword, ASTTypeMethod, ASTTypeSpecification, ASTUnaryExpression, ASTUnaryExpressionNotPlusMinus, ASTUnlabelledStatement, ASTUnqualifiedID, ASTVariableOrConstantDeclaration, ASTVariableOrConstantDeclarator, ASTVariableOrConstantDeclaratorId, ASTVariableOrConstantInitializer, ASTView, ASTViewColumn, ASTWhileStatement, ASTWrappedObjectpublic abstract class AbstractPLSQLNode extends net.sourceforge.pmd.lang.ast.AbstractNode implements PLSQLNode
| Modifier and Type | Field | Description |
|---|---|---|
protected PLSQLParser |
parser |
|
protected net.sourceforge.pmd.lang.symboltable.Scope |
scope |
|
protected java.lang.Object |
value |
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent| Constructor | Description |
|---|---|
AbstractPLSQLNode(int i) |
|
AbstractPLSQLNode(PLSQLParser p,
int i) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
childrenAccept(PLSQLParserVisitor visitor,
java.lang.Object data) |
Accept the visitor.
|
void |
dump(java.lang.String prefix) |
|
java.lang.String |
getCanonicalImage() |
Return node image converted to the normal Oracle form.
|
static java.lang.String |
getCanonicalImage(java.lang.String image) |
Convert arbitrary String to normal Oracle format, under assumption that
the passed image is an Oracle name.
|
net.sourceforge.pmd.lang.symboltable.Scope |
getScope() |
|
java.lang.String |
getXPathNodeName() |
|
java.lang.Object |
jjtAccept(PLSQLParserVisitor visitor,
java.lang.Object data) |
Accept the visitor.
|
void |
jjtClose() |
|
java.lang.Object |
jjtGetValue() |
|
void |
jjtOpen() |
|
void |
jjtSetValue(java.lang.Object value) |
|
void |
setScope(net.sourceforge.pmd.lang.symboltable.Scope scope) |
|
java.lang.String |
toString(java.lang.String prefix) |
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine, toStringfindChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserDataprotected java.lang.Object value
protected PLSQLParser parser
protected net.sourceforge.pmd.lang.symboltable.Scope scope
public AbstractPLSQLNode(int i)
public AbstractPLSQLNode(PLSQLParser p, int i)
public void jjtOpen()
jjtOpen in interface net.sourceforge.pmd.lang.ast.NodejjtOpen in class net.sourceforge.pmd.lang.ast.AbstractNodepublic void jjtClose()
jjtClose in interface net.sourceforge.pmd.lang.ast.NodejjtClose in class net.sourceforge.pmd.lang.ast.AbstractNodepublic void jjtSetValue(java.lang.Object value)
public java.lang.Object jjtGetValue()
public java.lang.Object jjtAccept(PLSQLParserVisitor visitor, java.lang.Object data)
PLSQLNodepublic java.lang.Object childrenAccept(PLSQLParserVisitor visitor, java.lang.Object data)
PLSQLNodechildrenAccept in interface PLSQLNodepublic java.lang.String getXPathNodeName()
getXPathNodeName in interface net.sourceforge.pmd.lang.ast.NodegetXPathNodeName in class net.sourceforge.pmd.lang.ast.AbstractNodepublic java.lang.String toString(java.lang.String prefix)
public void dump(java.lang.String prefix)
public java.lang.String getCanonicalImage()
Normally this is uppercase, unless the names is quoted ("name").
public static java.lang.String getCanonicalImage(java.lang.String image)
This a helper method for PLSQL classes dependent on SimpleNode, that would otherwise have to import PLSQParser.
image - public net.sourceforge.pmd.lang.symboltable.Scope getScope()
getScope in interface PLSQLNodegetScope in interface net.sourceforge.pmd.lang.symboltable.ScopedNodepublic void setScope(net.sourceforge.pmd.lang.symboltable.Scope scope)
Copyright © 2002–2018 PMD. All rights reserved.