syntax::ast::make

Function expr_if

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