pub fn ws<'a, O, F>(
f: F,
) -> impl Parser<NomSpan<'a>, Output = O, Error = BindParserError>Expand description
Wraps a parser |f| and discards zero or more whitespace characters or comments before it. Doesn’t discard whitespace after the parser, since this would make it difficult to ensure that the AST spans contain no trailing whitespace.