Lines Matching full:tokens
6 fn to_tokens(&self, tokens: &mut TokenStream); in to_tokens()
10 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens()
12 v.to_tokens(tokens); in to_tokens()
18 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens()
19 tokens.extend([TokenTree::from(self.clone())]); in to_tokens()
24 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens()
25 tokens.extend([self.clone()]); in to_tokens()
30 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens()
31 tokens.extend(self.clone()); in to_tokens()
35 /// Converts tokens into [`proc_macro::TokenStream`] and performs variable interpolations with
43 let mut tokens; localVariable
46 tokens = ::std::vec::Vec::new();
48 quote_spanned!(@proc tokens span $($tt)*);
50 ::proc_macro::TokenStream::from_iter(tokens)
68 let mut tokens = ::std::vec::Vec::new(); localVariable
69 quote_spanned!(@proc tokens $span $($inner)*);
72 ::proc_macro::TokenStream::from_iter(tokens)
77 let mut tokens = ::std::vec::Vec::new(); localVariable
78 quote_spanned!(@proc tokens $span $($inner)*);
81 ::proc_macro::TokenStream::from_iter(tokens)
86 let mut tokens = ::std::vec::Vec::new(); localVariable
87 quote_spanned!(@proc tokens $span $($inner)*);
90 ::proc_macro::TokenStream::from_iter(tokens)
145 /// Converts tokens into [`proc_macro::TokenStream`] and performs variable interpolations with