module Call_Type_Value_Callbacks:Hook.Iter_hookwith type param = [`Builtin of Value_types.call_froms | `Spec of funspec | `Def | `Memexec] * state * callstack
Actions to perform at each treatment of a "call"
statement. state is the state before the call.
type param
Type of the parameter of the functions registered in the hook.
type result
Type of the result of the functions. result can be unit (for iterative hooks) or param (for folding hooks)
val extend : (param -> result) -> unitAdd a new function to the hook.
once optional arg (see extend_once)val extend_once : (param -> result) -> unitSame as extend, but the hook is added only if it is not already
present; the comparison is made using (==)
val apply : param -> resultApply all the functions of the hook on the given parameter. These functions are applied from the least recently entered to the most recently entered.
val is_empty : unit -> boolIs no function already registered in the hook?
val clear : unit -> unitClear the hook.
val length : unit -> intNumber of registered functions.