Module parser_combinators::combinator
[−]
[src]
Module containing all specific parsers
Structs
| And | |
| Between | |
| Chainl1 | |
| Chainr1 | |
| ChoiceSlice | |
| ChoiceVec | |
| Expected | |
| FnParser | |
| Many | |
| Many1 | |
| Map | |
| Message | |
| NotFollowedBy | |
| Optional | |
| Or | |
| SepBy | |
| Skip | |
| SkipMany | |
| SkipMany1 | |
| Then | |
| Try | |
| Unexpected | |
| Value | |
| With |
Traits
| ParserExt |
Extension trait which provides functions that are more conveniently used through method calls |
Functions
| between |
Parses |
| chainl1 |
Parses |
| chainr1 |
Parses |
| choice_slice | |
| choice_vec | |
| 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 |
| sep_by |
Parses |
| skip_many |
Parses |
| skip_many1 |
Parses |
| try |
Try acts as |
| unexpected |
Always fails with |
| value |
Always returns the value |