pub fn new_unary_op<A>(
operand: A,
op_type: UnaryOpType,
) -> Result<UnaryOperationNode, AstNodeError>
Expand description
Creates a new unary operation node.
pub fn new_unary_op<A>(
operand: A,
op_type: UnaryOpType,
) -> Result<UnaryOperationNode, AstNodeError>
Creates a new unary operation node.