Module combinator
Source - ParseError
- Represent a parser error. This type of error ca be recoverable or not and
implements conversion to recoverable / non-recoverable instance.
- choice
- Tries to apply the list of parser until one of them succeeds.
Typically, this should be recoverable
- non_recover
- Makes an error non recoverable.
- one_or_more
- Consumes one or more instances of the provided parser.
- optional
- Try to consume one instances of the provided parser.
- recover
- Makes an error recoverable but does not reset cursor.
- zero_or_more
- Consumes zero or more instances of the provided parser.
- ParseFunc
- A parser func.