/// Returns the next item after the last one peeked. It doesn't interfer with `peek` output.
Returns the next item after the last one peeked. It doesn't interfer with `peek` output.
Returns the next item after the last one peeked . It doesn ' t interfer with ` peek ` output .
fn peek_next(&mut self) -> Option<&(TokenKind, &'a str)> {
        self.peek_pos += 1;
        if self.peek_pos - 1 < self.stored.len() {
            self.stored.get(self.peek_pos - 1)
        } else if let Some(next) = self.iter.next() {
            self.stored.push_back(next);
            self.stored.back()
        } else {
            None
        }
    }
fn peek_next ( & mut self ) -> Option < & ( TokenKind , & ' a str ) > { self . peek_pos += 1 ; if self . peek_pos - 1 < self . stored . len ( ) { self . stored . get ( self . peek_pos - 1 ) } else if let Some ( next ) = self . iter . next ( ) { self . stored . push_back ( next ) ; self . stored . back ( ) } else { None } }
Returns the next item after the last one peeked.
Returns the next item after the last one peeked .
&mut self