R/trace_calls.R
trace_calls.Rd
This function calls itself recursively so it can properly traverse the AST.
trace_calls(x, parent_functions = NULL, parent_ref = NULL)
the call
the functions which this call is a child of.
argument used to set the srcref of the current call during the recursion.
a modified expression with count calls inserted before each previous call.
http://adv-r.had.co.nz/Expressions.html