Expand description
Combinators applying their child parser multiple times
Structsยง
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, likeVec
- repeat_
till Accumulate
the output of parserf
into a container, likeVec
, until the parserg
produces a result.- repeat_
till0_ ๐ - repeat_
till_ ๐m_ n_ - separated
Accumulate
the output of a parser, interleaved withsep
- 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