Lines Matching refs:to_tokens
653 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
654 self.leading_colon.to_tokens(tokens); in to_tokens()
655 self.segments.to_tokens(tokens); in to_tokens()
661 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
662 self.ident.to_tokens(tokens); in to_tokens()
663 self.arguments.to_tokens(tokens); in to_tokens()
669 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
673 arguments.to_tokens(tokens); in to_tokens()
676 arguments.to_tokens(tokens); in to_tokens()
685 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
687 GenericArgument::Lifetime(lt) => lt.to_tokens(tokens), in to_tokens()
688 GenericArgument::Type(ty) => ty.to_tokens(tokens), in to_tokens()
689 GenericArgument::Binding(tb) => tb.to_tokens(tokens), in to_tokens()
690 GenericArgument::Constraint(tc) => tc.to_tokens(tokens), in to_tokens()
692 Expr::Lit(_) => e.to_tokens(tokens), in to_tokens()
698 Expr::Block(_) => e.to_tokens(tokens), in to_tokens()
703 e.to_tokens(tokens); in to_tokens()
712 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
713 self.colon2_token.to_tokens(tokens); in to_tokens()
714 self.lt_token.to_tokens(tokens); in to_tokens()
725 param.to_tokens(tokens); in to_tokens()
738 <Token![,]>::default().to_tokens(tokens); in to_tokens()
740 param.to_tokens(tokens); in to_tokens()
752 <Token![,]>::default().to_tokens(tokens); in to_tokens()
754 param.to_tokens(tokens); in to_tokens()
763 self.gt_token.to_tokens(tokens); in to_tokens()
769 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
770 self.ident.to_tokens(tokens); in to_tokens()
771 self.eq_token.to_tokens(tokens); in to_tokens()
772 self.ty.to_tokens(tokens); in to_tokens()
778 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
779 self.ident.to_tokens(tokens); in to_tokens()
780 self.colon_token.to_tokens(tokens); in to_tokens()
781 self.bounds.to_tokens(tokens); in to_tokens()
787 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() method
789 self.inputs.to_tokens(tokens); in to_tokens()
791 self.output.to_tokens(tokens); in to_tokens()
800 path.to_tokens(tokens); in print_path()
804 qself.lt_token.to_tokens(tokens); in print_path()
805 qself.ty.to_tokens(tokens); in print_path()
810 TokensOrDefault(&qself.as_token).to_tokens(tokens); in print_path()
811 path.leading_colon.to_tokens(tokens); in print_path()
814 segment.value().to_tokens(tokens); in print_path()
815 qself.gt_token.to_tokens(tokens); in print_path()
816 segment.punct().to_tokens(tokens); in print_path()
818 segment.to_tokens(tokens); in print_path()
822 qself.gt_token.to_tokens(tokens); in print_path()
823 path.leading_colon.to_tokens(tokens); in print_path()
826 segment.to_tokens(tokens); in print_path()