fn bump(&mut self) {
        trace!("current token: {:?}", self.token);
        trace!("current span: {:?}", self.span);
        trace!("bump");
        let next = self.reader.next();

        self.prev_end_offset = self.span.end;

        if let Some(TokenAndSpan { span, token }) = next {
            self.token = token;
            self.span = span;
        } else {
            // XXX what span to set?
            self.token = Token {
                kind: TokenKind::Eof,
                value: None,
            };
        }
    }
/// Advance the parser by one token.
Advance the parser by one token.
Advance the parser by one token .
fn bump(&mut self) {
        trace!("current token: {:?}", self.token);
        trace!("current span: {:?}", self.span);
        trace!("bump");
        let next = self.reader.next();
        self.prev_end_offset = self.span.end;
        if let Some(TokenAndSpan { span, token }) = next {
            self.token = token;
            self.span = span;
        } else {
            // XXX what span to set?
            self.token = Token {
                kind: TokenKind::Eof,
                value: None,
            };
        }
    }
fn bump ( & mut self ) { trace ! ( " " self token ) ; trace ! ( " " self span ) ; trace ! ( " " ) ; let next = self . reader . next ( ) ; self . prev_end_offset = self . span . end ; if let Some ( TokenAndSpan { span , token } ) = next { self . token = token ; self . span = span ; } else { // XXX what span to set? self . token = Token { kind : TokenKind :: Eof , value : None , } ; } }
Advance the parser by one token.
Advance the parser by one token .
&mut self