Traverses the expression expr depth-first and transform it using callbacks.
depth_first_rewrite_expr(expr, callbacks, params = list(),
topdown = list(), wflags = warning_flags(), ...)An R expression
List of callbacks to apply.
Parameters of the function we are rewriting. If we are working on a raw expression, just use the default, which is an empty list.
A list of additional information gathered in the traversal.
Warning flags, see warning_flags().
Additional data that will be passed along to callbacks.
A modified expression.
rewrite_callbacks
identity_rewrite_callback
depth_first_rewrite_function