/// Consume and return the current token. This is the same token that would
/// be returned by `peek(0)`.
Consume and return the current token. This is the same token that would
be returned by `peek(0)`.
Consume and return the current token . This is the same token that would be returned by ` peek ( 0 ) ` .
pub fn pop<'td>(&mut self) -> DiagResult<'td, T> {
        if self.buffer.is_empty() && !self.done {
            self.inner.next_token()
        } else {
            Ok(self
                .buffer
                .pop_front()
                .expect("pop() called on drained BufferedLexer"))
        }
    }
pub fn pop < ' td > ( & mut self ) -> DiagResult < ' td , T > { if self . buffer . is_empty ( ) && ! self . done { self . inner . next_token ( ) } else { Ok ( self . buffer . pop_front ( ) . expect ( " " ) ) } }
Consume and return the current token.
Consume and return the current token .
&mut self