Function rustc_ast::mut_visit::visit_token
source · pub fn visit_token<T: MutVisitor>(t: &mut Token, vis: &mut T)
Expand description
Applies ident visitor if it’s an ident; applies other visits to interpolated nodes. In practice the ident part is not actually used by specific visitors right now, but there’s a test below checking that it works.