pub fn peek(&self) -> Result<Substr<'a>> {
        match self.next_word() {
            Ok((substr, _)) => Ok(substr),
            Err(PdfError::EOF) => Ok(self.new_substr(self.pos..self.pos)),
            Err(e) => Err(e),
        }

    }
/// Look at the next lexeme. Will return empty substr if the next character is EOF.
Look at the next lexeme. Will return empty substr if the next character is EOF.
Look at the next lexeme . Will return empty substr if the next character is EOF .
pub fn peek(&self) -> Result<Substr<'a>> {
        match self.next_word() {
            Ok((substr, _)) => Ok(substr),
            Err(PdfError::EOF) => Ok(self.new_substr(self.pos..self.pos)),
            Err(e) => Err(e),
        }
    }
pub fn peek ( & self ) -> Result < Substr < ' a > > { match self . next_word ( ) { Ok ( ( substr , _ ) ) => Ok ( substr ) , Err ( PdfError :: EOF ) => Ok ( self . new_substr ( self . pos .. self . pos ) ) , Err ( e ) => Err ( e ) , } }
Look at the next lexeme.
Look at the next lexeme .
&self
&self