Class AbstractPLSQLNode
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.AbstractNode
-
- net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode<PLSQLNode>
-
- net.sourceforge.pmd.lang.plsql.ast.AbstractPLSQLNode
-
- All Implemented Interfaces:
Node,PLSQLNode,ScopedNode
- Direct Known Subclasses:
AbstractSelectStatement,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,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,ASTInCondition,ASTInlineConstraint,ASTInlinePragma,ASTInnerCrossJoinClause,ASTInput,ASTInsertIntoClause,ASTInsertStatement,ASTIntoClause,ASTIsASetCondition,ASTIsEmptyCondition,ASTIsNullCondition,ASTIsOfTypeCondition,ASTJavaInterfaceClass,ASTJoinClause,ASTKEYWORD_UNRESERVED,ASTLabel,ASTLabelledStatement,ASTLikeCondition,ASTLikeExpression,ASTListaggOverflowClause,ASTLiteral,ASTLoopStatement,ASTMemberCondition,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,ASTQueryPartitionClause,ASTRaiseStatement,ASTRead2NextOccurrence,ASTReadPastNextOccurrence,ASTReferencesClause,ASTRegexpLikeCondition,ASTRelationalExpression,ASTReturningClause,ASTReturnStatement,ASTRollupCubeClause,ASTRowLimitingClause,ASTScalarDataTypeName,ASTSchemaName,ASTSelectList,ASTSimpleExpression,ASTSingleTableInsert,ASTSkip2NextOccurrence,ASTSkip2NextTerminator,ASTSkip2NextTokenOccurrence,ASTSkipPastNextOccurrence,ASTSkipPastNextTokenOccurrence,ASTSqlExpression,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
@Deprecated @InternalApi public abstract class AbstractPLSQLNode extends AbstractJjtreeNode<PLSQLNode> implements PLSQLNode
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description protected PLSQLParserparserDeprecated.protected ScopescopeDeprecated.protected ObjectvalueDeprecated.-
Fields inherited from class net.sourceforge.pmd.lang.ast.AbstractNode
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
-
-
Constructor Summary
Constructors Constructor Description AbstractPLSQLNode(int i)Deprecated.AbstractPLSQLNode(PLSQLParser p, int i)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ObjectchildrenAccept(PLSQLParserVisitor visitor, Object data)Deprecated.Accept the visitor.voiddump(String prefix)Deprecated.StringgetCanonicalImage()Deprecated.Return node image converted to the normal Oracle form.static StringgetCanonicalImage(String image)Deprecated.Convert arbitrary String to normal Oracle format, under assumption that the passed image is an Oracle name.ScopegetScope()Deprecated.StringgetXPathNodeName()Deprecated.ObjectjjtAccept(PLSQLParserVisitor visitor, Object data)Deprecated.Accept the visitor.voidjjtClose()Deprecated.ObjectjjtGetValue()Deprecated.voidjjtOpen()Deprecated.voidjjtSetValue(Object value)Deprecated.voidsetScope(Scope scope)Deprecated.StringtoString(String prefix)Deprecated.-
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode
children, getChild, getParent
-
Methods inherited from class net.sourceforge.pmd.lang.ast.AbstractNode
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getIndexInParent, getNthParent, getNumChildren, getParentsOfType, getUserData, getUserMap, getXPathAttributesIterator, 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, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getIndexInParent, getNthParent, getNumChildren, getParentsOfType, getUserData, getUserMap, getXPathAttributesIterator, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
-
-
-
-
Field Detail
-
value
protected Object value
Deprecated.
-
parser
protected PLSQLParser parser
Deprecated.
-
scope
protected Scope scope
Deprecated.
-
-
Constructor Detail
-
AbstractPLSQLNode
public AbstractPLSQLNode(int i)
Deprecated.
-
AbstractPLSQLNode
public AbstractPLSQLNode(PLSQLParser p, int i)
Deprecated.
-
-
Method Detail
-
jjtOpen
public void jjtOpen()
Deprecated.- Specified by:
jjtOpenin interfaceNode- Overrides:
jjtOpenin classAbstractNode
-
jjtClose
public void jjtClose()
Deprecated.- Specified by:
jjtClosein interfaceNode- Overrides:
jjtClosein classAbstractNode
-
jjtSetValue
public void jjtSetValue(Object value)
Deprecated.
-
jjtGetValue
public Object jjtGetValue()
Deprecated.
-
jjtAccept
public Object jjtAccept(PLSQLParserVisitor visitor, Object data)
Deprecated.Description copied from interface:PLSQLNodeAccept the visitor.
-
childrenAccept
public Object childrenAccept(PLSQLParserVisitor visitor, Object data)
Deprecated.Description copied from interface:PLSQLNodeAccept the visitor.- Specified by:
childrenAcceptin interfacePLSQLNode
-
getXPathNodeName
public String getXPathNodeName()
Deprecated.- Specified by:
getXPathNodeNamein interfaceNode- Overrides:
getXPathNodeNamein classAbstractNode
-
dump
public void dump(String prefix)
Deprecated.
-
getCanonicalImage
public String getCanonicalImage()
Deprecated.Return node image converted to the normal Oracle form.Normally this is uppercase, unless the names is quoted ("name").
-
getCanonicalImage
public static String getCanonicalImage(String image)
Deprecated.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:
-
getScope
public Scope getScope()
Deprecated.- Specified by:
getScopein interfacePLSQLNode- Specified by:
getScopein interfaceScopedNode
-
-