pub fn with_span<'a, O, F>( parser: F, ) -> impl Parser<InputSpan<'a>, Output = Spanned<'a, O>, Error = F::Error>where F: Parser<InputSpan<'a>, Output = O>,
Wrapper around parsers allowing to capture both their output and the relevant span.