Module combine::combinator
[−]
[src]
Module containing all specific parsers.
Structs
Functions
and_then |
Equivalent to |
any |
Parses any token. |
between |
Parses |
chainl1 |
Parses |
chainr1 |
Parses |
choice |
Takes an array of parsers and tries to apply them each in order. Fails if all the parsers fails or if an applied parser consumes input before failing. |
count |
Parses |
count_min_max |
Parses |
env_parser |
Constructs a parser out of an environment and a function which needs the given environment to do the parsing. This is commonly useful to allow multiple parsers to share some environment while still allowing the parsers to be written in separate functions. |
eof |
Succeeds only if the stream is at end of input, fails otherwise. |
expected |
Equivalent to |
flat_map |
Equivalent to |
look_ahead |
|
many |
Parses |
many1 |
Parses |
map |
Equivalent to |
message |
Equivalent to |
none_of |
Extract one token and succeeds if it is not part of |
not_followed_by |
Succeeds only if |
one_of |
Extract one token and succeeds if it is part of |
optional |
Parses |
or |
Equivalent to |
parser |
Wraps a function, turning it into a parser. |
position |
Parser which just returns the current position in the stream. |
recognize |
Constructs a parser which returns the tokens parsed by |
satisfy |
Parses a token and succeeds depending on the result of |
satisfy_map |
Parses a token and passes it to |
sep_by |
Parses |
sep_by1 |
Parses |
sep_end_by |
Parses |
sep_end_by1 |
Parses |
skip | |
skip_count |
Parses |
skip_count_min_max |
Parses |
skip_many |
Parses |
skip_many1 |
Parses |
then |
Equivalent to |
token |
Parses a character and succeeds if the character is equal to |
tokens |
Parses multiple tokens. |
try |
|
unexpected |
Always fails with |
value |
Always returns the value |
with |
Equivalent to |
Type Definitions
NotFollowedBy | |
SkipCount | |
SkipCountMinMax |