[][src]Module c2rust_refactor::ast_manip::lr_expr

fold_expr_with_context function, for rewriting exprs with knowledge of their contexts (rvalue / lvalue / mut lvalue).

Enums

Context

Kinds of contexts where exprs can appear.

Functions

fold_expr_with_context

Perform a bottom-up rewrite of an Expr, indicating at each step whether the expr is in an rvalue, (immutable) lvalue, or mutable lvalue context.

fold_exprs_with_context