INVALID_MESSAGE_SEND

INVALID_MESSAGE_SEND("«failed method lookup»", functionType( tuple( enumerationWith( set( AvailErrorCode.E_NO_METHOD, AvailErrorCode.E_NO_METHOD_DEFINITION, AvailErrorCode.E_AMBIGUOUS_METHOD_DEFINITION, AvailErrorCode.E_FORWARD_METHOD_DEFINITION, AvailErrorCode.E_ABSTRACT_METHOD_DEFINITION)), Types.METHOD.o, mostGeneralTupleType), bottom), null)

The HookType for a hook that holds the function to invoke whenever an A_Method send fails for a definitional reason.

Functions

Link copied to clipboard
operator fun get(runtime: AvailRuntime): A_Function

Extract the current A_Function for this hook from the given runtime.

Link copied to clipboard
operator fun set(runtime: AvailRuntime, function: A_Function)

Set this hook for the given runtime to the given function.

Properties

Link copied to clipboard
val defaultFunctionSupplier: OnceSupplier<A_Function>

A supplier of a default A_Function to use for this hook type.

Link copied to clipboard
val functionType: A_Type

The A_Function that hooks of this type use.

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int