pub fn parse_unspanned_seq<T, F>(&mut self,
                                     bra: &token::Token,
                                     ket: &token::Token,
                                     sep: SeqSep,
                                     f: F)
                                     -> PResult<'a, Vec<T>> where
        F: FnMut(&mut Parser<'a>) -> PResult<'a,  T>,
    {
        try!(self.expect(bra));
        let result = self.parse_seq_to_before_end(ket, sep, f);
        if self.token == *ket {
            self.bump();
        }
        Ok(result)
    }
/// Parse a sequence, including the closing delimiter. The function
/// f must consume tokens until reaching the next separator or
/// closing bracket.
Parse a sequence, including the closing delimiter. The function
f must consume tokens until reaching the next separator or
closing bracket.
Parse a sequence including the closing delimiter . The function f must consume tokens until reaching the next separator or closing bracket .
pub fn parse_unspanned_seq<T, F>(&mut self,
                                     bra: &token::Token,
                                     ket: &token::Token,
                                     sep: SeqSep,
                                     f: F)
                                     -> PResult<'a, Vec<T>> where
        F: FnMut(&mut Parser<'a>) -> PResult<'a,  T>,
    {
        try!(self.expect(bra));
        let result = self.parse_seq_to_before_end(ket, sep, f);
        if self.token == *ket {
            self.bump();
        }
        Ok(result)
    }
pub fn parse_unspanned_seq < T , F > ( & mut self , bra : & token :: Token , ket : & token :: Token , sep : SeqSep , f : F ) -> PResult < ' a , Vec < T > > where F : FnMut ( & mut Parser < ' a > ) -> PResult < ' a , T > , { try ! ( self expect ( bra ) ) ; let result = self . parse_seq_to_before_end ( ket , sep , f ) ; if self . token == * ket { self . bump ( ) ; } Ok ( result ) }
Parse a sequence, including the closing delimiter.
Parse a sequence including the closing delimiter .
&mut self
bra
&token::Token
ket
&token::Token
sep
SeqSep
f
F
&mut self
bra
&token::Token
ket
&token::Token
sep
SeqSep
f
F