pub fn fold_bounds<Bounds, Stream, Context, Parser, Acc, Init, F>(
parser: Parser,
bounds: Bounds,
init: Init,
fold: F,
) -> FoldBounds<Parser, Bounds, Init, F>where
Stream: Streaming,
Context: Contexting<UtilsAtom<Stream>>,
Parser: Parse<Stream, Context>,
Init: FnMut() -> Acc,
F: FnMut(Acc, Parser::Token) -> Acc,
Bounds: FoldBoundsParse,
Acc: Debug,
Expand description
Function style version of crate::Utils::fold_bounds