Package: org.apache.groovy.parser.antlr4.internal

## [Java] Class RecoveringDescriptiveErrorStrategy

- org.apache.groovy.parser.antlr4.internal.RecoveringDescriptiveErrorStrategy

-     public final class RecoveringDescriptiveErrorStrategy
      extends AbstractFriendlyErrorStrategy

  Recovering parser error strategy with the same friendly diagnostics as DescriptiveErrorStrategy.

  Uses ANTLR's default resync / single-token repair so multiple recognition errors can be reported in one pass (IDE editing). Prefer construction via DescriptiveErrorStrategy.create.

  Callers must parse with LL prediction and error listeners installed. Hosts should read diagnostics from ErrorCollector: a partial tree may still fail during AST building after recovery.

  See Also:
    DescriptiveErrorStrategy
    CompilerConfiguration.ERROR_RECOVERY

- - ### Constructor Summary

    Constructors
    Constructor and description
    `RecoveringDescriptiveErrorStrategy(CharStream charStream)` Parameters: `charStream` - source character stream used for snippet extraction

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class AbstractFriendlyErrorStrategy` | `createFailedPredicateErrorMessage, createInputMismatchErrorMessage, createNoViableAlternativeErrorMessage, reportFailedPredicate, reportInputMismatch, reportNoViableAlternative`

- - ### Constructor Detail

    - #### public RecoveringDescriptiveErrorStrategy(CharStream charStream)

      Parameters:
        `charStream` - source character stream used for snippet extraction