left_from_pair

Function left_from_pair 

Source
pub fn left_from_pair<P1, P2, I, O1, O2>(
    left_parser: P1,
    right_parser: P2,
) -> impl Parser<I, O1>
where P1: Parser<I, O1>, P2: Parser<I, O2>, I: Copy,
Expand description

Parser generator for parsing a pair of tokens and returning only the left result