/// Get the span at the given position.
Get the span at the given position.
Get the span at the given position .
pub fn tok_at(&mut self, n: usize) -> Result<Token, ParseError> {
        Ok(if let Some(t) = self.peeker.at(n)? {
            t
        } else {
            Token {
                kind: Kind::Eof,
                span: self.last_span().end(),
            }
        })
    }
pub fn tok_at ( & mut self , n : usize ) -> Result < Token , ParseError > { Ok ( if let Some ( t ) = self . peeker . at ( n ) ? { t } else { Token { kind : Kind :: Eof , span : self . last_span ( ) . end ( ) , } } ) }
Get the span at the given position.
Get the span at the given position .
&mut self
n
usize