• Home
  • Raw
  • Download

Lines Matching refs:pub_name

398         let pub_name = pub_proc_macro_name(&name);  in expand_export_nohack()  localVariable
402 names.extend(quote!(#pub_name as #export_as)); in expand_export_nohack()
418 let pub_name = pub_proc_macro_name(&name); in expand_define() localVariable
423 mod #pub_name { in expand_define()
431 pub fn #hacked(input: #pub_name::TokenStream) -> #pub_name::TokenStream { in expand_define()
441 #pub_name::TokenTree::Group(group) => group.stream().into_iter(), in expand_define()
450 #pub_name::TokenTree::Group(group) => group.stream().into_iter(), in expand_define()
457 #pub_name::TokenTree::Group(group) => group.stream(), in expand_define()
461 let output: #pub_name::TokenStream = #name(inner.clone()); in expand_define()
463 fn count_bangs(input: #pub_name::TokenStream) -> usize { in expand_define()
467 #pub_name::TokenTree::Punct(punct) => { in expand_define()
472 #pub_name::TokenTree::Group(group) => { in expand_define()
484 #pub_name::TokenStream::from_iter(vec![ in expand_define()
485 #pub_name::TokenTree::Ident( in expand_define()
486 #pub_name::Ident::new("macro_rules", #pub_name::Span::call_site()), in expand_define()
488 #pub_name::TokenTree::Punct( in expand_define()
489 #pub_name::Punct::new('!', #pub_name::Spacing::Alone), in expand_define()
491 #pub_name::TokenTree::Ident( in expand_define()
492 #pub_name::Ident::new( in expand_define()
503 #pub_name::Span::call_site(), in expand_define()
506 #pub_name::TokenTree::Group( in expand_define()
507 … #pub_name::Group::new(#pub_name::Delimiter::Brace, #pub_name::TokenStream::from_iter(vec![ in expand_define()
508 #pub_name::TokenTree::Group( in expand_define()
509 … #pub_name::Group::new(#pub_name::Delimiter::Parenthesis, #pub_name::TokenStream::new()), in expand_define()
511 #pub_name::TokenTree::Punct( in expand_define()
512 #pub_name::Punct::new('=', #pub_name::Spacing::Joint), in expand_define()
514 #pub_name::TokenTree::Punct( in expand_define()
515 #pub_name::Punct::new('>', #pub_name::Spacing::Alone), in expand_define()
517 #pub_name::TokenTree::Group( in expand_define()
518 #pub_name::Group::new(#pub_name::Delimiter::Brace, output), in expand_define()
527 pub fn #pub_name(input: #pub_name::TokenStream) -> #pub_name::TokenStream { in expand_define()