fn parse_ident(&mut self) -> PResult<String> {
        trace!("parse_ident");
        match self.token.kind {
            TokenKind::Ident => {
                Ok(self.bump_and_get()
                    .value
                    .clone()
                    .expect("BUG: missing value in identifier token"))
            }
            _ => {
                Err(self.err(ErrorKind::unexpected_token(vec![TokenKind::Ident],
                                                         self.token.clone())))
            }
        }
    }
/// Parse an identifier.
// XXX: come back later. String interning and all that.
Parse an identifier.
XXX: come back later. String interning and all that.
Parse an identifier . XXX : come back later . String interning and all that .
fn parse_ident(&mut self) -> PResult<String> {
        trace!("parse_ident");
        match self.token.kind {
            TokenKind::Ident => {
                Ok(self.bump_and_get()
                    .value
                    .clone()
                    .expect("BUG: missing value in identifier token"))
            }
            _ => {
                Err(self.err(ErrorKind::unexpected_token(vec![TokenKind::Ident],
                                                         self.token.clone())))
            }
        }
    }
fn parse_ident ( & mut self ) -> PResult < String > { trace ! ( " " ) ; match self . token . kind { TokenKind :: Ident => { Ok ( self . bump_and_get ( ) . value . clone ( ) . expect ( " " ) ) } _ => { Err ( self . err ( ErrorKind :: unexpected_token ( vec ! [ TokenKind Ident ] , self . token . clone ( ) ) ) ) } } }
Parse an identifier.
Parse an identifier .
&mut self