Package: org.apache.groovy.parser.antlr4

## [Java] Class GroovyParser.TypeDeclarationContext

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

-     public static class GroovyParser.TypeDeclarationContext
      extends GroovyParserRuleContext

- - ### Constructor Summary

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

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `<Result>` | `public Result` | `accept(ParseTreeVisitor<? extends Result> visitor)`
    `` | `public ClassDeclarationContext` | `classDeclaration()`
    `` | `public ClassOrInterfaceModifiersOptContext` | `classOrInterfaceModifiersOpt()`
    `` | `public int` | `getRuleIndex()`

- - ### Constructor Detail

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

  - ### Method Detail

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

    - #### public ClassDeclarationContext classDeclaration()

    - #### public ClassOrInterfaceModifiersOptContext classOrInterfaceModifiersOpt()

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