Class ASTPackageSpecification
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.impl.AbstractNode<B,N>
-
- net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode<net.sourceforge.pmd.lang.plsql.ast.AbstractPLSQLNode,PLSQLNode>
-
- net.sourceforge.pmd.lang.plsql.ast.ASTPackageSpecification
-
- All Implemented Interfaces:
GenericNode<PLSQLNode>,JjtreeNode<PLSQLNode>,Node,TextAvailableNode,OracleObject,PLSQLNode,ScopedNode,Reportable
public class ASTPackageSpecification extends AbstractJjtreeNode<net.sourceforge.pmd.lang.plsql.ast.AbstractPLSQLNode,PLSQLNode> implements OracleObject
-
-
Field Summary
Fields Modifier and Type Field Description protected PLSQLParserparserprotected Scopescopeprotected Objectvalue-
Fields inherited from class net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode
id
-
Fields inherited from interface net.sourceforge.pmd.lang.ast.Node
COORDS_COMPARATOR
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <P,R>
RacceptPlsqlVisitor(PlsqlVisitor<? super P,? extends R> visitor, P data)<P,R>
RacceptVisitor(AstVisitor<? super P,? extends R> visitor, P data)StringgetObjectName()Gets the name of the Oracle Object.ScopegetScope()StringgetXPathNodeName()ObjectjjtGetValue()protected voidjjtSetValue(Object value)protected voidsetImage(String image)-
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode
addChild, compareLocation, fitTokensToChildren, getFirstToken, getImage, getLastToken, getTextRegion, insertChild, jjtClose, jjtOpen, setFirstToken, setLastToken, toString
-
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.AbstractNode
children, firstChild, getChild, getIndexInParent, getNumChildren, getParent, getUserMap, remove, removeChildAtIndex, setChild, setParent
-
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.impl.GenericNode
ancestors, ancestorsOrSelf, asStream, children, descendants, descendantsOrSelf, getChild, getFirstChild, getLastChild, getNextSibling, getNthParent, 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, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, firstChild, getAstInfo, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getIndexInParent, getLanguageVersion, getNumChildren, getParentsOfType, getReportLocation, getRoot, getTextDocument, getUserMap, getXPathAttributesIterator, getXPathNodeName, hasDescendantOfType, hasImageEqualTo, isFindBoundary
-
Methods inherited from interface net.sourceforge.pmd.lang.plsql.ast.PLSQLNode
getCanonicalImage, getScope, jjtAccept
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.TextAvailableNode
getOriginalText, getText, getTextRegion
-
-
-
-
Field Detail
-
value
protected Object value
-
parser
protected PLSQLParser parser
-
scope
protected Scope scope
-
-
Method Detail
-
acceptPlsqlVisitor
protected <P,R> R acceptPlsqlVisitor(PlsqlVisitor<? super P,? extends R> visitor, P data)
-
getObjectName
public String getObjectName()
Gets the name of the Oracle Object.- Specified by:
getObjectNamein interfaceOracleObject- Returns:
- a String representing the name of the Oracle Object
-
setImage
protected void setImage(String image)
- Overrides:
setImagein classAbstractJjtreeNode<net.sourceforge.pmd.lang.plsql.ast.AbstractPLSQLNode,PLSQLNode>
-
jjtSetValue
protected void jjtSetValue(Object value)
-
jjtGetValue
public Object jjtGetValue()
-
acceptVisitor
public final <P,R> R acceptVisitor(AstVisitor<? super P,? extends R> visitor, P data)
- Specified by:
acceptVisitorin interfaceNode
-
getXPathNodeName
public String getXPathNodeName()
- Specified by:
getXPathNodeNamein interfaceNode
-
getScope
public Scope getScope()
- Specified by:
getScopein interfacePLSQLNode- Specified by:
getScopein interfaceScopedNode
-
-