Expand description
Combinators which take one or more parsers and applies them repeatedly.
Structs§
- Chainl1
- Chainr1
- Count
- CountMinMax 
- Escaped
- EscapedState 
- Iter
- Iterate
- Many
- Many1
- RepeatUntil 
- SepBy
- SepBy1
- SepEndBy 
- SepEndBy1 
- SkipCount 
- SkipCount MinMax 
- SkipMany 
- SkipMany1 
- SkipRepeat Until 
- SkipUntil 
- TakeUntil 
Functions§
- chainl1
- Parses p1 or more times separated byop. The value returned is the one produced by the left associative application of the function returned by the parserop.
- chainr1
- Parses pone or more times separated byop. The value returned is the one produced by the right associative application of the function returned byop.
- count
- Parses parserfrom zero up tocounttimes.
- count_min_ max 
- Parses parserfrommintomaxtimes (includingminandmax).
- escaped
- Parses an escaped string by first applying parserwhich accept the normal characters which do not need escaping. Onceparsercan not consume any more input it checks if the next token isescape. If it is thenescape_parseris used to parse the escaped character and then resumes parsing usingparser. Ifescapewas not found then the parser finishes successfully.
- iterate
- many
- Parses pzero or more times returning a collection with the values fromp.
- many1
- Parses pone or more times returning a collection with the values fromp.
- repeat_skip_ until 
- Skips input until endis encountered orendindicates that it has committed input before failing (attemptcan be used to continue skipping even ifendhas committed input)
- repeat_until 
- sep_by
- Parses parserzero or more time separated byseparator, returning a collection with the values fromp.
- sep_by1
- Parses parserone or more time separated byseparator, returning a collection with the values fromp.
- sep_end_ by 
- Parses parserzero or more times separated and ended byseparator, returning a collection with the values fromp.
- sep_end_ by1 
- Parses parserone or more times separated and ended byseparator, returning a collection with the values fromp.
- skip_count 
- Parses parserfrom zero up tocounttimes skipping the output ofparser.
- skip_count_ min_ max 
- Parses parserfrommintomaxtimes (includingminandmax) skipping the output ofparser.
- skip_many 
- Parses pzero or more times ignoring the result.
- skip_many1 
- Parses pone or more times ignoring the result.
- skip_until 
- Skips input until endis encountered orendindicates that it has committed input before failing (attemptcan be used to make it look like it has not committed any input)
- take_until 
- Takes input until endis encountered orendindicates that it has committed input before failing (attemptcan be used to make it look like it has not committed any input)