gbf_core::decompiler::ast

Function new_bin_op

Source
pub fn new_bin_op<L, R>(
    lhs: L,
    rhs: R,
    op_type: BinOpType,
) -> Result<BinaryOperationNode, AstNodeError>
where L: Into<Box<ExprKind>>, R: Into<Box<ExprKind>>,
Expand description

Creates binary operation node.