Class KotlinParser.KtCollectionLiteral

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.KtCollectionLiteral
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.KtCollectionLiteral 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
    KtCollectionLiteral(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>
     
    List<org.antlr.v4.runtime.tree.TerminalNode>
     
    org.antlr.v4.runtime.tree.TerminalNode
    COMMA(int i)
     
    void
    enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
     
    void
    exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
     
     
    expression(int i)
     
    int
     
     
    org.antlr.v4.runtime.tree.TerminalNode
     
    List<org.antlr.v4.runtime.tree.TerminalNode>
    NL()
     
    org.antlr.v4.runtime.tree.TerminalNode
    NL(int i)
     
    org.antlr.v4.runtime.tree.TerminalNode
     

    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

    • KtCollectionLiteral

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

    • LSQUARE

      public org.antlr.v4.runtime.tree.TerminalNode LSQUARE()
    • RSQUARE

      public org.antlr.v4.runtime.tree.TerminalNode RSQUARE()
    • NL

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

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

      public List<KotlinParser.KtExpression> expression()
    • expression

      public KotlinParser.KtExpression expression(int i)
    • COMMA

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

      public org.antlr.v4.runtime.tree.TerminalNode COMMA(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