Module sequence
Combinators applying parsers in sequence
Structs
- Preceded a
- Terminated a
Traits
- Tuple Helper trait for the tuple combinator.
Functions
- delimited Matches an object from the first parser and discards it, then gets an object from the second parser, and finally matches an object from the third parser and discards it.
- pair Gets an object from the first parser, then gets another object from the second parser.
- preceded Matches an object from the first parser and discards it, then gets an object from the second parser.
- separated_pair Gets an object from the first parser, then matches an object from the sep_parser and discards it, then gets another object from the second parser.
- terminated Gets an object from the first parser, then matches an object from the second parser and discards it.
-
tuple
Applies a tuple of parsers one by one and returns their results as a tuple. There is a maximum of 21 parsers
# use ; use tuple; use ; let mut parser = tuple;