Recursively iterates over each statement in an ASTNode and applies a callback to each statement.
The node to traverse.
The callback function to apply to each statement.
Recursively iterates over each statement in an ASTNode and applies a callback to each statement.