[][src]Module stk::unit

A single execution unit in the stk virtual machine.

A unit consists of an array of instructions, and lookaside tables for metadata like function locations.

Structs

Assembly

Helper structure to build instructions and maintain certain invariants.

CompilationUnit

Instructions from a single source file.

DebugInfo

Debug information for every instruction.

Label

A label that can be jumped to.

LinkerErrors

Linker errors.

Span

A span corresponding to a range in the source file being parsed.

UnitFnInfo

Information about a registered function.

UnitFnSignature

A description of a function signature.

Enums

CompilationUnitError

Errors raised when building a new unit.

LinkerError

An error raised during linking.