Module chumsky::recovery

source ·
Expand description

Types and traits that facilitate error recovery.

“Do you find coming to terms with the mindless tedium of it all presents an interesting challenge?”

Structs

Traits

  • A trait implemented by error recovery strategies.

Functions

  • A recovery strategy that searches for a start and end delimiter, respecting nesting.
  • A recovery mode that applies the provided recovery parser to determine the content to skip.
  • A recovery mode that simply skips to the next input on parser failure and tries again, until reaching one of several inputs.
  • A recovery mode that skips input until one of several inputs is found.