Lines Matching full:extend
29 // In `impl Extend<TokenTree> for TokenStream` which is used heavily by quote,
30 // we hold on to the appended tokens and do proc_macro::TokenStream::extend as
31 // late as possible to batch together consecutive uses of the Extend impl.
77 self.stream.extend(self.extra.drain(..)); in evaluate_now()
210 first.stream.extend(streams.map(|s| match s { in from_iter()
217 first.extend(streams.map(|s| match s { in from_iter()
228 impl Extend<TokenTree> for TokenStream {
229 fn extend<I: IntoIterator<Item = TokenTree>>(&mut self, stream: I) { in extend() method
237 TokenStream::Fallback(tts) => tts.extend(stream), in extend()
242 impl Extend<TokenStream> for TokenStream {
243 fn extend<I: IntoIterator<Item = TokenStream>>(&mut self, streams: I) { in extend() method
248 .extend(streams.into_iter().map(TokenStream::unwrap_nightly)); in extend()
251 tts.extend(streams.into_iter().map(TokenStream::unwrap_stable)); in extend()