Function pseq
Source pub fn pseq<P1, P2>(p1: P1, p2: P2) -> PSeq<P1, P2>
Expand description
Creates a new PSeq parser combinator that parses two parsers in sequence.
§Arguments
p1 - The first parser to run.
p2 - The second parser to run after p1.
§Returns
A PSeq instance implementing ParserCore which returns a tuple of
(output_of_p1, output_of_p2).