addBootstrapStyler

fun addBootstrapStyler(bodyCode: A_RawFunction, atom: A_Atom, module: A_Module)

Create and add a bootstrap A_Styler in the method specified by the atom. If the method already has a styler, do nothing. Also do nothing if the bodyCode is not primitive, or its primitive doesn't specify a bootstrapStyler.

DO NOT record this action, as it will happen as an automatic consequence of adding the method definition or macro during fast-loading.

Parameters

bodyCode

The body of the method definition, macro, or lexer that was defined. If it's a primitive, its bootstrapStyler will be looked up.

atom

The A_Atom whose bundle's method that should have a styler added, if indicated.

module

Either nil for a system method, or the A_Module with which to associate the new styler.