ppadded

Function ppadded 

Source
pub fn ppadded<P, PD, A>(p: P, pad: PD) -> PPaddedBy<P, PD, A>
Expand description

Creates a new PPaddedBy parser combinator.

§Arguments

  • p - The main parser to parse content.
  • pad - The parser for the padding pattern.

§Returns

A PPaddedBy instance that implements ParserCore, parsing pad* p pad* and returning the output of p.