syntax::ast::make

Function expr_if

source
pub fn expr_if(
    condition: Expr,
    then_branch: BlockExpr,
    else_branch: Option<ElseBranch>,
) -> Expr