gbf_core::decompiler::ast

Function new_unary_op

Source
pub fn new_unary_op<A>(
    operand: A,
    op_type: UnaryOpType,
) -> Result<UnaryOperationNode, AstNodeError>
where A: Into<Box<ExprKind>>,
Expand description

Creates a new unary operation node.