identity_rewrite_callback {foolbox}R Documentation

A callback that does not do any transformation.

Description

Callbacks have one required argument, expr, but will actually be called with more. The additional named parameters are:

Usage

identity_rewrite_callback(expr, ...)

identity_analysis_callback(expr, bottomup, ...)

Arguments

expr

The expression to (not) transform.

...

Additional named parameters.

bottomup

Information gathered depth-first in analysis callbacks. This parameter is only passed to callbacks in analysis traversals and not rewrite traversals.

Details

In bottom up analyses, the merge_bottomup() function can be used to collected the results of several recursive calls. When annotating expressions, the collect_from_args() can be used in call callbacks to extract annotation information from call arguments.

Value

expr

Functions

See Also

merge_bottomup

collect_from_args


[Package foolbox version 0.1.1 Index]