Function lip::newline1

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

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

Indentation can also be "" (no indentation)