Home
last modified time | relevance | path

Searched refs:TokenTreeIter (Results 1 – 3 of 3) sorted by relevance

/third_party/rust/crates/proc-macro2/src/
Dwrapper.rs304 pub(crate) enum TokenTreeIter { enum
306 Fallback(fallback::TokenTreeIter),
311 type IntoIter = TokenTreeIter;
313 fn into_iter(self) -> TokenTreeIter { in into_iter() argument
316 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 { implementation
328 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 …]
Dfallback.rs300 pub(crate) type TokenTreeIter = RcVecIntoIter<TokenTree>; typedef
304 type IntoIter = TokenTreeIter;
306 fn into_iter(self) -> TokenTreeIter { in into_iter() argument
Dlib.rs1301 inner: imp::TokenTreeIter,