Class KotlinParser.KtStatement

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.KtStatement
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.KtStatement 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

    exception

    Fields inherited from interface net.sourceforge.pmd.lang.ast.Node

    COORDS_COMPARATOR
  • Constructor Summary

    Constructors
    Constructor
    Description
    KtStatement(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <P, R> R
    acceptVisitor(net.sourceforge.pmd.lang.ast.AstVisitor<? super P,? extends R> visitor, P data)
     
     
    annotation(int i)
     
    protected net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode.PmdAsAntlrInnerNode<KotlinNode>
     
     
     
    void
    enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
     
    void
    exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
     
     
    int
     
     
     
    label(int i)
     
     

    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
  • Constructor Details

    • KtStatement

      public KtStatement(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
  • Method Details

    • declaration

      public KotlinParser.KtDeclaration declaration()
    • assignment

      public KotlinParser.KtAssignment assignment()
    • loopStatement

      public KotlinParser.KtLoopStatement loopStatement()
    • expression

      public KotlinParser.KtExpression expression()
    • label

      public List<KotlinParser.KtLabel> label()
    • label

      public KotlinParser.KtLabel label(int i)
    • annotation

      public List<KotlinParser.KtAnnotation> annotation()
    • annotation

      public KotlinParser.KtAnnotation annotation(int i)
    • getRuleIndex

      public int getRuleIndex()
      Specified by:
      getRuleIndex in class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode<KotlinNode>
    • enterRule

      public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
      Overrides:
      enterRule in class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode<KotlinNode>
    • exitRule

      public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
      Overrides:
      exitRule in class net.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:
      acceptVisitor in interface net.sourceforge.pmd.lang.ast.Node
    • asAntlrNode

      protected net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode.PmdAsAntlrInnerNode<KotlinNode> asAntlrNode()
      Overrides:
      asAntlrNode in class net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode<KotlinNode>
    • getXPathNodeName

      public String getXPathNodeName()
      Specified by:
      getXPathNodeName in interface net.sourceforge.pmd.lang.ast.Node