Package: org.apache.groovy.parser.antlr4

## [Java] Class GroovyParser

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

-     public class GroovyParser
      extends AbstractParser

- - ### Nested Class Summary

    Nested classes
    Modifiers | Name | Description
    --- | --- | ---
    `static class` | `GroovyParser.AdditiveExprAltContext` |
    `static class` | `GroovyParser.AndExprAltContext` |
    `static class` | `GroovyParser.AnnotatedQualifiedClassNameContext` |
    `static class` | `GroovyParser.AnnotationContext` |
    `static class` | `GroovyParser.AnnotationNameContext` |
    `static class` | `GroovyParser.AnnotationsOptContext` |
    `static class` | `GroovyParser.AnonymousInnerClassDeclarationContext` |
    `static class` | `GroovyParser.ArgumentsContext` |
    `static class` | `GroovyParser.ArrayInitializerContext` |
    `static class` | `GroovyParser.AssertStatementContext` |
    `static class` | `GroovyParser.AssertStmtAltContext` |
    `static class` | `GroovyParser.AssignmentExprAltContext` |
    `static class` | `GroovyParser.BlockContext` |
    `static class` | `GroovyParser.BlockStatementContext` |
    `static class` | `GroovyParser.BlockStatementsContext` |
    `static class` | `GroovyParser.BlockStatementsOptContext` |
    `static class` | `GroovyParser.BlockStmtAltContext` |
    `static class` | `GroovyParser.BooleanLiteralAltContext` |
    `static class` | `GroovyParser.BreakStatementContext` |
    `static class` | `GroovyParser.BreakStmtAltContext` |
    `static class` | `GroovyParser.BuiltInTypeContext` |
    `static class` | `GroovyParser.BuiltInTypePrmrAltContext` |
    `static class` | `GroovyParser.CastExprAltContext` |
    `static class` | `GroovyParser.CastParExpressionContext` |
    `static class` | `GroovyParser.CatchClauseContext` |
    `static class` | `GroovyParser.CatchTypeContext` |
    `static class` | `GroovyParser.ClassBodyContext` |
    `static class` | `GroovyParser.ClassBodyDeclarationContext` |
    `static class` | `GroovyParser.ClassDeclarationContext` |
    `static class` | `GroovyParser.ClassNameContext` |
    `static class` | `GroovyParser.ClassOrInterfaceModifierContext` |
    `static class` | `GroovyParser.ClassOrInterfaceModifiersContext` |
    `static class` | `GroovyParser.ClassOrInterfaceModifiersOptContext` |
    `static class` | `GroovyParser.ClassOrInterfaceTypeContext` |
    `static class` | `GroovyParser.ClassicalForControlContext` |
    `static class` | `GroovyParser.ClosureContext` |
    `static class` | `GroovyParser.ClosureOrLambdaExpressionContext` |
    `static class` | `GroovyParser.ClosureOrLambdaExpressionPrmrAltContext` |
    `static class` | `GroovyParser.CommandArgumentContext` |
    `static class` | `GroovyParser.CommandExprAltContext` |
    `static class` | `GroovyParser.CommandExpressionContext` |
    `static class` | `GroovyParser.CompilationUnitContext` |
    `static class` | `GroovyParser.ConditionalExprAltContext` |
    `static class` | `GroovyParser.ConditionalStatementContext` |
    `static class` | `GroovyParser.ConditionalStmtAltContext` |
    `static class` | `GroovyParser.ContinueStatementContext` |
    `static class` | `GroovyParser.ContinueStmtAltContext` |
    `static class` | `GroovyParser.CreatedNameContext` |
    `static class` | `GroovyParser.CreatorContext` |
    `static class` | `GroovyParser.DimContext` |
    `static class` | `GroovyParser.DoWhileStmtAltContext` |
    `static class` | `GroovyParser.DynamicMemberNameContext` |
    `static class` | `GroovyParser.ElementValueArrayInitializerContext` |
    `static class` | `GroovyParser.ElementValueContext` |
    `static class` | `GroovyParser.ElementValuePairContext` |
    `static class` | `GroovyParser.ElementValuePairNameContext` |
    `static class` | `GroovyParser.ElementValuePairsContext` |
    `static class` | `GroovyParser.ElementValuesContext` |
    `static class` | `GroovyParser.EmptyDimsContext` |
    `static class` | `GroovyParser.EmptyDimsOptContext` |
    `static class` | `GroovyParser.EmptyStmtAltContext` |
    `static class` | `GroovyParser.EnhancedArgumentListElementContext` |
    `static class` | `GroovyParser.EnhancedArgumentListInParContext` |
    `static class` | `GroovyParser.EnhancedForControlContext` |
    `static class` | `GroovyParser.EnhancedStatementExpressionContext` |
    `static class` | `GroovyParser.EnumConstantContext` |
    `static class` | `GroovyParser.EnumConstantsContext` |
    `static class` | `GroovyParser.EqualityExprAltContext` |
    `static class` | `GroovyParser.ExclusiveOrExprAltContext` |
    `static class` | `GroovyParser.ExpressionContext` |
    `static class` | `GroovyParser.ExpressionInParContext` |
    `static class` | `GroovyParser.ExpressionListContext` |
    `static class` | `GroovyParser.ExpressionListElementContext` |
    `static class` | `GroovyParser.ExpressionStmtAltContext` |
    `static class` | `GroovyParser.FieldDeclarationContext` |
    `static class` | `GroovyParser.FinallyBlockContext` |
    `static class` | `GroovyParser.FloatingPointLiteralAltContext` |
    `static class` | `GroovyParser.ForControlContext` |
    `static class` | `GroovyParser.ForInitContext` |
    `static class` | `GroovyParser.ForStmtAltContext` |
    `static class` | `GroovyParser.ForUpdateContext` |
    `static class` | `GroovyParser.FormalParameterContext` |
    `static class` | `GroovyParser.FormalParameterListContext` |
    `static class` | `GroovyParser.FormalParametersContext` |
    `static class` | `GroovyParser.GroovyParserRuleContext` |
    `static class` | `GroovyParser.GstringContext` |
    `static class` | `GroovyParser.GstringPathContext` |
    `static class` | `GroovyParser.GstringPrmrAltContext` |
    `static class` | `GroovyParser.GstringValueContext` |
    `static class` | `GroovyParser.IdentifierContext` |
    `static class` | `GroovyParser.IdentifierPrmrAltContext` |
    `static class` | `GroovyParser.IfElseStatementContext` |
    `static class` | `GroovyParser.ImportDeclarationContext` |
    `static class` | `GroovyParser.InclusiveOrExprAltContext` |
    `static class` | `GroovyParser.IndexPropertyArgsContext` |
    `static class` | `GroovyParser.IntegerLiteralAltContext` |
    `static class` | `GroovyParser.KeywordsContext` |
    `static class` | `GroovyParser.LabeledStmtAltContext` |
    `static class` | `GroovyParser.LambdaBodyContext` |
    `static class` | `GroovyParser.ListContext` |
    `static class` | `GroovyParser.ListPrmrAltContext` |
    `static class` | `GroovyParser.LiteralContext` |
    `static class` | `GroovyParser.LiteralPrmrAltContext` |
    `static class` | `GroovyParser.LocalVariableDeclarationContext` |
    `static class` | `GroovyParser.LocalVariableDeclarationStmtAltContext` |
    `static class` | `GroovyParser.LogicalAndExprAltContext` |
    `static class` | `GroovyParser.LogicalOrExprAltContext` |
    `static class` | `GroovyParser.LoopStatementContext` |
    `static class` | `GroovyParser.LoopStmtAltContext` |
    `static class` | `GroovyParser.MapContext` |
    `static class` | `GroovyParser.MapEntryContext` |
    `static class` | `GroovyParser.MapEntryLabelContext` |
    `static class` | `GroovyParser.MapEntryListContext` |
    `static class` | `GroovyParser.MapPrmrAltContext` |
    `static class` | `GroovyParser.MemberDeclarationContext` |
    `static class` | `GroovyParser.MethodBodyContext` |
    `static class` | `GroovyParser.MethodDeclarationContext` |
    `static class` | `GroovyParser.MethodDeclarationStmtAltContext` |
    `static class` | `GroovyParser.MethodNameContext` |
    `static class` | `GroovyParser.ModifierContext` |
    `static class` | `GroovyParser.ModifiersContext` |
    `static class` | `GroovyParser.ModifiersOptContext` |
    `static class` | `GroovyParser.MultipleAssignmentExprAltContext` |
    `static class` | `GroovyParser.MultiplicativeExprAltContext` |
    `static class` | `GroovyParser.NamePartContext` |
    `static class` | `GroovyParser.NamedPropertyArgsContext` |
    `static class` | `GroovyParser.NewPrmrAltContext` |
    `static class` | `GroovyParser.NlsContext` |
    `static class` | `GroovyParser.NonWildcardTypeArgumentsContext` |
    `static class` | `GroovyParser.NullLiteralAltContext` |
    `static class` | `GroovyParser.PackageDeclarationContext` |
    `static class` | `GroovyParser.ParExpressionContext` |
    `static class` | `GroovyParser.ParenPrmrAltContext` |
    `static class` | `GroovyParser.PathElementContext` |
    `static class` | `GroovyParser.PathExpressionContext` |
    `static class` | `GroovyParser.PostfixExprAltContext` |
    `static class` | `GroovyParser.PostfixExpressionContext` |
    `static class` | `GroovyParser.PowerExprAltContext` |
    `static class` | `GroovyParser.PrimaryContext` |
    `static class` | `GroovyParser.PrimitiveTypeContext` |
    `static class` | `GroovyParser.QualifiedClassNameContext` |
    `static class` | `GroovyParser.QualifiedClassNameListContext` |
    `static class` | `GroovyParser.QualifiedNameContext` |
    `static class` | `GroovyParser.QualifiedNameElementContext` |
    `static class` | `GroovyParser.QualifiedNameElementsContext` |
    `static class` | `GroovyParser.QualifiedStandardClassNameContext` |
    `static class` | `GroovyParser.RegexExprAltContext` |
    `static class` | `GroovyParser.RelationalExprAltContext` |
    `static class` | `GroovyParser.ResourceContext` |
    `static class` | `GroovyParser.ResourceListContext` |
    `static class` | `GroovyParser.ResourcesContext` |
    `static class` | `GroovyParser.ReturnStmtAltContext` |
    `static class` | `GroovyParser.ReturnTypeContext` |
    `static class` | `GroovyParser.RparenContext` |
    `static class` | `GroovyParser.ScriptStatementContext` |
    `static class` | `GroovyParser.ScriptStatementsContext` |
    `static class` | `GroovyParser.SepContext` |
    `static class` | `GroovyParser.ShiftExprAltContext` |
    `static class` | `GroovyParser.StandardLambdaExpressionContext` |
    `static class` | `GroovyParser.StandardLambdaParametersContext` |
    `static class` | `GroovyParser.StatementContext` |
    `static class` | `GroovyParser.StatementExpressionContext` |
    `static class` | `GroovyParser.StringLiteralAltContext` |
    `static class` | `GroovyParser.StringLiteralContext` |
    `static class` | `GroovyParser.SuperPrmrAltContext` |
    `static class` | `GroovyParser.SwitchBlockStatementGroupContext` |
    `static class` | `GroovyParser.SwitchLabelContext` |
    `static class` | `GroovyParser.SwitchStatementContext` |
    `static class` | `GroovyParser.SynchronizedStmtAltContext` |
    `static class` | `GroovyParser.ThisFormalParameterContext` |
    `static class` | `GroovyParser.ThisPrmrAltContext` |
    `static class` | `GroovyParser.ThrowStmtAltContext` |
    `static class` | `GroovyParser.TryCatchStatementContext` |
    `static class` | `GroovyParser.TryCatchStmtAltContext` |
    `static class` | `GroovyParser.TypeArgumentContext` |
    `static class` | `GroovyParser.TypeArgumentsContext` |
    `static class` | `GroovyParser.TypeArgumentsOrDiamondContext` |
    `static class` | `GroovyParser.TypeBoundContext` |
    `static class` | `GroovyParser.TypeContext` |
    `static class` | `GroovyParser.TypeDeclarationContext` |
    `static class` | `GroovyParser.TypeListContext` |
    `static class` | `GroovyParser.TypeNamePairContext` |
    `static class` | `GroovyParser.TypeNamePairsContext` |
    `static class` | `GroovyParser.TypeParameterContext` |
    `static class` | `GroovyParser.TypeParametersContext` |
    `static class` | `GroovyParser.UnaryAddExprAltContext` |
    `static class` | `GroovyParser.UnaryNotExprAltContext` |
    `static class` | `GroovyParser.VariableDeclarationContext` |
    `static class` | `GroovyParser.VariableDeclaratorContext` |
    `static class` | `GroovyParser.VariableDeclaratorIdContext` |
    `static class` | `GroovyParser.VariableDeclaratorsContext` |
    `static class` | `GroovyParser.VariableInitializerContext` |
    `static class` | `GroovyParser.VariableInitializersContext` |
    `static class` | `GroovyParser.VariableModifierContext` |
    `static class` | `GroovyParser.VariableModifiersContext` |
    `static class` | `GroovyParser.VariableModifiersOptContext` |
    `static class` | `GroovyParser.VariableNamesContext` |
    `static class` | `GroovyParser.WhileStmtAltContext` |

  - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static int` | `RULE_compilationUnit` |
    `static int` | `StringLiteral` |
    `static Vocabulary` | `VOCABULARY` |
    `static ATN` | `_ATN` |
    `static String` | `_serializedATN` |
    `static String[]` | `ruleNames` |
    `static String[]` | `tokenNames` | deprecated: Use VOCABULARY instead.

  - ### Constructor Summary

    Constructors
    Constructor and description
    `GroovyParser (TokenStream input)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `AnnotatedQualifiedClassNameContext` | `annotatedQualifiedClassName()`
    `` | `AnnotationContext` | `annotation()`
    `` | `AnnotationNameContext` | `annotationName()`
    `` | `AnnotationsOptContext` | `annotationsOpt()`
    `` | `AnonymousInnerClassDeclarationContext` | `anonymousInnerClassDeclaration(int t)`
    `` | `EnhancedArgumentListInParContext` | `argumentList()`
    `` | `EnhancedArgumentListElementContext` | `argumentListElement()`
    `` | `ArgumentsContext` | `arguments()`
    `` | `ArrayInitializerContext` | `arrayInitializer()`
    `` | `AssertStatementContext` | `assertStatement()`
    `` | `BlockContext` | `block()`
    `` | `BlockStatementContext` | `blockStatement()`
    `` | `BlockStatementsContext` | `blockStatements()`
    `` | `BlockStatementsOptContext` | `blockStatementsOpt()`
    `` | `BreakStatementContext` | `breakStatement()`
    `` | `BuiltInTypeContext` | `builtInType()`
    `` | `ExpressionContext` | `castOperandExpression()`
    `` | `CastParExpressionContext` | `castParExpression()`
    `` | `CatchClauseContext` | `catchClause()`
    `` | `CatchTypeContext` | `catchType()`
    `` | `ClassBodyContext` | `classBody(int t)`
    `` | `ClassBodyDeclarationContext` | `classBodyDeclaration(int t)`
    `` | `ClassDeclarationContext` | `classDeclaration()`
    `` | `ClassNameContext` | `className()`
    `` | `ClassOrInterfaceModifierContext` | `classOrInterfaceModifier()`
    `` | `ClassOrInterfaceModifiersContext` | `classOrInterfaceModifiers()`
    `` | `ClassOrInterfaceModifiersOptContext` | `classOrInterfaceModifiersOpt()`
    `` | `ClassOrInterfaceTypeContext` | `classOrInterfaceType()`
    `` | `ClassicalForControlContext` | `classicalForControl()`
    `` | `ClosureContext` | `closure()`
    `` | `ClosureOrLambdaExpressionContext` | `closureOrLambdaExpression()`
    `` | `CommandArgumentContext` | `commandArgument()`
    `` | `CommandExpressionContext` | `commandExpression()`
    `` | `PrimaryContext` | `commandPrimary()`
    `` | `CompilationUnitContext` | `compilationUnit()`
    `` | `ConditionalStatementContext` | `conditionalStatement()`
    `` | `ContinueStatementContext` | `continueStatement()`
    `` | `protected FailedPredicateException` | `createFailedPredicateException(String predicate, String message)`
    `` | `CreatedNameContext` | `createdName()`
    `` | `CreatorContext` | `creator(int t)`
    `` | `DimContext` | `dim()`
    `` | `DynamicMemberNameContext` | `dynamicMemberName()`
    `` | `ElementValueContext` | `elementValue()`
    `` | `ElementValueArrayInitializerContext` | `elementValueArrayInitializer()`
    `` | `ElementValuePairContext` | `elementValuePair()`
    `` | `ElementValuePairNameContext` | `elementValuePairName()`
    `` | `ElementValuePairsContext` | `elementValuePairs()`
    `` | `ElementValuesContext` | `elementValues()`
    `` | `EmptyDimsContext` | `emptyDims()`
    `` | `EmptyDimsOptContext` | `emptyDimsOpt()`
    `` | `EnhancedArgumentListInParContext` | `enhancedArgumentList()`
    `` | `EnhancedArgumentListElementContext` | `enhancedArgumentListElement()`
    `` | `EnhancedArgumentListInParContext` | `enhancedArgumentListInPar()`
    `` | `EnhancedForControlContext` | `enhancedForControl()`
    `` | `EnhancedStatementExpressionContext` | `enhancedStatementExpression()`
    `` | `EnumConstantContext` | `enumConstant()`
    `` | `EnumConstantsContext` | `enumConstants()`
    `` | `ExpressionContext` | `expression()`
    `` | `ExpressionInParContext` | `expressionInPar()`
    `` | `ExpressionListContext` | `expressionList(boolean canSpread)`
    `` | `ExpressionListElementContext` | `expressionListElement(boolean canSpread)`
    `` | `FieldDeclarationContext` | `fieldDeclaration()`
    `` | `FinallyBlockContext` | `finallyBlock()`
    `` | `EnhancedArgumentListElementContext` | `firstArgumentListElement()`
    `` | `EnhancedArgumentListElementContext` | `firstEnhancedArgumentListElement()`
    `` | `ForControlContext` | `forControl()`
    `` | `ForInitContext` | `forInit()`
    `` | `ForUpdateContext` | `forUpdate()`
    `` | `FormalParameterContext` | `formalParameter()`
    `` | `FormalParameterListContext` | `formalParameterList()`
    `` | `FormalParametersContext` | `formalParameters()`
    `` | `ClassOrInterfaceTypeContext` | `generalClassOrInterfaceType()`
    `` | `int` | `getErrorColumn()`
    `` | `int` | `getErrorLine()`
    `` | `String` | `getGrammarFileName()`
    `` | `String[]` | `getRuleNames()`
    `` | `String` | `getSerializedATN()`
    `` | `int` | `getSyntaxErrorSource()`
    `` | `String[]` | `getTokenNames()`
    `` | `Vocabulary` | `getVocabulary()`
    `` | `GstringContext` | `gstring()`
    `` | `GstringPathContext` | `gstringPath()`
    `` | `GstringValueContext` | `gstringValue()`
    `` | `IdentifierContext` | `identifier()`
    `` | `IfElseStatementContext` | `ifElseStatement()`
    `` | `ImportDeclarationContext` | `importDeclaration()`
    `` | `IndexPropertyArgsContext` | `indexPropertyArgs()`
    `` | `KeywordsContext` | `keywords()`
    `` | `LambdaBodyContext` | `lambdaBody()`
    `` | `StandardLambdaExpressionContext` | `lambdaExpression()`
    `` | `StandardLambdaParametersContext` | `lambdaParameters()`
    `` | `ListContext` | `list()`
    `` | `LiteralContext` | `literal()`
    `` | `LocalVariableDeclarationContext` | `localVariableDeclaration()`
    `` | `LoopStatementContext` | `loopStatement()`
    `` | `MapContext` | `map()`
    `` | `MapEntryContext` | `mapEntry()`
    `` | `MapEntryLabelContext` | `mapEntryLabel()`
    `` | `MapEntryListContext` | `mapEntryList()`
    `` | `MemberDeclarationContext` | `memberDeclaration(int t)`
    `` | `MethodBodyContext` | `methodBody()`
    `` | `MethodDeclarationContext` | `methodDeclaration(int t, int ct)`
    `` | `MethodNameContext` | `methodName()`
    `` | `ModifierContext` | `modifier()`
    `` | `ModifiersContext` | `modifiers()`
    `` | `ModifiersOptContext` | `modifiersOpt()`
    `` | `NamePartContext` | `namePart()`
    `` | `MapEntryContext` | `namedArg()`
    `` | `MapEntryLabelContext` | `namedArgLabel()`
    `` | `PrimaryContext` | `namedArgPrimary()`
    `` | `MapEntryContext` | `namedPropertyArg()`
    `` | `MapEntryLabelContext` | `namedPropertyArgLabel()`
    `` | `MapEntryListContext` | `namedPropertyArgList()`
    `` | `PrimaryContext` | `namedPropertyArgPrimary()`
    `` | `NamedPropertyArgsContext` | `namedPropertyArgs()`
    `` | `NlsContext` | `nls()`
    `` | `NonWildcardTypeArgumentsContext` | `nonWildcardTypeArguments()`
    `` | `PackageDeclarationContext` | `packageDeclaration()`
    `` | `ParExpressionContext` | `parExpression()`
    `` | `PathElementContext` | `pathElement()`
    `` | `PathExpressionContext` | `pathExpression()`
    `` | `PostfixExpressionContext` | `postfixExpression()`
    `` | `PrimaryContext` | `primary()`
    `` | `PrimitiveTypeContext` | `primitiveType()`
    `` | `QualifiedClassNameContext` | `qualifiedClassName()`
    `` | `QualifiedClassNameListContext` | `qualifiedClassNameList()`
    `` | `QualifiedNameContext` | `qualifiedName()`
    `` | `QualifiedNameElementContext` | `qualifiedNameElement()`
    `` | `QualifiedNameElementsContext` | `qualifiedNameElements()`
    `` | `QualifiedStandardClassNameContext` | `qualifiedStandardClassName()`
    `` | `ResourceContext` | `resource()`
    `` | `ResourceListContext` | `resourceList()`
    `` | `ResourcesContext` | `resources()`
    `` | `ReturnTypeContext` | `returnType(int ct)`
    `` | `RparenContext` | `rparen()`
    `` | `ScriptStatementContext` | `scriptStatement()`
    `` | `ScriptStatementsContext` | `scriptStatements()`
    `` | `boolean` | `sempred(RuleContext _localctx, int ruleIndex, int predIndex)`
    `` | `SepContext` | `sep()`
    `` | `ClassOrInterfaceTypeContext` | `standardClassOrInterfaceType()`
    `` | `StandardLambdaExpressionContext` | `standardLambdaExpression()`
    `` | `StandardLambdaParametersContext` | `standardLambdaParameters()`
    `` | `TypeContext` | `standardType()`
    `` | `StatementContext` | `statement()`
    `` | `StatementExpressionContext` | `statementExpression()`
    `` | `StringLiteralContext` | `stringLiteral()`
    `` | `SwitchBlockStatementGroupContext` | `switchBlockStatementGroup()`
    `` | `SwitchLabelContext` | `switchLabel()`
    `` | `SwitchStatementContext` | `switchStatement()`
    `` | `ThisFormalParameterContext` | `thisFormalParameter()`
    `` | `TryCatchStatementContext` | `tryCatchStatement()`
    `` | `TypeContext` | `type()`
    `` | `TypeArgumentContext` | `typeArgument()`
    `` | `TypeArgumentsContext` | `typeArguments()`
    `` | `TypeArgumentsOrDiamondContext` | `typeArgumentsOrDiamond()`
    `` | `TypeBoundContext` | `typeBound()`
    `` | `TypeDeclarationContext` | `typeDeclaration()`
    `` | `TypeListContext` | `typeList()`
    `` | `TypeNamePairContext` | `typeNamePair()`
    `` | `TypeNamePairsContext` | `typeNamePairs()`
    `` | `TypeParameterContext` | `typeParameter()`
    `` | `TypeParametersContext` | `typeParameters()`
    `` | `VariableDeclarationContext` | `variableDeclaration(int t)`
    `` | `VariableDeclaratorContext` | `variableDeclarator()`
    `` | `VariableDeclaratorIdContext` | `variableDeclaratorId()`
    `` | `VariableDeclaratorsContext` | `variableDeclarators()`
    `` | `VariableInitializerContext` | `variableInitializer()`
    `` | `VariableInitializersContext` | `variableInitializers()`
    `` | `VariableModifierContext` | `variableModifier()`
    `` | `VariableModifiersContext` | `variableModifiers()`
    `` | `VariableModifiersOptContext` | `variableModifiersOpt()`
    `` | `VariableNamesContext` | `variableNames()`

- - ### Field Detail

    - #### public static final int RULE_compilationUnit

    - #### public static final int StringLiteral

    - #### public static final Vocabulary VOCABULARY

    - #### public static final ATN _ATN

    - #### public static final String _serializedATN

    - #### public static final String[] ruleNames

    - #### @Deprecated public static final String[] tokenNames

      deprecated:
        Use VOCABULARY instead.

  - ### Constructor Detail

    - #### public GroovyParser(TokenStream input)

  - ### Method Detail

    - #### @RuleVersion(0) public final AnnotatedQualifiedClassNameContext annotatedQualifiedClassName()

    - #### @RuleVersion(0) public final AnnotationContext annotation()

    - #### @RuleVersion(0) public final AnnotationNameContext annotationName()

    - #### @RuleVersion(0) public final AnnotationsOptContext annotationsOpt()

    - #### @RuleVersion(0) public final AnonymousInnerClassDeclarationContext anonymousInnerClassDeclaration(int t)

    - #### @RuleVersion(0) public final EnhancedArgumentListInParContext argumentList()

    - #### @RuleVersion(0) public final EnhancedArgumentListElementContext argumentListElement()

    - #### @RuleVersion(0) public final ArgumentsContext arguments()

    - #### @RuleVersion(0) public final ArrayInitializerContext arrayInitializer()

    - #### @RuleVersion(0) public final AssertStatementContext assertStatement()

    - #### @RuleVersion(0) public final BlockContext block()

    - #### @RuleVersion(0) public final BlockStatementContext blockStatement()

    - #### @RuleVersion(0) public final BlockStatementsContext blockStatements()

    - #### @RuleVersion(0) public final BlockStatementsOptContext blockStatementsOpt()

    - #### @RuleVersion(0) public final BreakStatementContext breakStatement()

    - #### @RuleVersion(0) public final BuiltInTypeContext builtInType()

    - #### @RuleVersion(0) public final ExpressionContext castOperandExpression()

    - #### @RuleVersion(0) public final CastParExpressionContext castParExpression()

    - #### @RuleVersion(0) public final CatchClauseContext catchClause()

    - #### @RuleVersion(0) public final CatchTypeContext catchType()

    - #### @RuleVersion(0) public final ClassBodyContext classBody(int t)

    - #### @RuleVersion(0) public final ClassBodyDeclarationContext classBodyDeclaration(int t)

    - #### @RuleVersion(0) public final ClassDeclarationContext classDeclaration()

    - #### @RuleVersion(0) public final ClassNameContext className()

    - #### @RuleVersion(0) public final ClassOrInterfaceModifierContext classOrInterfaceModifier()

    - #### @RuleVersion(0) public final ClassOrInterfaceModifiersContext classOrInterfaceModifiers()

    - #### @RuleVersion(0) public final ClassOrInterfaceModifiersOptContext classOrInterfaceModifiersOpt()

    - #### @RuleVersion(0) public final ClassOrInterfaceTypeContext classOrInterfaceType()

    - #### @RuleVersion(0) public final ClassicalForControlContext classicalForControl()

    - #### @RuleVersion(0) public final ClosureContext closure()

    - #### @RuleVersion(0) public final ClosureOrLambdaExpressionContext closureOrLambdaExpression()

    - #### @RuleVersion(0) public final CommandArgumentContext commandArgument()

    - #### @RuleVersion(0) public final CommandExpressionContext commandExpression()

    - #### @RuleVersion(0) public final PrimaryContext commandPrimary()

    - #### @RuleVersion(0) public final CompilationUnitContext compilationUnit()

    - #### @RuleVersion(0) public final ConditionalStatementContext conditionalStatement()

    - #### @RuleVersion(0) public final ContinueStatementContext continueStatement()

    - #### @NotNull protected FailedPredicateException createFailedPredicateException(@Nullable String predicate, @Nullable String message)

    - #### @RuleVersion(0) public final CreatedNameContext createdName()

    - #### @RuleVersion(0) public final CreatorContext creator(int t)

    - #### @RuleVersion(0) public final DimContext dim()

    - #### @RuleVersion(0) public final DynamicMemberNameContext dynamicMemberName()

    - #### @RuleVersion(0) public final ElementValueContext elementValue()

    - #### @RuleVersion(0) public final ElementValueArrayInitializerContext elementValueArrayInitializer()

    - #### @RuleVersion(0) public final ElementValuePairContext elementValuePair()

    - #### @RuleVersion(0) public final ElementValuePairNameContext elementValuePairName()

    - #### @RuleVersion(0) public final ElementValuePairsContext elementValuePairs()

    - #### @RuleVersion(0) public final ElementValuesContext elementValues()

    - #### @RuleVersion(0) public final EmptyDimsContext emptyDims()

    - #### @RuleVersion(0) public final EmptyDimsOptContext emptyDimsOpt()

    - #### @RuleVersion(0) public final EnhancedArgumentListInParContext enhancedArgumentList()

    - #### @RuleVersion(0) public final EnhancedArgumentListElementContext enhancedArgumentListElement()

    - #### @RuleVersion(0) public final EnhancedArgumentListInParContext enhancedArgumentListInPar()

    - #### @RuleVersion(0) public final EnhancedForControlContext enhancedForControl()

    - #### @RuleVersion(0) public final EnhancedStatementExpressionContext enhancedStatementExpression()

    - #### @RuleVersion(0) public final EnumConstantContext enumConstant()

    - #### @RuleVersion(0) public final EnumConstantsContext enumConstants()

    - #### @RuleVersion(0) public final ExpressionContext expression()

    - #### @RuleVersion(0) public final ExpressionInParContext expressionInPar()

    - #### @RuleVersion(0) public final ExpressionListContext expressionList(boolean canSpread)

    - #### @RuleVersion(0) public final ExpressionListElementContext expressionListElement(boolean canSpread)

    - #### @RuleVersion(0) public final FieldDeclarationContext fieldDeclaration()

    - #### @RuleVersion(0) public final FinallyBlockContext finallyBlock()

    - #### @RuleVersion(0) public final EnhancedArgumentListElementContext firstArgumentListElement()

    - #### @RuleVersion(0) public final EnhancedArgumentListElementContext firstEnhancedArgumentListElement()

    - #### @RuleVersion(0) public final ForControlContext forControl()

    - #### @RuleVersion(0) public final ForInitContext forInit()

    - #### @RuleVersion(0) public final ForUpdateContext forUpdate()

    - #### @RuleVersion(0) public final FormalParameterContext formalParameter()

    - #### @RuleVersion(0) public final FormalParameterListContext formalParameterList()

    - #### @RuleVersion(0) public final FormalParametersContext formalParameters()

    - #### @RuleVersion(0) public final ClassOrInterfaceTypeContext generalClassOrInterfaceType()

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

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

    - #### @Override public String getGrammarFileName()

    - #### @Override public String[] getRuleNames()

    - #### @Override public String getSerializedATN()

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

    - #### @Override @Deprecated public String[] getTokenNames()

    - #### @Override @NotNull public Vocabulary getVocabulary()

    - #### @RuleVersion(0) public final GstringContext gstring()

    - #### @RuleVersion(0) public final GstringPathContext gstringPath()

    - #### @RuleVersion(0) public final GstringValueContext gstringValue()

    - #### @RuleVersion(0) public final IdentifierContext identifier()

    - #### @RuleVersion(0) public final IfElseStatementContext ifElseStatement()

    - #### @RuleVersion(0) public final ImportDeclarationContext importDeclaration()

    - #### @RuleVersion(0) public final IndexPropertyArgsContext indexPropertyArgs()

    - #### @RuleVersion(0) public final KeywordsContext keywords()

    - #### @RuleVersion(0) public final LambdaBodyContext lambdaBody()

    - #### @RuleVersion(0) public final StandardLambdaExpressionContext lambdaExpression()

    - #### @RuleVersion(0) public final StandardLambdaParametersContext lambdaParameters()

    - #### @RuleVersion(0) public final ListContext list()

    - #### @RuleVersion(0) public final LiteralContext literal()

    - #### @RuleVersion(0) public final LocalVariableDeclarationContext localVariableDeclaration()

    - #### @RuleVersion(0) public final LoopStatementContext loopStatement()

    - #### @RuleVersion(0) public final MapContext map()

    - #### @RuleVersion(0) public final MapEntryContext mapEntry()

    - #### @RuleVersion(0) public final MapEntryLabelContext mapEntryLabel()

    - #### @RuleVersion(0) public final MapEntryListContext mapEntryList()

    - #### @RuleVersion(0) public final MemberDeclarationContext memberDeclaration(int t)

    - #### @RuleVersion(0) public final MethodBodyContext methodBody()

    - #### @RuleVersion(0) public final MethodDeclarationContext methodDeclaration(int t, int ct)

    - #### @RuleVersion(0) public final MethodNameContext methodName()

    - #### @RuleVersion(0) public final ModifierContext modifier()

    - #### @RuleVersion(0) public final ModifiersContext modifiers()

    - #### @RuleVersion(0) public final ModifiersOptContext modifiersOpt()

    - #### @RuleVersion(0) public final NamePartContext namePart()

    - #### @RuleVersion(0) public final MapEntryContext namedArg()

    - #### @RuleVersion(0) public final MapEntryLabelContext namedArgLabel()

    - #### @RuleVersion(0) public final PrimaryContext namedArgPrimary()

    - #### @RuleVersion(0) public final MapEntryContext namedPropertyArg()

    - #### @RuleVersion(0) public final MapEntryLabelContext namedPropertyArgLabel()

    - #### @RuleVersion(0) public final MapEntryListContext namedPropertyArgList()

    - #### @RuleVersion(0) public final PrimaryContext namedPropertyArgPrimary()

    - #### @RuleVersion(0) public final NamedPropertyArgsContext namedPropertyArgs()

    - #### @RuleVersion(0) public final NlsContext nls()

    - #### @RuleVersion(0) public final NonWildcardTypeArgumentsContext nonWildcardTypeArguments()

    - #### @RuleVersion(0) public final PackageDeclarationContext packageDeclaration()

    - #### @RuleVersion(0) public final ParExpressionContext parExpression()

    - #### @RuleVersion(0) public final PathElementContext pathElement()

    - #### @RuleVersion(0) public final PathExpressionContext pathExpression()

    - #### @RuleVersion(0) public final PostfixExpressionContext postfixExpression()

    - #### @RuleVersion(0) public final PrimaryContext primary()

    - #### @RuleVersion(0) public final PrimitiveTypeContext primitiveType()

    - #### @RuleVersion(0) public final QualifiedClassNameContext qualifiedClassName()

    - #### @RuleVersion(0) public final QualifiedClassNameListContext qualifiedClassNameList()

    - #### @RuleVersion(0) public final QualifiedNameContext qualifiedName()

    - #### @RuleVersion(0) public final QualifiedNameElementContext qualifiedNameElement()

    - #### @RuleVersion(0) public final QualifiedNameElementsContext qualifiedNameElements()

    - #### @RuleVersion(0) public final QualifiedStandardClassNameContext qualifiedStandardClassName()

    - #### @RuleVersion(0) public final ResourceContext resource()

    - #### @RuleVersion(0) public final ResourceListContext resourceList()

    - #### @RuleVersion(0) public final ResourcesContext resources()

    - #### @RuleVersion(0) public final ReturnTypeContext returnType(int ct)

    - #### @RuleVersion(0) public final RparenContext rparen()

    - #### @RuleVersion(0) public final ScriptStatementContext scriptStatement()

    - #### @RuleVersion(0) public final ScriptStatementsContext scriptStatements()

    - #### public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex)

    - #### @RuleVersion(0) public final SepContext sep()

    - #### @RuleVersion(0) public final ClassOrInterfaceTypeContext standardClassOrInterfaceType()

    - #### @RuleVersion(0) public final StandardLambdaExpressionContext standardLambdaExpression()

    - #### @RuleVersion(0) public final StandardLambdaParametersContext standardLambdaParameters()

    - #### @RuleVersion(0) public final TypeContext standardType()

    - #### @RuleVersion(0) public final StatementContext statement()

    - #### @RuleVersion(0) public final StatementExpressionContext statementExpression()

    - #### @RuleVersion(0) public final StringLiteralContext stringLiteral()

    - #### @RuleVersion(0) public final SwitchBlockStatementGroupContext switchBlockStatementGroup()

    - #### @RuleVersion(0) public final SwitchLabelContext switchLabel()

    - #### @RuleVersion(0) public final SwitchStatementContext switchStatement()

    - #### @RuleVersion(0) public final ThisFormalParameterContext thisFormalParameter()

    - #### @RuleVersion(0) public final TryCatchStatementContext tryCatchStatement()

    - #### @RuleVersion(0) public final TypeContext type()

    - #### @RuleVersion(0) public final TypeArgumentContext typeArgument()

    - #### @RuleVersion(0) public final TypeArgumentsContext typeArguments()

    - #### @RuleVersion(0) public final TypeArgumentsOrDiamondContext typeArgumentsOrDiamond()

    - #### @RuleVersion(0) public final TypeBoundContext typeBound()

    - #### @RuleVersion(0) public final TypeDeclarationContext typeDeclaration()

    - #### @RuleVersion(0) public final TypeListContext typeList()

    - #### @RuleVersion(0) public final TypeNamePairContext typeNamePair()

    - #### @RuleVersion(0) public final TypeNamePairsContext typeNamePairs()

    - #### @RuleVersion(0) public final TypeParameterContext typeParameter()

    - #### @RuleVersion(0) public final TypeParametersContext typeParameters()

    - #### @RuleVersion(0) public final VariableDeclarationContext variableDeclaration(int t)

    - #### @RuleVersion(0) public final VariableDeclaratorContext variableDeclarator()

    - #### @RuleVersion(0) public final VariableDeclaratorIdContext variableDeclaratorId()

    - #### @RuleVersion(0) public final VariableDeclaratorsContext variableDeclarators()

    - #### @RuleVersion(0) public final VariableInitializerContext variableInitializer()

    - #### @RuleVersion(0) public final VariableInitializersContext variableInitializers()

    - #### @RuleVersion(0) public final VariableModifierContext variableModifier()

    - #### @RuleVersion(0) public final VariableModifiersContext variableModifiers()

    - #### @RuleVersion(0) public final VariableModifiersOptContext variableModifiersOpt()

    - #### @RuleVersion(0) public final VariableNamesContext variableNames()