pub fn from_ast(
    ast: &UnaryOperatorResult,
    ctx: &mut IRGeneratingContext<'_>
) -> QuantityExpand description
Generate a UnaryCalculate from an ast::expression::UnaryOperatorResult,
and append it to the current basic block.
Return a Quantity which contains the result.