Class ASTTermParam
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.impl.AbstractNode<net.sourceforge.pmd.lang.scala.ast.AbstractScalaNode<?>,ScalaNode<?>>
-
- net.sourceforge.pmd.lang.scala.ast.ASTTermParam
-
- All Implemented Interfaces:
net.sourceforge.pmd.lang.ast.impl.GenericNode<ScalaNode<?>>,net.sourceforge.pmd.lang.ast.Node,ScalaNode<scala.meta.Term.Param>,net.sourceforge.pmd.reporting.Reportable
public final class ASTTermParam extends net.sourceforge.pmd.lang.ast.impl.AbstractNode<net.sourceforge.pmd.lang.scala.ast.AbstractScalaNode<?>,ScalaNode<?>>
The ASTTermParam node implementation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <P,R>
RacceptVisitor(net.sourceforge.pmd.lang.ast.AstVisitor<? super P,? extends R> visitor, P data)protected <P,R>
RacceptVisitor(ScalaVisitor<? super P,? extends R> visitor, P data)protected voidaddChild(net.sourceforge.pmd.lang.scala.ast.AbstractScalaNode<?> child, int index)intcompareLocation(net.sourceforge.pmd.lang.ast.Node node)net.sourceforge.pmd.lang.document.TextRegiongetTextRegion()StringgetXPathNodeName()booleanisImplicit()Returns true if the node is implicit.-
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.AbstractNode
children, firstChild, getChild, getIndexInParent, getNumChildren, getParent, getUserMap, insertChild, remove, removeChildAtIndex, setChild, setParent, 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.impl.GenericNode
ancestors, ancestorsOrSelf, asStream, children, descendants, descendantsOrSelf, getChild, getFirstChild, getLastChild, getNextSibling, getParent, getPreviousSibling
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
ancestors, children, descendants, firstChild, getAstInfo, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getImage, getIndexInParent, getLanguageVersion, getNumChildren, getReportLocation, getRoot, getTextDocument, getUserMap, getXPathAttributesIterator, hasImageEqualTo, isFindBoundary
-
-
-
-
Method Detail
-
acceptVisitor
protected <P,R> R acceptVisitor(ScalaVisitor<? super P,? extends R> visitor, P data)
-
acceptVisitor
public <P,R> R acceptVisitor(net.sourceforge.pmd.lang.ast.AstVisitor<? super P,? extends R> visitor, P data)- Specified by:
acceptVisitorin interfacenet.sourceforge.pmd.lang.ast.Node
-
addChild
protected void addChild(net.sourceforge.pmd.lang.scala.ast.AbstractScalaNode<?> child, int index)- Overrides:
addChildin classnet.sourceforge.pmd.lang.ast.impl.AbstractNode<net.sourceforge.pmd.lang.scala.ast.AbstractScalaNode<?>,ScalaNode<?>>
-
isImplicit
public boolean isImplicit()
Description copied from interface:ScalaNodeReturns true if the node is implicit. If this node has no non-implicit descendant, then its text bounds identify an empty region of the source document. In that case, the end column is smaller than the begin column. That's because the end column index is inclusive.- Specified by:
isImplicitin interfaceScalaNode<T extends scala.meta.Tree>
-
getTextRegion
public net.sourceforge.pmd.lang.document.TextRegion getTextRegion()
- Specified by:
getTextRegionin interfacenet.sourceforge.pmd.lang.ast.Node
-
compareLocation
public int compareLocation(net.sourceforge.pmd.lang.ast.Node node)
- Specified by:
compareLocationin interfacenet.sourceforge.pmd.lang.ast.Node
-
getXPathNodeName
public String getXPathNodeName()
- Specified by:
getXPathNodeNamein interfacenet.sourceforge.pmd.lang.ast.Node
-
-