apply_reduction_operation

Function apply_reduction_operation 

Source
pub fn apply_reduction_operation(
    root: &AstNode,
    candidate: &ReductionCandidate,
) -> Option<AstNode>
Expand description

Apply a reduction operation to an AST node. Returns the new AST root if the operation was successful.