Hook Type
A HookType describes an abstract missing behavior in the virtual machine, where an actual hook will have to be constructed to hold an A_Function within each separate AvailRuntime.
Parameters
The name to attach to the A_Functions that are plugged into hooks of this type.
The signature of functions that may be plugged into hook of this type.
The Primitive around which to synthesize a default A_Function for hooks of this type. If this is null, a function that invokes P_EmergencyExit will be synthesized instead.
Entries
The HookType for a hook that holds the A_Function to invoke at the outermost stack frame to run a fiber. This function is passed a function to execute and the arguments to supply to it. The result returned by the passed function is returned from this frame.
The HookType for a hook that holds the A_Function to invoke when an exception is caught in a Pojo invocation of a Java method or CallbackSystem.Callback.
The HookType for a hook that holds the A_Function to invoke whenever an A_Variable with write reactors is written to when write tracing is not enabled.
The HookType for a hook that holds the function to invoke whenever an A_Method send fails for a definitional reason.
The HookType for a hook that holds the function to invoke whenever a returned value disagrees with the expected type.
The HookType for a hook that holds the function to invoke whenever an unassigned variable is read.
The HookType for a hook that holds the stringification function.
Functions
Extract the current A_Function for this hook from the given runtime.
Set this hook for the given runtime to the given function.
Properties
A supplier of a default A_Function to use for this hook type.