Function pear::combinators::prefixed_series
source · pub fn prefixed_series<C, I, T, O, P>(
input: &mut Pear<I>,
prefix: T,
item: P,
seperator: T
) -> Result<C, I>where
C: Collection<O>,
I: Input,
T: Token<I> + Clone,
P: FnMut(&mut Pear<I>) -> Result<O, I>,Expand description
Parses many separator delimited ps that are collectively prefixed with
prefix. Gramatically, this is:
PREFIX (item SEPERATOR)*