Class KotlinParser.KtTryExpression

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.KtTryExpression
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.KtTryExpression 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
    KtTryExpression(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)
     
    protected net.sourceforge.pmd.lang.ast.impl.antlr4.BaseAntlrInnerNode.PmdAsAntlrInnerNode<KotlinNode>
     
     
     
    catchBlock(int i)
     
    void
    enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
     
    void
    exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
     
     
    int
     
     
    List<org.antlr.v4.runtime.tree.TerminalNode>
    NL()
     
    org.antlr.v4.runtime.tree.TerminalNode
    NL(int i)
     
    org.antlr.v4.runtime.tree.TerminalNode
    TRY()
     

    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

    • KtTryExpression

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

    • TRY

      public org.antlr.v4.runtime.tree.TerminalNode TRY()
    • block

      public KotlinParser.KtBlock block()
    • finallyBlock

      public KotlinParser.KtFinallyBlock finallyBlock()
    • NL

      public List<org.antlr.v4.runtime.tree.TerminalNode> NL()
    • NL

      public org.antlr.v4.runtime.tree.TerminalNode NL(int i)
    • catchBlock

      public List<KotlinParser.KtCatchBlock> catchBlock()
    • catchBlock

      public KotlinParser.KtCatchBlock catchBlock(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