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§
- Nested
Delimiters - See
nested_delimiters
. - Recovery
- A parser that includes a fallback recovery strategy should parsing result in an error.
- Skip
Parser - See
skip_parser
. - Skip
Then Retry Until - See
skip_then_retry_until
. - Skip
Until - See
skip_until
.
Traits§
- Strategy
- A trait implemented by error recovery strategies.
Functions§
- nested_
delimiters - A recovery strategy that searches for a start and end delimiter, respecting nesting.
- skip_
parser - A recovery mode that applies the provided recovery parser to determine the content to skip.
- skip_
then_ retry_ until - A recovery mode that simply skips to the next input on parser failure and tries again, until reaching one of several inputs.
- skip_
until - A recovery mode that skips input until one of several inputs is found.