Skip to main content

rvalue_to_expr

Function rvalue_to_expr 

Source
pub(crate) fn rvalue_to_expr(val: &RValue) -> Expr
Expand description

Convert an RValue back to an Expr — the inverse of expr_to_rvalue.

Used by Language::set_element to splice RValues into AST nodes.