addStyler

fun addStyler(bundle: A_Bundle, stylerFunction: A_Function)

Define and install a new styler based on the given stylerFunction. Install it for the given A_Bundle's method, within the current A_Module.

Parameters

bundle

The A_Bundle whose method will have the styler added.

stylerFunction

The A_Function, a stylerFunctionType, which is to be executed to style invocations of the bundle or its aliases.

Throws

With E_STYLER_ALREADY_SET_BY_THIS_MODULE if this module has already defined a styler for this method.