Function rusty_parser::match_pattern

source ยท
pub fn match_pattern<ParserType, It>(
    parser: &ParserType,
    it: It
) -> ParseResult<(), It>
where It: InputIteratorTrait, ParserType: Parser<It>,
Expand description

Match the input with the given parser.

This does not construct the output, just check the input is matched or not.