Companion

object Companion

Properties

Link copied to clipboard

Return the set of all ancestor modules of this module. Exclude this module from the set.

Link copied to clipboard

Dispatch to the descriptor.

Link copied to clipboard

Dispatch to the descriptor.

Link copied to clipboard

Answer the set of all names exported by this module.

Link copied to clipboard

The map from strings to atoms which act as true names. The true names are identity-based identifiers that prevent or at least clarify name conflicts. Answer only those names that have been imported from other modules.

Link copied to clipboard

The A_Definitions defined by this module.

Link copied to clipboard

Answer the name of this module.

Link copied to clipboard

Answer the name of this module as a native Kotlin String.

Link copied to clipboard

Read the current state of the module, which indicates whether the module is loading, unloading, or in a stable state.

Link copied to clipboard

Answer a map from strings to atoms. These atoms prevent or at least clarify name conflicts. These names are those introduced by the module's "Names" section or P_PublishName.

Link copied to clipboard

Dispatch to the descriptor.

Link copied to clipboard

Produce an A_String describing the module. Leave off the module path.

Link copied to clipboard

The A_Set of A_Stylers defined by this module.

Link copied to clipboard

Dispatch to the descriptor.

Link copied to clipboard

Answer the set of acceptable version strings for which this module claims compatibility. An empty set indicates universal compatibility.

Link copied to clipboard

Dispatch to the descriptor.

Functions

Link copied to clipboard

Add the given A_Bundle to this module. It will be removed from its connected A_Method when this module is unloaded.

Link copied to clipboard
fun A_Module.addConstantBinding(name: A_String, constantBinding: A_Variable)

TODO MvG Comment Me!

Link copied to clipboard

TODO MvG Comment Me!

Link copied to clipboard

TODO MvG Comment Me!

Link copied to clipboard

TODO MvG Comment Me!

Link copied to clipboard
fun A_Module.addPostLoadFunction(postLoadFunction: A_Function)

Add the specified function to the tuple of functions that should be applied when the module has been fully compiled.

Link copied to clipboard

TODO MvG Comment Me!

Link copied to clipboard

TODO MvG Comment Me!

Link copied to clipboard
fun A_Module.addSeal(methodName: A_Atom, sealSignature: A_Tuple)

TODO MvG Comment Me!

Link copied to clipboard

Add the specified function to the tuple of functions that should be applied when the module is unloaded.

Link copied to clipboard
fun A_Module.addVariableBinding(name: A_String, variableBinding: A_Variable)

Add a module variable binding to this module.

Link copied to clipboard

Update this module with information that has been accumulated in the given ModuleHeader.

Link copied to clipboard

Dispatch to the descriptor.

Link copied to clipboard

Create and answer a LexicalScanner containing all lexers that are in scope for this module.

Link copied to clipboard

Extract the module's tuple of block phrases that it accumulated during compilation. Also set the field to nil.

Link copied to clipboard
fun A_Module.hasAncestor(potentialAncestor: A_Module): Boolean

Determine if the given module is equal to or an ancestor of the receiver.

Link copied to clipboard

Introduce a new atom into this module.

Link copied to clipboard

Get the module's List of manifest entries. This may involve fetching and decoding data from the repository.

Link copied to clipboard

Add a definition to this module.

Link copied to clipboard

Add a grammatical restriction to this module.

Link copied to clipboard

Add an A_Macro to this module.

Link copied to clipboard

Add a semantic restriction to this module.

Link copied to clipboard

Add the given styler to the module's A_Set.

Link copied to clipboard

Get this loaded module's NamesIndex record, reading it from the repository file if necessary.

Link copied to clipboard

Look up a one-based index in this module's tuple of block phrases. If the tuple is nil, first fetch it from the repository and overwrite the field.

Link copied to clipboard

Get the module's StylingRecord, which is used for syntax coloring the module source. This may involve reading the repository.

Link copied to clipboard

Record a block phrase in this module, answering the unique one-based Avail integer index at which it can later be retrieved.

Link copied to clipboard
fun A_Module.removeFrom(loader: AvailLoader, afterRemoval: () -> Unit)

Dispatch to the descriptor.

Link copied to clipboard
fun A_Module.resolveForward(forwardDefinition: A_BasicObject)

Dispatch to the descriptor.

Link copied to clipboard
fun A_Module.serializedObjects(serializedObjects: A_Tuple)

Deserialization has completed, and this is the A_Tuple of objects that were deserialized. This tuple can be used for pumping serializers and deserializers of subsequent modules, as well as the separate repository record for block phrases, stacks comments, and any styling, navigation, or indexing information stored separately from the body record of the module.

Link copied to clipboard

Set the repository record number for this module's manifest entries.

Link copied to clipboard

Set the index of the NamesIndex record. That record is the way that declarations, definitions, and usages of names are tracked for this module.

Link copied to clipboard

Set the record number under which this module's PhrasePathRecord has been recorded.

Link copied to clipboard

Set the record number under which this module's StylingRecord has been recorded.

Link copied to clipboard

Get the module's StylingRecord, which is used for syntax coloring the module source. This may involve reading the repository.

Link copied to clipboard

Remove the A_Tuple of post-load A_Function from this module, returning them. Replace the tuple with nil.

Link copied to clipboard

Dispatch to the descriptor.