fn advance_token(&mut self) {
        match self.scan_whitespace_or_comment() {
            Some(comment) => {
                self.peek_span = comment.sp;
                self.peek_tok = comment.tok;
            },
            None => {
                if self.is_eof() {
                    self.peek_tok = token::Eof;
                } else {
                    let start_bytepos = self.last_pos;
                    self.peek_tok = self.next_token_inner();
                    self.peek_span = codemap::mk_sp(start_bytepos,
                                                    self.last_pos);
                };
            }
        }
    }
/// Advance peek_tok and peek_span to refer to the next token, and
/// possibly update the interner.
Advance peek_tok and peek_span to refer to the next token, and
possibly update the interner.
Advance peek_tok and peek_span to refer to the next token and possibly update the interner .
fn advance_token(&mut self) {
        match self.scan_whitespace_or_comment() {
            Some(comment) => {
                self.peek_span = comment.sp;
                self.peek_tok = comment.tok;
            },
            None => {
                if self.is_eof() {
                    self.peek_tok = token::Eof;
                } else {
                    let start_bytepos = self.last_pos;
                    self.peek_tok = self.next_token_inner();
                    self.peek_span = codemap::mk_sp(start_bytepos,
                                                    self.last_pos);
                };
            }
        }
    }
fn advance_token ( & mut self ) { match self . scan_whitespace_or_comment ( ) { Some ( comment ) => { self . peek_span = comment . sp ; self . peek_tok = comment . tok ; } , None => { if self . is_eof ( ) { self . peek_tok = token :: Eof ; } else { let start_bytepos = self . last_pos ; self . peek_tok = self . next_token_inner ( ) ; self . peek_span = codemap :: mk_sp ( start_bytepos , self . last_pos ) ; } ; } } }
Advance peek_tok and peek_span to refer to the next token, and
possibly update the interner.
Advance peek_tok and peek_span to refer to the next token and possibly update the interner .
&mut self