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.
A supplier of a default A_Function to use for this hook type.
Entries
The HookType for a hook that holds the stringification function.
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 function to invoke whenever a returned value disagrees with the expected type.
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 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 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 at the outermost stack frame to run a fiber, when the fiber would be captured by a debugger. 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 a method or macro send is ready to be styled (a top-level statement was parsed unambiguously, and this phrase's children have had their chance to apply styling), but the most specific method/macro definition being invoked does not specify its own styler.
Properties
A supplier of a default A_Function to use for this hook type.
The A_Function that hooks of this type use.
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.