Interface PLSQLNode
-
- All Superinterfaces:
net.sourceforge.pmd.lang.ast.impl.GenericNode<PLSQLNode>
,net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeNode<PLSQLNode>
,net.sourceforge.pmd.lang.ast.Node
,net.sourceforge.pmd.reporting.Reportable
,net.sourceforge.pmd.lang.symboltable.ScopedNode
,net.sourceforge.pmd.lang.ast.TextAvailableNode
- All Known Subinterfaces:
ExecutableCode
,OracleObject
- All Known Implementing Classes:
ASTAccessibleByClause
,ASTAdditiveExpression
,ASTAlterTrigger
,ASTAlterTypeSpec
,ASTAnalyticClause
,ASTArgument
,ASTArgumentList
,ASTArguments
,ASTAssignment
,ASTAttribute
,ASTAttributeDeclaration
,ASTBetweenCondition
,ASTBlock
,ASTBooleanLiteral
,ASTBulkCollectIntoClause
,ASTCallSpecTail
,ASTCaseExpression
,ASTCaseStatement
,ASTCaseWhenClause
,ASTCloseStatement
,ASTCollectionDeclaration
,ASTCollectionName
,ASTCollectionTypeDefinition
,ASTCollectionTypeName
,ASTColumn
,ASTColumnAlias
,ASTComment
,ASTComparisonCondition
,ASTCompilationDataType
,ASTCompilationDeclarationFragment
,ASTCompilationExpression
,ASTCompoundCondition
,ASTCompoundTriggerBlock
,ASTCondition
,ASTConditionalAndExpression
,ASTConditionalCompilationStatement
,ASTConditionalInsertClause
,ASTConditionalOrExpression
,ASTContinueStatement
,ASTCrossOuterApplyClause
,ASTCursorForLoopStatement
,ASTCursorSpecification
,ASTCursorUnit
,ASTDatabaseEvent
,ASTDatabaseLink
,ASTDatatype
,ASTDatatypeDeclaration
,ASTDateTimeLiteral
,ASTDDLCommand
,ASTDDLEvent
,ASTDeclarativeSection
,ASTDeclarativeUnit
,ASTDeleteStatement
,ASTDirectory
,ASTDMLTableExpressionClause
,ASTDynamicReturnClause
,ASTElseClause
,ASTElsifClause
,ASTEmbeddedSqlStatement
,ASTEqualityExpression
,ASTErrorLoggingClause
,ASTExceptionDeclaration
,ASTExceptionHandler
,ASTExistsCondition
,ASTExitStatement
,ASTExpression
,ASTExpressionList
,ASTExpressionListMultiple
,ASTExpressionListSingle
,ASTExtractExpression
,ASTFetchStatement
,ASTFieldDeclaration
,ASTFloatingPointCondition
,ASTForAllIndex
,ASTForAllStatement
,ASTForIndex
,ASTFormalParameter
,ASTFormalParameters
,ASTForStatement
,ASTForUpdateClause
,ASTFromClause
,ASTFunctionCall
,ASTFunctionName
,ASTGlobal
,ASTGotoStatement
,ASTGroupByClause
,ASTGroupingExpressionList
,ASTGroupingSetsClause
,ASTHierarchicalQueryClause
,ASTHostArrayName
,ASTID
,ASTIfStatement
,ASTImplicitCursorAttribute
,ASTInCondition
,ASTInlineConstraint
,ASTInlinePragma
,ASTInnerCrossJoinClause
,ASTInput
,ASTInsertIntoClause
,ASTInsertStatement
,ASTIntoClause
,ASTIsASetCondition
,ASTIsEmptyCondition
,ASTIsNullCondition
,ASTIsOfTypeCondition
,ASTJavaInterfaceClass
,ASTJoinClause
,ASTKEYWORD_UNRESERVED
,ASTLabel
,ASTLabelledStatement
,ASTLikeCondition
,ASTLikeExpression
,ASTListaggOverflowClause
,ASTLiteral
,ASTLoopStatement
,ASTMemberCondition
,ASTMergeInsertClause
,ASTMergeStatement
,ASTMergeUpdateClause
,ASTMethodDeclaration
,ASTMethodDeclarator
,ASTMultiplicativeExpression
,ASTMultiSetCondition
,ASTMultiTableInsert
,ASTName
,ASTNonDMLEvent
,ASTNonDMLTrigger
,ASTNullLiteral
,ASTNumericLiteral
,ASTObjectDeclaration
,ASTObjectExpression
,ASTObjectNameDeclaration
,ASTOpenStatement
,ASTOrderByClause
,ASTOuterJoinClause
,ASTOuterJoinExpression
,ASTOuterJoinType
,ASTOutOfLineConstraint
,ASTPackageBody
,ASTPackageSpecification
,ASTParallelClause
,ASTPartitionExtensionClause
,ASTPipelineStatement
,ASTPragma
,ASTPragmaClause
,ASTPrimaryExpression
,ASTPrimaryPrefix
,ASTPrimarySuffix
,ASTProgramUnit
,ASTQualifiedID
,ASTQualifiedName
,ASTQueryBlock
,ASTQueryPartitionClause
,ASTRaiseStatement
,ASTRead2NextOccurrence
,ASTReadPastNextOccurrence
,ASTReferencesClause
,ASTRegexpLikeCondition
,ASTRelationalExpression
,ASTReturningClause
,ASTReturnStatement
,ASTRollupCubeClause
,ASTRowLimitingClause
,ASTScalarDataTypeName
,ASTSchemaName
,ASTSelectIntoStatement
,ASTSelectList
,ASTSelectStatement
,ASTSimpleExpression
,ASTSingleTableInsert
,ASTSkip2NextOccurrence
,ASTSkip2NextTerminator
,ASTSkip2NextTokenOccurrence
,ASTSkipPastNextOccurrence
,ASTSkipPastNextTokenOccurrence
,ASTSqlExpression
,ASTSqlMacroClause
,ASTSqlPlusCommand
,ASTSqlStatement
,ASTStatement
,ASTStringExpression
,ASTStringLiteral
,ASTSubmultisetCondition
,ASTSubqueryOperation
,ASTSubqueryRestrictionClause
,ASTSubTypeDefinition
,ASTSynonym
,ASTTable
,ASTTableAlias
,ASTTableCollectionExpression
,ASTTableColumn
,ASTTableName
,ASTTableReference
,ASTTriggerTimingPointSection
,ASTTriggerUnit
,ASTTrimExpression
,ASTTypeKeyword
,ASTTypeMethod
,ASTTypeSpecification
,ASTUnaryExpression
,ASTUnaryExpressionNotPlusMinus
,ASTUnlabelledStatement
,ASTUnqualifiedID
,ASTUpdateSetClause
,ASTUpdateStatement
,ASTValuesClause
,ASTVariableName
,ASTVariableOrConstantDeclaration
,ASTVariableOrConstantDeclarator
,ASTVariableOrConstantDeclaratorId
,ASTVariableOrConstantInitializer
,ASTView
,ASTViewColumn
,ASTWhereClause
,ASTWhileStatement
,ASTWindowingClause
,ASTWithClause
,ASTWithinClause
,ASTWrappedObject
,ASTXMLAttributesClause
,ASTXMLElement
,ASTXMLExists
,ASTXMLNamespacesClause
,ASTXMLPassingClause
,ASTXMLTable
,ASTXMLTableColum
,ASTXMLTableOptions
public interface PLSQLNode extends net.sourceforge.pmd.lang.symboltable.ScopedNode, net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeNode<PLSQLNode>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default String
getCanonicalImage()
Return node image converted to the normal Oracle form.static String
getCanonicalImage(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()
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.impl.GenericNode
ancestors, ancestorsOrSelf, asStream, children, descendants, descendantsOrSelf, getChild, getFirstChild, getLastChild, getNextSibling, getParent, getPreviousSibling
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeNode
getFirstToken, getLastToken, tokens
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
acceptVisitor, ancestors, children, compareLocation, descendants, firstChild, getAstInfo, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getImage, getIndexInParent, getLanguageVersion, getNumChildren, getReportLocation, getRoot, getTextDocument, getUserMap, getXPathAttributesIterator, getXPathNodeName, hasImageEqualTo, isFindBoundary
-
-
-
-
Method Detail
-
getScope
net.sourceforge.pmd.lang.symboltable.Scope getScope()
- Specified by:
getScope
in interfacenet.sourceforge.pmd.lang.symboltable.ScopedNode
-
getCanonicalImage
default String getCanonicalImage()
Return node image converted to the normal Oracle form.Normally this is uppercase, unless the names is quoted ("name").
-
getCanonicalImage
static String getCanonicalImage(String image)
Convert arbitrary String to normal Oracle format, under assumption that the passed image is an Oracle name.This a helper method for PLSQL classes dependent on SimpleNode, that would otherwise have to import PLSQParser.
- Parameters:
image
-- Returns:
-
-