Lines Matching refs:TokenTree
4 use proc_macro2::{Delimiter, Group, Ident, Punct, Spacing, Span, TokenStream, TokenTree};
125 TokenTree::Group(Group::new(Delimiter::None, quote! { f })), in test_macro_variable_func()
126 TokenTree::Group(Group::new(Delimiter::Parenthesis, TokenStream::new())), in test_macro_variable_func()
147 TokenTree::Punct(Punct::new('#', Spacing::Alone)), in test_macro_variable_func()
148 TokenTree::Group(Group::new(Delimiter::Bracket, quote! { outside })), in test_macro_variable_func()
149 TokenTree::Group(Group::new(Delimiter::None, quote! { #[inside] f })), in test_macro_variable_func()
150 TokenTree::Group(Group::new(Delimiter::Parenthesis, TokenStream::new())), in test_macro_variable_func()
203 TokenTree::Group(Group::new(Delimiter::None, quote! { m })), in test_macro_variable_macro()
204 TokenTree::Punct(Punct::new('!', Spacing::Alone)), in test_macro_variable_macro()
205 TokenTree::Group(Group::new(Delimiter::Parenthesis, TokenStream::new())), in test_macro_variable_macro()
230 TokenTree::Group(Group::new(Delimiter::None, quote! { S })), in test_macro_variable_struct()
231 TokenTree::Group(Group::new(Delimiter::Brace, TokenStream::new())), in test_macro_variable_struct()
252 TokenTree::Ident(Ident::new("match", Span::call_site())), in test_macro_variable_match_arm()
253 TokenTree::Ident(Ident::new("v", Span::call_site())), in test_macro_variable_match_arm()
254 TokenTree::Group(Group::new( in test_macro_variable_match_arm()
257 TokenTree::Punct(Punct::new('_', Spacing::Alone)), in test_macro_variable_match_arm()
258 TokenTree::Punct(Punct::new('=', Spacing::Joint)), in test_macro_variable_match_arm()
259 TokenTree::Punct(Punct::new('>', Spacing::Alone)), in test_macro_variable_match_arm()
260 TokenTree::Group(Group::new(Delimiter::None, quote! { #[a] () })), in test_macro_variable_match_arm()