/// Parse a comma-separated list of 1+ items accepted by `F`
Parse a comma-separated list of 1+ items accepted by `F`
Parse a comma - separated list of 1 + items accepted by ` F `
fn parse_comma_separated<T, F>(&mut self, mut f: F) -> Result<Vec<T>, ParserError>
    where
        F: FnMut(&mut Self) -> Result<T, ParserError>,
    {
        let mut values = vec![];
        loop {
            values.push(f(self)?);
            if !self.consume_token(&Token::Comma) {
                break;
            }
        }
        Ok(values)
    }
fn parse_comma_separated < T , F > ( & mut self , mut f : F ) -> Result < Vec < T > , ParserError > where F : FnMut ( & mut Self ) -> Result < T , ParserError > , { let mut values = vec ! [ ] ; loop { values . push ( f ( self ) ? ) ; if ! self . consume_token ( & Token :: Comma ) { break ; } } Ok ( values ) }
Parse a comma-separated list of 1+ items accepted by `F`
Parse a comma - separated list of 1 + items accepted by ` F `
&mut self
f
F