wiwi::parser::util

Function adapt_stateful

Source
pub fn adapt_stateful<P, I, O, E>(parser: P) -> AdaptStateful<P, I, O, E>
where I: Input, P: Parser<I, O, E>,
Expand description

Wraps an implementor of Parser and provides an implementation of ParserStateful