fn next_token(&mut self, skipped: bool) -> Option<Token> {
        if let Some(result) = self.peek() {
            self.last_span = self.peek_span();
            if !skipped {
                self.last_not_skipped_span = self.last_span;
            }
            self.tokens = &self.tokens[1..];
            Some(result)
        } else {
            None
        }
    }
/// Advance to the next token; if `skipped` is true, the
/// current token is being skipped, so we should not update
/// `last_span`
Advance to the next token; if `skipped` is true, the
current token is being skipped, so we should not update
`last_span`
Advance to the next token ; if ` skipped ` is true the current token is being skipped so we should not update ` last_span `
fn next_token(&mut self, skipped: bool) -> Option<Token> {
        if let Some(result) = self.peek() {
            self.last_span = self.peek_span();
            if !skipped {
                self.last_not_skipped_span = self.last_span;
            }
            self.tokens = &self.tokens[1..];
            Some(result)
        } else {
            None
        }
    }
fn next_token ( & mut self , skipped : bool ) -> Option < Token > { if let Some ( result ) = self . peek ( ) { self . last_span = self . peek_span ( ) ; if ! skipped { self . last_not_skipped_span = self . last_span ; } self . tokens = & self . tokens [ 1 .. ] ; Some ( result ) } else { None } }
Advance to the next token; if `skipped` is true, the
current token is being skipped, so we should not update
`last_span`
Advance to the next token ; if ` skipped ` is true the current token is being skipped so we should not update ` last_span `
&mut self
skipped
bool
&mut self
skipped
bool