/// Skip tokens that the parser doesn't want to see,
/// such as whitespace.
Skip tokens that the parser doesn't want to see,
such as whitespace.
Skip tokens that the parser doesn ' t want to see such as whitespace .
fn skip_tokens(&mut self) {
        self.skipped = Skipped::None;
        while let Some(t) = self.peek() {
            if let Some(skipped) = self.should_skip_token(t) {
                self.skipped = self.skipped.max(skipped);
                self.next_token(true);
            } else {
                break;
            }
        }
    }
fn skip_tokens ( & mut self ) { self . skipped = Skipped :: None ; while let Some ( t ) = self . peek ( ) { if let Some ( skipped ) = self . should_skip_token ( t ) { self . skipped = self . skipped . max ( skipped ) ; self . next_token ( true ) ; } else { break ; } } }
Skip tokens that the parser doesn't want to see,
such as whitespace.
Skip tokens that the parser doesn ' t want to see such as whitespace .
&mut self