/// Get the requested element, or None if there are not that many lexemes.
Get the requested element, or None if there are not that many lexemes.
Get the requested element or None if there are not that many lexemes .
pub fn peek(&self) -> Result<&Lexeme, End> {
        //TODO @mark: trace logging lines
        if self.index >= self.lexemes.len() {
            dbg_log!("parser at {:?} peeking token END", self.index);
            return Err(End);
        }
        dbg_log!("parser at {:?} peeking token {:?}", self.index, &self.lexemes[self.index]);
        Ok(&self.lexemes[self.index])
    }
pub fn peek ( & self ) -> Result < & Lexeme , End > { //TODO @mark: trace logging lines if self . index >= self . lexemes . len ( ) { dbg_log ! ( " " self index ) ; return Err ( End ) ; } dbg_log ! ( " " self index self lexemes [ self index ] ) ; Ok ( & self . lexemes [ self . index ] ) }
Get the requested element, or None if there are not that many lexemes.
Get the requested element or None if there are not that many lexemes .
&self