Companion

object Companion

Functions

Link copied to clipboard
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.

Link copied to clipboard
fun currentLoaderOrNull(): AvailLoader?

If the current Thread is an AvailThread, extract its AvailLoader, if any. Otherwise answer null.

Link copied to clipboard
fun forUnloading(    runtime: AvailRuntime,     module: A_Module,     textInterface: TextInterface): AvailLoader

Create an AvailLoader suitable for unloading the specified module.

Link copied to clipboard
fun overrideStyle(original: StylerDescriptor.SystemStyle, replacement: StylerDescriptor.SystemStyle): (String?) -> String?

Answer a merge function that accepts an existing regional style and clobbers it with replacement iff the existing style is original. The resultant function is suitable for use with styleToken.

Properties

Link copied to clipboard
var debugLoadedStatements: Boolean = false

Show the top-level statements that are executed during loading or compilation.

Link copied to clipboard
var debugUnsummarizedStatements: Boolean = false

Allow investigation of why a top-level expression is being excluded from summarization.

Link copied to clipboard
var enableFastLoader: Boolean = true

A flag that controls whether compilation attempts to use the fast-loader to rewrite some top-level statements into a faster form.