Expand description
Combinators which take one or more parsers and applies them repeatedly.
Structs
Functions
- 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. - Parses
pone or more times separated byop. The value returned is the one produced by the right associative application of the function returned byop. - Parses
parserfrom zero up tocounttimes. - Parses
parserfrommintomaxtimes (includingminandmax). - 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 item 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. - Parses
pzero or more times returning a collection with the values fromp. - Parses
pone or more times returning a collection with the values fromp. - Parses
parserzero or more time separated byseparator, returning a collection with the values fromp. - Parses
parserone or more time separated byseparator, returning a collection with the values fromp. - Parses
parserzero or more times separated and ended byseparator, returning a collection with the values fromp. - Parses
parserone or more times separated and ended byseparator, returning a collection with the values fromp. - Parses
parserfrom zero up tocounttimes skipping the output ofparser. - Parses
parserfrommintomaxtimes (includingminandmax) skipping the output ofparser. - Parses
pzero or more times ignoring the result. - Parses
pone or more times ignoring the result. - Skips input until
endis encountered orendindicates that it has consumed input before failing (attemptcan be used to make it look like it has not consumed any input) - Takes input until
endis encountered orendindicates that it has consumed input before failing (attemptcan be used to make it look like it has not consumed any input)