Structs§
- Parser
Iterator - Main structure associated to
iterator
.
Enums§
- State 🔒
Functions§
- backtrack_
err - Transforms an
ErrMode::Cut
(unrecoverable) toErrMode::Backtrack
(recoverable) - cond
- Calls the parser if the condition is met.
- cut_err
- Transforms an
ErrMode::Backtrack
(recoverable) toErrMode::Cut
(unrecoverable) - empty
- Succeed, consuming no input
- eof
- Match the end of the
Stream
- fail
- A parser which always fails.
- iterator
- Repeats the embedded parser, lazily returning the results
- not
- Succeeds if the child parser returns an error.
- opt
- Apply a
Parser
, producingNone
onErrMode::Backtrack
. - peek
- Apply the parser without advancing the input.
- todo
- A placeholder for a not-yet-implemented
Parser