Class KotlinParser.KtForStatement
- 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.KotlinInnerNode
-
- net.sourceforge.pmd.lang.kotlin.ast.KotlinParser.KtForStatement
-
- All Implemented Interfaces:
AntlrNode<KotlinNode>,GenericNode<KotlinNode>,Node,KotlinNode,Reportable
- Enclosing class:
- KotlinParser
public static class KotlinParser.KtForStatement extends KotlinInnerNode
-
-
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 KtForStatement(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <P,R>
RacceptVisitor(AstVisitor<? super P,? extends R> visitor, P data)List<KotlinParser.KtAnnotation>annotation()KotlinParser.KtAnnotationannotation(int i)KotlinParser.KtControlStructureBodycontrolStructureBody()voidenterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)voidexitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)KotlinParser.KtExpressionexpression()org.antlr.v4.runtime.tree.TerminalNodeFOR()intgetRuleIndex()org.antlr.v4.runtime.tree.TerminalNodeIN()org.antlr.v4.runtime.tree.TerminalNodeLPAREN()KotlinParser.KtMultiVariableDeclarationmultiVariableDeclaration()List<org.antlr.v4.runtime.tree.TerminalNode>NL()org.antlr.v4.runtime.tree.TerminalNodeNL(int i)org.antlr.v4.runtime.tree.TerminalNodeRPAREN()KotlinParser.KtVariableDeclarationvariableDeclaration()-
Methods inherited from class net.sourceforge.pmd.lang.kotlin.ast.KotlinInnerNode
asAntlrNode, getXPathNodeName
-
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, 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
-
FOR
public org.antlr.v4.runtime.tree.TerminalNode FOR()
-
LPAREN
public org.antlr.v4.runtime.tree.TerminalNode LPAREN()
-
IN
public org.antlr.v4.runtime.tree.TerminalNode IN()
-
expression
public KotlinParser.KtExpression expression()
-
RPAREN
public org.antlr.v4.runtime.tree.TerminalNode RPAREN()
-
variableDeclaration
public KotlinParser.KtVariableDeclaration variableDeclaration()
-
multiVariableDeclaration
public KotlinParser.KtMultiVariableDeclaration multiVariableDeclaration()
-
NL
public List<org.antlr.v4.runtime.tree.TerminalNode> NL()
-
NL
public org.antlr.v4.runtime.tree.TerminalNode NL(int i)
-
annotation
public List<KotlinParser.KtAnnotation> annotation()
-
annotation
public KotlinParser.KtAnnotation annotation(int i)
-
controlStructureBody
public KotlinParser.KtControlStructureBody controlStructureBody()
-
getRuleIndex
public int getRuleIndex()
- Specified by:
getRuleIndexin classBaseAntlrInnerNode<KotlinNode>
-
enterRule
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
enterRulein classBaseAntlrInnerNode<KotlinNode>
-
exitRule
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
exitRulein classBaseAntlrInnerNode<KotlinNode>
-
acceptVisitor
public <P,R> R acceptVisitor(AstVisitor<? super P,? extends R> visitor, P data)
- Specified by:
acceptVisitorin interfaceNode- Overrides:
acceptVisitorin classKotlinInnerNode
-
-