Searched refs:TokenTreeIter (Results 1 – 3 of 3) sorted by relevance
304 pub(crate) enum TokenTreeIter { enum306 Fallback(fallback::TokenTreeIter),311 type IntoIter = TokenTreeIter;313 fn into_iter(self) -> TokenTreeIter { in into_iter() argument316 TokenTreeIter::Compiler(tts.into_token_stream().into_iter()) in into_iter()318 TokenStream::Fallback(tts) => TokenTreeIter::Fallback(tts.into_iter()), in into_iter()323 impl Iterator for TokenTreeIter { implementation328 TokenTreeIter::Compiler(iter) => iter.next()?, in next()329 TokenTreeIter::Fallback(iter) => return iter.next(), in next()349 TokenTreeIter::Compiler(tts) => tts.size_hint(), in size_hint()[all …]
300 pub(crate) type TokenTreeIter = RcVecIntoIter<TokenTree>; typedef304 type IntoIter = TokenTreeIter;306 fn into_iter(self) -> TokenTreeIter { in into_iter() argument
1301 inner: imp::TokenTreeIter,