fn accumulate_words(&self) -> String {
        // the 'first' distinction allows to not have a space at the beginning
        let first = get_word(&self.subtokens[self.start]).unwrap().to_string();

        self.subtokens[self.start + 1..self.current]
            .iter()
            .fold(first, |mut acc, x| {
                acc.push(' ');
                acc.push_str(get_word(x).unwrap());

                acc
            })
    }
/// Accumulates all of the words in the current range into a single string,
/// to be used when parsing identifiers.
Accumulates all of the words in the current range into a single string,
to be used when parsing identifiers.
Accumulates all of the words in the current range into a single string to be used when parsing identifiers .
fn accumulate_words(&self) -> String {
        // the 'first' distinction allows to not have a space at the beginning
        let first = get_word(&self.subtokens[self.start]).unwrap().to_string();
        self.subtokens[self.start + 1..self.current]
            .iter()
            .fold(first, |mut acc, x| {
                acc.push(' ');
                acc.push_str(get_word(x).unwrap());
                acc
            })
    }
fn accumulate_words ( & self ) -> String { // the 'first' distinction allows to not have a space at the beginning let first = get_word ( & self . subtokens [ self . start ] ) . unwrap ( ) . to_string ( ) ; self . subtokens [ self . start + 1 .. self . current ] . iter ( ) . fold ( first , | mut acc , x | { acc . push ( ' ' ) ; acc . push_str ( get_word ( x ) . unwrap ( ) ) ; acc } ) }
Accumulates all of the words in the current range into a single string,
to be used when parsing identifiers.
Accumulates all of the words in the current range into a single string to be used when parsing identifiers .
&self
&self