Class GroovyParser.VariableDeclarationContext

java.lang.Object
org.antlr.v4.runtime.RuleContext
org.antlr.v4.runtime.ParserRuleContext
org.apache.groovy.parser.antlr4.GroovyParser.GroovyParserRuleContext
org.apache.groovy.parser.antlr4.GroovyParser.VariableDeclarationContext
All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTree, org.antlr.v4.runtime.tree.RuleNode, org.antlr.v4.runtime.tree.SyntaxTree, org.antlr.v4.runtime.tree.Tree, NodeMetaDataHandler
Enclosing class:
GroovyParser

public static class GroovyParser.VariableDeclarationContext extends GroovyParser.GroovyParserRuleContext
  • Field Details

    • t

      public int t
  • Constructor Details

    • VariableDeclarationContext

      public VariableDeclarationContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
    • VariableDeclarationContext

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

    • modifiers

      public GroovyParser.ModifiersContext modifiers()
    • variableDeclarators

      public GroovyParser.VariableDeclaratorsContext variableDeclarators()
    • typeNamePairs

      public GroovyParser.TypeNamePairsContext typeNamePairs()
    • ASSIGN

      public org.antlr.v4.runtime.tree.TerminalNode ASSIGN()
    • variableInitializer

      public GroovyParser.VariableInitializerContext variableInitializer()
    • NL

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

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

      public GroovyParser.TypeContext type()
    • getRuleIndex

      public int getRuleIndex()
      Overrides:
      getRuleIndex in class org.antlr.v4.runtime.RuleContext
    • accept

      public <Result> Result accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends Result> visitor)
      Specified by:
      accept in interface org.antlr.v4.runtime.tree.ParseTree
      Overrides:
      accept in class org.antlr.v4.runtime.RuleContext