Expand description
Provides some extra parser combinators.
Functions§
- err_
into - Converts the error type with the From trait.
- fchar
- Same as nom::char but return the input type instead of the char.
- fsense
- Same as nom::char but return the input type instead of the char. Checks one character but doesn’t consume it.
- map_res
- Takes a parser and a transformation of the parser result.
- pchar
- Same as nom::char but return the input type instead of the char.
- psense
- Same as nom::char but return the input type instead of the char. Checks one character but doesn’t consume it.
- separated_
list_ trailing0 - Similiar to nom::multi::separated_list0, but allows a trailing separator.
- separated_
list_ trailing1 - Similiar to nom::multi::separated_list1, but allows a trailing separator.
- track
- Tracked execution of a parser.
- with_
code - Takes a parser and converts the error.