Function mathml::parsers::generic_mathml::ws

source ·
pub fn ws<'a, F, O>(inner: F) -> impl FnMut(Span<'a>) -> IResult<'_, O>
where F: FnMut(Span<'a>) -> IResult<'_, O> + 'a,
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.