Class ASTPrimarySuffix
- 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.ASTPrimarySuffix
-
- All Implemented Interfaces:
GenericNode<PLSQLNode>,JjtreeNode<PLSQLNode>,Node,TextAvailableNode,PLSQLNode,ScopedNode,Reportable
public final class ASTPrimarySuffix extends AbstractJjtreeNode<net.sourceforge.pmd.lang.plsql.ast.AbstractPLSQLNode,PLSQLNode>
-
-
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)intgetArgumentCount()Get the number of arguments for this primary suffix.ScopegetScope()StringgetXPathNodeName()booleanisArguments()booleanisArrayDereference()ObjectjjtGetValue()protected voidjjtSetValue(Object value)protected voidsetImage(String image)-
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode
addChild, compareLocation, enlargeLeft, 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, 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
ancestors, children, compareLocation, descendants, firstChild, getAstInfo, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getImage, getIndexInParent, getLanguageVersion, getNumChildren, getReportLocation, getRoot, getTextDocument, getUserMap, getXPathAttributesIterator, hasImageEqualTo, isFindBoundary
-
Methods inherited from interface net.sourceforge.pmd.lang.plsql.ast.PLSQLNode
getCanonicalImage
-
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)
-
isArrayDereference
public boolean isArrayDereference()
-
isArguments
public boolean isArguments()
-
getArgumentCount
public int getArgumentCount()
Get the number of arguments for this primary suffix. One should callisArguments()to see if there are arguments. If this method is called when there are no arguments it returns-1.- Returns:
- A non-negative argument number when there are arguments,
-1otherwise.
-
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
-
-