Recursively iterates over each expression in an ASTNode and applies a callback to each expression.
The node to traverse.
The callback function to apply to each expression.
The initial value of the accumulator.
Optional configuration for the traversal.
The final value of the accumulator after processing all expressions.
Recursively iterates over each expression in an ASTNode and applies a callback to each expression.