Module jpar::helpers [−][src]
Functions
and_then | Maps the result of a parser into a new |
consumed | Applies a parser discarding its result and return the consumed content as result. |
ensure | Ensures that |
error | Always fails with the given error without consuming any input. |
ignore_result | Applies a parser discarding its result. |
map_parser | Applies a parser over the result of another one. |
map_result | Maps the result of a parser into a new value. |
not_found_restore | Restores the reader when a not found error is returned. |
recover | Applies a parser but allowing to recover in case of an error. |
value | Always succeeds with given value without consuming any input. |