Module combine::combinator
[−]
[src]
Module containing all specific parsers
Structs
Traits
ParserExt |
Extension trait which provides functions that are more conveniently used through method calls |
Functions
any |
Parses any token |
between |
Parses |
chainl1 |
Parses |
chainr1 |
Parses |
choice |
Takes an array of parsers and tries them each in turn. Fails if all parsers fails or when a parsers fails with a consumed state. |
many |
Parses |
many1 |
Parses |
not_followed_by |
Succeeds only if |
optional |
Returns |
parser |
Wraps a function, turning it into a parser Mainly needed to turn closures into parsers as function types can be casted to function pointers to make them usable as a parser |
satisfy |
Parses a token and succeeds depending on the result of |
sep_by |
Parses |
sep_by1 |
Parses |
sep_end_by |
Parses |
sep_end_by1 |
Parses |
skip_many |
Parses |
skip_many1 |
Parses |
token |
Parses a character and succeeds if the characther is equal to |
try |
Try acts as |
unexpected |
Always fails with |
value |
Always returns the value |