Package: org.apache.groovy.parser.antlr4

## [Java] Class GroovyParser.ClosureContext

- org.apache.groovy.parser.antlr4.GroovyParser.ClosureContext

-     public static class GroovyParser.ClosureContext
      extends GroovyParser.GroovyParserRuleContext

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ClosureContext(ParserRuleContext parent, int invokingState)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public TerminalNode` | `ARROW()`
    `` | `public TerminalNode` | `LBRACE()`
    `` | `public TerminalNode` | `RBRACE()`
    `<Result>` | `public Result` | `accept(ParseTreeVisitor<? extends Result> visitor)`
    `` | `public GroovyParser.BlockStatementsOptContext` | `blockStatementsOpt()`
    `` | `public GroovyParser.FormalParameterListContext` | `formalParameterList()`
    `` | `public int` | `getRuleIndex()`
    `` | `public List<? extends NlsContext>` | `nls()`
    `` | `public NlsContext` | `nls(int i)`
    `` | `public SepContext` | `sep()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class GroovyParser.GroovyParserRuleContext` | `getMetaDataMap, setMetaDataMap`

- - ### Constructor Detail

    - #### public ClosureContext(ParserRuleContext parent, int invokingState)

  - ### Method Detail

    - #### public TerminalNode ARROW()

    - #### public TerminalNode LBRACE()

    - #### public TerminalNode RBRACE()

    - #### <Result> @Override
      public Result accept(ParseTreeVisitor<? extends Result> visitor)

    - #### public GroovyParser.BlockStatementsOptContext blockStatementsOpt()

    - #### public GroovyParser.FormalParameterListContext formalParameterList()

    - #### @Override
      public int getRuleIndex()

    - #### public List<? extends NlsContext> nls()

    - #### public NlsContext nls(int i)

    - #### public SepContext sep()