[−][src]Crate pahs
A parsing library.
Modules
combinators | Parser combinators. |
error_accumulator | Allows tracking multiple failures encountered in complex parsers or combinators. |
slice | Basic parsers for slices |
Macros
sequence | Runs parsers one after another, optionally saving their results. Then, builds a value based on the saved results. |
sequence_with | Runs parsers one after another, optionally saving their results. Then, calls the creator function that builds a value based on the saved results. |
try_parse | An analog to |
Structs
ParseDriver | Maintains (optional) parsing state/context and serves as an easy entry point for some of the combinators. |
Progress | Tracks the result of a parser: where it is and if it is successful. |
SlicePos | A position in a slice. |
Traits
Pos | A position in the parsed data |
Recoverable | Indicates if an error allows a parent parser to recover and try something else. |
Type Definitions
BytePos | Convenience alias for byte slices. |