Callbacks have one required argument,
expr, but will actually be called
with more. The additional named parameters are:
1 2 3
The expression to (not) transform.
Additional named parameters.
Information gathered depth-first in analysis callbacks. This parameter is only passed to callbacks in analysis traversals and not rewrite traversals.
env The function environment of the function we are transforming
params The formal parameters of the function we are transforming
topdown Data passed top-down in the traversal.
bottomup Data collected by depth-first traversals before a callback is
called. plus whatever the user provide to
next_cb A handle to call the next callback if more are installed. This variable will be the callback that was in the callbacks list before this one replaced it.
In bottom up analyses, the
merge_bottomup() function can be used to
collected the results of several recursive calls. When annotating
collect_from_args() can be used in
call callbacks to
extract annotation information from call arguments.
identity_rewrite_callback: Identity for expression rewriting
identity_analysis_callback: Identity for expression rewriting
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.