Module multi

Source
Expand description

Combinators applying their child parser multiple times

Structsยง

Repeat
Customizable Parser implementation for repeat

Functionsยง

fill
Repeats the embedded parser, filling the given slice with results.
fold_repeat0_ ๐Ÿ”’
fold_repeat1_ ๐Ÿ”’
fold_repeat_m_n_ ๐Ÿ”’
fold_repeat_n_ ๐Ÿ”’
repeat
Accumulate the output of a parser into a container, like Vec
repeat_till
Accumulate the output of parser f into a container, like Vec, until the parser g produces a result.
repeat_till0_ ๐Ÿ”’
repeat_till_m_n_ ๐Ÿ”’
separated
Accumulate the output of a parser, interleaved with sep
separated0_ ๐Ÿ”’
separated1_ ๐Ÿ”’
separated_foldl1
Alternates between two parsers, merging the results (left associative)
separated_foldr1
Alternates between two parsers, merging the results (right associative)
separated_m_n_ ๐Ÿ”’
separated_n_ ๐Ÿ”’
try_fold_m_n ๐Ÿ”’
verify_fold_m_n ๐Ÿ”’