GroovyParser.CompilationUnitContext (groovy 3.0.7 API)

Package: org.apache.groovy.parser.antlr4

## [Java] Class GroovyParser.CompilationUnitContext

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

-     public static class GroovyParser.CompilationUnitContext
      extends GroovyParserRuleContext

- - ### Constructor Summary

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

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public TerminalNode` | `EOF()`
    `<Result>` | `public Result` | `accept(ParseTreeVisitor<? extends Result> visitor)`
    `` | `public int` | `getRuleIndex()`
    `` | `public NlsContext` | `nls()`
    `` | `public PackageDeclarationContext` | `packageDeclaration()`
    `` | `public ScriptStatementsContext` | `scriptStatements()`
    `` | `public SepContext` | `sep()`

- - ### Constructor Detail

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

  - ### Method Detail

    - #### public TerminalNode EOF()

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

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

    - #### public NlsContext nls()

    - #### public PackageDeclarationContext packageDeclaration()

    - #### public ScriptStatementsContext scriptStatements()

    - #### public SepContext sep()