[−][src]Module combine::parser::choice
Combinators which take one or more parsers and attempts to parse successfully with at least one of them.
Structs
Choice | |
Optional | |
Or |
Traits
ChoiceParser |
|
Functions
choice | Takes a tuple, a slice or 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. |
optional | Parses |
or | Equivalent to |