Home
last modified time | relevance | path

Searched refs:tokens_helper (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/syn/src/gen/
Dvisit_mut.rs781 tokens_helper(v, &mut node.extern_token.span); in visit_abi_mut()
794 tokens_helper(v, &mut it.spans) in visit_angle_bracketed_generic_arguments_mut()
796 tokens_helper(v, &mut node.lt_token.spans); in visit_angle_bracketed_generic_arguments_mut()
801 tokens_helper(v, &mut p.spans); in visit_angle_bracketed_generic_arguments_mut()
804 tokens_helper(v, &mut node.gt_token.spans); in visit_angle_bracketed_generic_arguments_mut()
816 tokens_helper(v, &mut (it).0.span); in visit_arm_mut()
819 tokens_helper(v, &mut node.fat_arrow_token.spans); in visit_arm_mut()
822 tokens_helper(v, &mut it.spans) in visit_arm_mut()
833 tokens_helper(v, &mut _binding_0.spans); in visit_attr_style_mut()
842 tokens_helper(v, &mut node.pound_token.spans); in visit_attribute_mut()
[all …]
Dvisit.rs777 tokens_helper(v, &node.extern_token.span); in visit_abi()
790 tokens_helper(v, &it.spans) in visit_angle_bracketed_generic_arguments()
792 tokens_helper(v, &node.lt_token.spans); in visit_angle_bracketed_generic_arguments()
797 tokens_helper(v, &p.spans); in visit_angle_bracketed_generic_arguments()
800 tokens_helper(v, &node.gt_token.spans); in visit_angle_bracketed_generic_arguments()
812 tokens_helper(v, &(it).0.span); in visit_arm()
815 tokens_helper(v, &node.fat_arrow_token.spans); in visit_arm()
818 tokens_helper(v, &it.spans) in visit_arm()
829 tokens_helper(v, &_binding_0.spans); in visit_attr_style()
838 tokens_helper(v, &node.pound_token.spans); in visit_attribute()
[all …]
Dfold.rs782 extern_token: Token![extern](tokens_helper(f, &node.extern_token.span)), in fold_abi()
795 colon2_token: (node.colon2_token).map(|it| Token ! [::](tokens_helper(f, &it.spans))), in fold_angle_bracketed_generic_arguments()
796 lt_token: Token ! [<](tokens_helper(f, &node.lt_token.spans)), in fold_angle_bracketed_generic_arguments()
798 gt_token: Token ! [>](tokens_helper(f, &node.gt_token.spans)), in fold_angle_bracketed_generic_arguments()
811 Token![if](tokens_helper(f, &(it).0.span)), in fold_arm()
815 fat_arrow_token: Token ! [=>](tokens_helper(f, &node.fat_arrow_token.spans)), in fold_arm()
817 comma: (node.comma).map(|it| Token ! [,](tokens_helper(f, &it.spans))), in fold_arm()
828 AttrStyle::Inner(Token![!](tokens_helper(f, &_binding_0.spans))) in fold_attr_style()
838 pound_token: Token ! [#](tokens_helper(f, &node.pound_token.spans)), in fold_attribute()
840 bracket_token: Bracket(tokens_helper(f, &node.bracket_token.span)), in fold_attribute()
[all …]
/external/rust/crates/syn/src/
Dgen_helper.rs37 pub fn tokens_helper<F: Fold + ?Sized, S: Spans>(folder: &mut F, spans: &S) -> S { in tokens_helper() function
79 pub fn tokens_helper<'ast, V: Visit<'ast> + ?Sized, S: Spans>(visitor: &mut V, spans: &S) { in tokens_helper() function
120 pub fn tokens_helper<V: VisitMut + ?Sized, S: Spans>(visitor: &mut V, spans: &mut S) { in tokens_helper() function