pub fn token_stream(self) -> TokenStream {
        let mut tts = Vec::new();
        let mut cursor = self;
        while let Some((next, tt)) = cursor.token_tree() {
            tts.push(tt);
            cursor = next;
        }
        tts.into_iter().collect()
    }
/// Copy all remaining tokens visible from this cursor into a `TokenStream`.
Copy all remaining tokens visible from this cursor into a `TokenStream`.
Copy all remaining tokens visible from this cursor into a ` TokenStream ` .
pub fn token_stream(self) -> TokenStream {
        let mut tts = Vec::new();
        let mut cursor = self;
        while let Some((next, tt)) = cursor.token_tree() {
            tts.push(tt);
            cursor = next;
        }
        tts.into_iter().collect()
    }
pub fn token_stream ( self ) -> TokenStream { let mut tts = Vec :: new ( ) ; let mut cursor = self ; while let Some ( ( next , tt ) ) = cursor . token_tree ( ) { tts . push ( tt ) ; cursor = next ; } tts . into_iter ( ) . collect ( ) }
Copy all remaining tokens visible from this cursor into a `TokenStream`.
Copy all remaining tokens visible from this cursor into a ` TokenStream ` .
self
self