null

Function null 

Source
pub fn null<'a, F, O>(
    parser: F,
) -> impl FnMut(ParseString<'a>) -> ParseResult<'_, ()>
where F: FnMut(ParseString<'a>) -> ParseResult<'_, O>,
Expand description

Convert output of any parser into ParserNode::Null. Useful for working with alt combinator and error recovery functions.