Lines Matching refs:TokenTree
4 use proc_macro2::{Delimiter, Group, Ident, Punct, Spacing, Span, TokenStream, TokenTree};
22 TokenTree::Group(Group::new(Delimiter::None, quote! { ty })), in test_macro_variable_type()
23 TokenTree::Punct(Punct::new('<', Spacing::Alone)), in test_macro_variable_type()
24 TokenTree::Ident(Ident::new("T", Span::call_site())), in test_macro_variable_type()
25 TokenTree::Punct(Punct::new('>', Spacing::Alone)), in test_macro_variable_type()
56 TokenTree::Group(Group::new(Delimiter::None, quote! { ty })), in test_macro_variable_type()
57 TokenTree::Punct(Punct::new(':', Spacing::Joint)), in test_macro_variable_type()
58 TokenTree::Punct(Punct::new(':', Spacing::Alone)), in test_macro_variable_type()
59 TokenTree::Punct(Punct::new('<', Spacing::Alone)), in test_macro_variable_type()
60 TokenTree::Ident(Ident::new("T", Span::call_site())), in test_macro_variable_type()
61 TokenTree::Punct(Punct::new('>', Spacing::Alone)), in test_macro_variable_type()
96 TokenTree::Ident(Ident::new("Option", Span::call_site())), in test_group_angle_brackets()
97 TokenTree::Punct(Punct::new('<', Spacing::Alone)), in test_group_angle_brackets()
98 TokenTree::Group(Group::new(Delimiter::None, quote! { Vec<u8> })), in test_group_angle_brackets()
99 TokenTree::Punct(Punct::new('>', Spacing::Alone)), in test_group_angle_brackets()
148 TokenTree::Group(Group::new(Delimiter::None, quote! { Vec<u8> })), in test_group_colons()
149 TokenTree::Punct(Punct::new(':', Spacing::Joint)), in test_group_colons()
150 TokenTree::Punct(Punct::new(':', Spacing::Alone)), in test_group_colons()
151 TokenTree::Ident(Ident::new("Item", Span::call_site())), in test_group_colons()
185 TokenTree::Group(Group::new(Delimiter::None, quote! { [T] })), in test_group_colons()
186 TokenTree::Punct(Punct::new(':', Spacing::Joint)), in test_group_colons()
187 TokenTree::Punct(Punct::new(':', Spacing::Alone)), in test_group_colons()
188 TokenTree::Ident(Ident::new("Element", Span::call_site())), in test_group_colons()