net.sourceforge.pmd.lang.plsql.ast
Class ASTVariableOrConstantDeclaratorId

java.lang.Object
  extended by net.sourceforge.pmd.lang.ast.AbstractNode
      extended by net.sourceforge.pmd.lang.plsql.ast.AbstractPLSQLNode
          extended by net.sourceforge.pmd.lang.plsql.ast.ASTVariableOrConstantDeclaratorId
All Implemented Interfaces:
Node, PLSQLNode, ScopedNode

public class ASTVariableOrConstantDeclaratorId
extends AbstractPLSQLNode


Field Summary
 
Fields inherited from class net.sourceforge.pmd.lang.plsql.ast.AbstractPLSQLNode
parser, scope, value
 
Fields inherited from class net.sourceforge.pmd.lang.ast.AbstractNode
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
 
Constructor Summary
ASTVariableOrConstantDeclaratorId(int id)
           
ASTVariableOrConstantDeclaratorId(PLSQLParser p, int id)
           
 
Method Summary
 void bumpArrayDepth()
           
 int getArrayDepth()
           
 NameDeclaration getNameDeclaration()
           
 Node getTypeNameNode()
           
 ASTDatatype getTypeNode()
           
 List<NameOccurrence> getUsages()
           
 boolean isArray()
           
 Object jjtAccept(PLSQLParserVisitor visitor, Object data)
          Accept the visitor.
 void setNameDeclaration(NameDeclaration decl)
           
 
Methods inherited from class net.sourceforge.pmd.lang.plsql.ast.AbstractPLSQLNode
childrenAccept, dump, getCanonicalImage, getCanonicalImage, getScope, jjtClose, jjtGetValue, jjtOpen, jjtSetValue, setScope, toString, toString
 
Methods inherited from class net.sourceforge.pmd.lang.ast.AbstractNode
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, setDataFlowNode, setImage, setUserData, testingOnly__setBeginColumn, testingOnly__setBeginLine, testingOnly__setEndColumn, testingOnly__setEndLine
 
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, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetParent, setDataFlowNode, setImage, setUserData
 

Constructor Detail

ASTVariableOrConstantDeclaratorId

public ASTVariableOrConstantDeclaratorId(int id)

ASTVariableOrConstantDeclaratorId

public ASTVariableOrConstantDeclaratorId(PLSQLParser p,
                                         int id)
Method Detail

jjtAccept

public Object jjtAccept(PLSQLParserVisitor visitor,
                        Object data)
Accept the visitor.

Specified by:
jjtAccept in interface PLSQLNode
Overrides:
jjtAccept in class AbstractPLSQLNode

getNameDeclaration

public NameDeclaration getNameDeclaration()

setNameDeclaration

public void setNameDeclaration(NameDeclaration decl)

getUsages

public List<NameOccurrence> getUsages()

bumpArrayDepth

public void bumpArrayDepth()

getArrayDepth

public int getArrayDepth()

isArray

public boolean isArray()

getTypeNameNode

public Node getTypeNameNode()

getTypeNode

public ASTDatatype getTypeNode()


Copyright © 2002-2015 InfoEther. All Rights Reserved.