Phase

enum Phase : Enum<AvailLoader.Phase>

The macro-state of the loader. During compilation from a file, a loader will ratchet between COMPILING while parsing a top-level statement, and EXECUTING_FOR_COMPILE while executing the compiled statement. Similarly, when loading from a file, the loader's phase alternates between LOADING and EXECUTING_FOR_LOAD.

Entries

Link copied to clipboard

The AvailLoader is parsing an expression within some anonymous module. The current fiber is attempting to execute some Avail code as requested by the compilation.

Link copied to clipboard

The fully-loaded module is now being unloaded.

Link copied to clipboard

A top-level deserialized statement is being executed.

Link copied to clipboard

A top-level parsed statement is being executed.

Link copied to clipboard

A top-level statement is being loaded from a repository.

Link copied to clipboard

A top-level statement is being compiled.

Link copied to clipboard

The header has been compiled and processed, and is now being styled.

Link copied to clipboard

No statements have been loaded or compiled yet.

Properties

Link copied to clipboard
val isExecuting: Boolean = false

Whether this phase represents a time when execution is happening.

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int