Available on crate feature
parsing only.Expand description
Implementations of the low-level parser combinators.
Modulesยง
- rfc ๐
- Combinators for rules as defined in a standard.
Structsยง
- ExactlyN
Digits ๐ - Parse an exact number of digits without padding.
Enumsยง
- Sign ๐
- The sign of a number.
Functionsยง
- any_
digit ๐ - Consume exactly one digit.
- ascii_
char ๐ - Consume exactly one of the provided ASCII characters.
- ascii_
char_ ๐ignore_ case - Consume exactly one of the provided ASCII characters, case-insensitive.
- exactly_
n_ ๐digits_ padded - Consume exactly
ndigits, returning the numerical value. - n_
to_ ๐m_ digits - Consume between
nandmdigits, returning the numerical value. - n_
to_ ๐m_ digits_ padded - Consume between
nandmdigits, returning the numerical value. - one_
or_ ๐more - Consume one of or more instances of the provided parser. The parser must produce the unit value.
- one_
or_ ๐two_ digits - Consume one or two digits, returning the numerical value.
- opt ๐
- Optionally consume an input with a given parser.
- sign ๐
- Parse a โ+โ or โ-โ sign.
- zero_
or_ ๐more - Consume zero or more instances of the provided parser. The parser must return the unit value.