Class KotlinTerminalNode
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrNode<BaseAntlrTerminalNode.AntlrTerminalPmdAdapter<N>,N>
-
- net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrTerminalNode<KotlinNode>
-
- net.sourceforge.pmd.lang.kotlin.ast.KotlinTerminalNode
-
- All Implemented Interfaces:
AntlrNode<KotlinNode>
,GenericNode<KotlinNode>
,Node
,KotlinNode
,Reportable
public final class KotlinTerminalNode extends BaseAntlrTerminalNode<KotlinNode> implements KotlinNode
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrTerminalNode
BaseAntlrTerminalNode.AntlrErrorPmdAdapter<N extends AntlrNode<N>>, BaseAntlrTerminalNode.AntlrTerminalPmdAdapter<N extends AntlrNode<N>>
-
Nested classes/interfaces inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrNode
BaseAntlrNode.AntlrToPmdParseTreeAdapter<N extends AntlrNode<N>>
-
-
Field Summary
-
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 <P,R>
RacceptVisitor(AstVisitor<? super P,? extends R> visitor, P data)
@NonNull String
getText()
String
getXPathNodeName()
-
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrTerminalNode
asAntlrNode, getChild, getFirstAntlrToken, getLastAntlrToken, getNumChildren, getTokenKind
-
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrNode
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getIndexInParent, getParent, getTextRegion, getUserMap, joinTokenText
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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.Node
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, getTextRegion, getUserMap, getXPathAttributesIterator, hasDescendantOfType, hasImageEqualTo, isFindBoundary
-
-
-
-
Method Detail
-
getText
public @NonNull String getText()
- Specified by:
getText
in classBaseAntlrTerminalNode<KotlinNode>
-
getXPathNodeName
public String getXPathNodeName()
- Specified by:
getXPathNodeName
in interfaceNode
-
acceptVisitor
public <P,R> R acceptVisitor(AstVisitor<? super P,? extends R> visitor, P data)
- Specified by:
acceptVisitor
in interfaceNode
-
-