Lines Matching refs:vis
220 fn flat_map_field<T: MutVisitor>(mut f: ExprField, vis: &mut T) -> Vec<ExprField> { in librustc_brackets()
222 noop_visit_expr(&mut f.expr, vis); in librustc_brackets()
224 vis.visit_expr(&mut f.expr); in librustc_brackets()
229 fn flat_map_stmt<T: MutVisitor>(stmt: Stmt, vis: &mut T) -> Vec<Stmt> { in librustc_brackets()
233 noop_visit_expr(&mut e, vis); in librustc_brackets()
237 noop_visit_expr(&mut e, vis); in librustc_brackets()
246 fn noop_visit_expr<T: MutVisitor>(e: &mut Expr, vis: &mut T) { in librustc_brackets()
257 vis.visit_qself(qself); in librustc_brackets()
258 vis.visit_path(path); in librustc_brackets()
259 fields.flat_map_in_place(|field| flat_map_field(field, vis)); in librustc_brackets()
261 vis.visit_expr(rest); in librustc_brackets()
263 vis.visit_id(&mut e.id); in librustc_brackets()
264 vis.visit_span(&mut e.span); in librustc_brackets()
265 visit_attrs(&mut e.attrs, vis); in librustc_brackets()
267 _ => noop_visit_expr(e, vis), in librustc_brackets()