Function gchemol_parser::parsers::ws
source · pub fn ws<'a, ParseInner, Output, Error>(
inner: ParseInner
) -> impl Parser<&'a str, Output, Error>
Expand description
A combinator that takes a parser inner
and produces a parser
that also consumes both leading and trailing whitespace, returning
the output of inner
.