Expand description
Combinators applying their child parser multiple times
Structsยง
- Implementation of
repeat
Functionsยง
- Repeats the embedded parser, filling the given slice with results.
- fold_
repeat0_ ๐ - fold_
repeat1_ ๐ - fold_
repeat_ ๐m_ n_ Accumulate
the output of a parser into a container, likeVec
- repeat0_ ๐
- repeat1_ ๐
- repeat_
m_ ๐n_ - repeat_
n_ ๐ - repeat_
till0_ ๐ - repeat_
till_ ๐m_ n_ Accumulate
the output of a parser, interleaved withsep
- separated0_ ๐
- separated1_ ๐
- Alternates between two parsers, merging the results (left associative)
- Alternates between two parsers, merging the results (right associative)
- separated_
m_ ๐n_ - separated_
n_ ๐