fn process(mut self) -> Result<Vec<Token>> {
        while !self.is_at_end() {
            self.start = self.current;
            self.scan_token();
        }

        if self.errored {
            Err(RChefError::Lex)
        } else {
            Ok(self.tokens)
        }
    }
/// Processes the entire list of given subtokens.
Processes the entire list of given subtokens.
Processes the entire list of given subtokens .
fn process(mut self) -> Result<Vec<Token>> {
        while !self.is_at_end() {
            self.start = self.current;
            self.scan_token();
        }
        if self.errored {
            Err(RChefError::Lex)
        } else {
            Ok(self.tokens)
        }
    }
fn process ( mut self ) -> Result < Vec < Token > > { while ! self . is_at_end ( ) { self . start = self . current ; self . scan_token ( ) ; } if self . errored { Err ( RChefError :: Lex ) } else { Ok ( self . tokens ) } }
Processes the entire list of given subtokens.
Processes the entire list of given subtokens .
mut self
mut self