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

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.ASTProgramUnit
All Implemented Interfaces:
Node, DFAGraphMethod, ExecutableCode, OracleObject, PLSQLNode, ScopedNode

public class ASTProgramUnit
extends AbstractPLSQLNode
implements ExecutableCode, OracleObject, DFAGraphMethod


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, id, parent
 
Constructor Summary
ASTProgramUnit(int id)
           
ASTProgramUnit(PLSQLParser p, int id)
           
 
Method Summary
 String getMethodName()
          Gets the name of the method.
 String getName()
           
 String getObjectName()
          Gets the name of the Oracle Object.
 Object jjtAccept(PLSQLParserVisitor visitor, Object data)
          Accept the visitor.
 
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, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, 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.plsql.ast.PLSQLNode
childrenAccept, getScope, setScope
 
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, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, setDataFlowNode, setImage, setUserData
 

Constructor Detail

ASTProgramUnit

public ASTProgramUnit(int id)

ASTProgramUnit

public ASTProgramUnit(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

getMethodName

public String getMethodName()
Gets the name of the method.

Specified by:
getMethodName in interface ExecutableCode
Returns:
a String representing the name of the method

getName

public String getName()
Specified by:
getName in interface DFAGraphMethod

getObjectName

public String getObjectName()
Gets the name of the Oracle Object.

Specified by:
getObjectName in interface OracleObject
Returns:
a String representing the name of the Oracle Object


Copyright © 2002-2015 InfoEther. All Rights Reserved.