pub fn parse_one_or_more<F: FnMut(&mut Self) -> ParseResult<T>, T>(
        &mut self,
        delim: char,
        mut f: F,
    ) -> ParseResult<Vec<T>> {
        let mut list = vec![];
        loop {
            list.push(f(self)?);
            if !self.eat_punctuation(delim) {
                break;
            }
        }
        Ok(list)
    }
/// Parses a list that is delimited by the specified `delim` character.
Parses a list that is delimited by the specified `delim` character.
Parses a list that is delimited by the specified ` delim ` character .
pub fn parse_one_or_more<F: FnMut(&mut Self) -> ParseResult<T>, T>(
        &mut self,
        delim: char,
        mut f: F,
    ) -> ParseResult<Vec<T>> {
        let mut list = vec![];
        loop {
            list.push(f(self)?);
            if !self.eat_punctuation(delim) {
                break;
            }
        }
        Ok(list)
    }
pub fn parse_one_or_more < F : FnMut ( & mut Self ) -> ParseResult < T > , T > ( & mut self , delim : char , mut f : F , ) -> ParseResult < Vec < T > > { let mut list = vec ! [ ] ; loop { list . push ( f ( self ) ? ) ; if ! self . eat_punctuation ( delim ) { break ; } } Ok ( list ) }
Parses a list that is delimited by the specified `delim` character.
Parses a list that is delimited by the specified ` delim ` character .
&mut self
delim
char
f
F
&mut self
delim
char
f
F