Searched refs:tokens_helper (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/syn/src/gen/ |
D | visit_mut.rs | 781 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 …]
|
D | visit.rs | 777 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 …]
|
D | fold.rs | 782 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/ |
D | gen_helper.rs | 37 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
|