[][src]Function pear::combinators::prefixed_series

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>, 

Parses many separator delimited ps that are collectively prefixed with prefix. Gramatically, this is:

PREFIX (item SEPERATOR)*