Class KotlinParser.KtClassParameter
java.lang.Object
net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrNode<net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode.PmdAsAntlrInnerNode<KotlinNode>,KotlinNode>
net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode<KotlinNode>
net.sourceforge.pmd.lang.kotlin.ast.KotlinParser.KtClassParameter
- All Implemented Interfaces:
net.sourceforge.pmd.lang.ast.impl.antlr4.AntlrNode<KotlinNode>,net.sourceforge.pmd.lang.ast.impl.GenericNode<KotlinNode>,net.sourceforge.pmd.lang.ast.Node,KotlinNode,net.sourceforge.pmd.reporting.Reportable
- Enclosing class:
KotlinParser
@Generated("org.antlr.v4.Tool")
public static class KotlinParser.KtClassParameter
extends net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode<KotlinNode>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode
net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode.PmdAsAntlrInnerNode<N extends net.sourceforge.pmd.lang.ast.impl.antlr4.AntlrNode<N>>Nested classes/interfaces inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrNode
net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrNode.AntlrToPmdParseTreeAdapter<N extends net.sourceforge.pmd.lang.ast.impl.antlr4.AntlrNode<N>> -
Field Summary
Fields inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode
exceptionFields inherited from interface net.sourceforge.pmd.lang.ast.Node
COORDS_COMPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionKtClassParameter(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState) -
Method Summary
Modifier and TypeMethodDescription<P,R> R acceptVisitor(net.sourceforge.pmd.lang.ast.AstVisitor<? super P, ? extends R> visitor, P data) protected net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode.PmdAsAntlrInnerNode<KotlinNode> org.antlr.v4.runtime.tree.TerminalNodeorg.antlr.v4.runtime.tree.TerminalNodeCOLON()voidenterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) voidexitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) intList<org.antlr.v4.runtime.tree.TerminalNode> NL()org.antlr.v4.runtime.tree.TerminalNodeNL(int i) type()org.antlr.v4.runtime.tree.TerminalNodeVAL()org.antlr.v4.runtime.tree.TerminalNodeVAR()Methods inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode
copyFrom, getChild, getFirstAntlrToken, getLastAntlrToken, getNumChildren, getRuleContext, getRuleContexts, getToken, getTokensMethods inherited from class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrNode
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getIndexInParent, getParent, getTextRegion, getUserMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sourceforge.pmd.lang.ast.impl.GenericNode
ancestors, ancestorsOrSelf, asStream, children, descendants, descendantsOrSelf, getChild, getFirstChild, getLastChild, getNextSibling, getParent, getPreviousSiblingMethods 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
-
Constructor Details
-
KtClassParameter
public KtClassParameter(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
-
Method Details
-
simpleIdentifier
-
COLON
public org.antlr.v4.runtime.tree.TerminalNode COLON() -
type
-
modifiers
-
NL
-
NL
public org.antlr.v4.runtime.tree.TerminalNode NL(int i) -
ASSIGNMENT
public org.antlr.v4.runtime.tree.TerminalNode ASSIGNMENT() -
expression
-
VAL
public org.antlr.v4.runtime.tree.TerminalNode VAL() -
VAR
public org.antlr.v4.runtime.tree.TerminalNode VAR() -
getRuleIndex
public int getRuleIndex()- Specified by:
getRuleIndexin classnet.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode<KotlinNode>
-
enterRule
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) - Overrides:
enterRulein classnet.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode<KotlinNode>
-
exitRule
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) - Overrides:
exitRulein classnet.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode<KotlinNode>
-
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
-
asAntlrNode
protected net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode.PmdAsAntlrInnerNode<KotlinNode> asAntlrNode()- Overrides:
asAntlrNodein classnet.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode<KotlinNode>
-
getXPathNodeName
- Specified by:
getXPathNodeNamein interfacenet.sourceforge.pmd.lang.ast.Node
-