depth_first_analyse_function {foolbox} | R Documentation |
Analyse the body of function.
Description
Traverses the body of fn
and analyse it based on callbacks
.
Usage
depth_first_analyse_function(fn, callbacks, topdown = list(),
wflags = warning_flags(), ...)
Arguments
fn |
A (closure) function. |
callbacks |
List of callbacks to apply. |
topdown |
A list of additional information that will be considered top-down in the traversal. |
wflags |
Warning flags, see |
... |
Additional data that will be passed along to callbacks. |
Value
The result of the last bottom-up call to a callback.
See Also
depth_first_analyse_expr
depth_first_rewrite_function
analysis_callbacks
[Package foolbox version 0.1.1 Index]