addMethodBody

fun addMethodBody(methodName: A_Atom, bodyBlock: A_Function): A_Definition

Add the method definition. The precedence rules can change at any time.

Return

The newly added A_Definition.

Parameters

methodName

The method's name.

bodyBlock

The body function.

Throws

If the message name is malformed.

If the signature is invalid.