pub fn semantic_indentation<'a, C, Tok, T, F, E: Error<C> + 'a>(
token: T,
make_group: F,
) -> impl Parser<C, Vec<Tok>, Error = E> + Clone + 'a
Expand description
A parser that consumes text and generates tokens using semantic whitespace rules and the given token parser.
Also required is a function that collects a Vec
of tokens into a whitespace-indicated token tree.