Function lip::newline0

source ·
pub fn newline0<'a, P, S: Clone + 'a>(
    indent_parser: P
) -> impl Parser<'a, Output = (), State = S>where
    P: Parser<'a, Output = (), State = S> + 'a,
Expand description

Parsers zero or more newline characters, each with indentations in front.

Indentation can also be "" (no indentation)