Class KotlinParser.KtFunctionDeclaration
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrNode<BaseAntlrInnerNode.PmdAsAntlrInnerNode<N>,N>
-
- net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode<KotlinNode>
-
- net.sourceforge.pmd.lang.kotlin.ast.KotlinParser.KtFunctionDeclaration
-
- All Implemented Interfaces:
AntlrNode<KotlinNode>
,GenericNode<KotlinNode>
,Node
,KotlinNode
,Reportable
- Enclosing class:
- KotlinParser
public static class KotlinParser.KtFunctionDeclaration extends BaseAntlrInnerNode<KotlinNode>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode
BaseAntlrInnerNode.PmdAsAntlrInnerNode<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 class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode
exception
-
Fields inherited from interface net.sourceforge.pmd.lang.ast.Node
COORDS_COMPARATOR
-
-
Constructor Summary
Constructors Constructor Description KtFunctionDeclaration(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
Method Summary
-
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode
copyFrom, getChild, getFirstAntlrToken, getLastAntlrToken, getNumChildren, getRuleContext, getRuleContexts, getToken, getTokens
-
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrNode
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getIndexInParent, getParent, getTextRegion, getUserMap
-
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, getParent, getPreviousSibling
-
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, getTextRegion, getUserMap, getXPathAttributesIterator, hasImageEqualTo, isFindBoundary
-
-
-
-
Method Detail
-
FUN
public org.antlr.v4.runtime.tree.TerminalNode FUN()
-
simpleIdentifier
public KotlinParser.KtSimpleIdentifier simpleIdentifier()
-
functionValueParameters
public KotlinParser.KtFunctionValueParameters functionValueParameters()
-
modifiers
public KotlinParser.KtModifiers modifiers()
-
typeParameters
public KotlinParser.KtTypeParameters typeParameters()
-
receiverType
public KotlinParser.KtReceiverType receiverType()
-
DOT
public org.antlr.v4.runtime.tree.TerminalNode DOT()
-
NL
public List<org.antlr.v4.runtime.tree.TerminalNode> NL()
-
NL
public org.antlr.v4.runtime.tree.TerminalNode NL(int i)
-
COLON
public org.antlr.v4.runtime.tree.TerminalNode COLON()
-
type
public KotlinParser.KtType type()
-
typeConstraints
public KotlinParser.KtTypeConstraints typeConstraints()
-
functionBody
public KotlinParser.KtFunctionBody functionBody()
-
getRuleIndex
public int getRuleIndex()
- Specified by:
getRuleIndex
in classBaseAntlrInnerNode<KotlinNode>
-
enterRule
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
enterRule
in classBaseAntlrInnerNode<KotlinNode>
-
exitRule
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
exitRule
in classBaseAntlrInnerNode<KotlinNode>
-
acceptVisitor
public <P,R> R acceptVisitor(AstVisitor<? super P,? extends R> visitor, P data)
- Specified by:
acceptVisitor
in interfaceNode
-
asAntlrNode
protected BaseAntlrInnerNode.PmdAsAntlrInnerNode<KotlinNode> asAntlrNode()
- Overrides:
asAntlrNode
in classBaseAntlrInnerNode<KotlinNode>
-
getXPathNodeName
public String getXPathNodeName()
- Specified by:
getXPathNodeName
in interfaceNode
-
-