Skip to main content

Module compiler_data

Module compiler_data 

Source

Structs§

CompileCheckpoint
A checkpoint of the tables a compile attempt grows as it goes, taken by State::checkpoint and undone by State::rollback_to when the attempt ends in a diagnostic.
Ctx
DynamicLibFn
Dynamiclib
EnumType
A native tagged-union enum type. Its values are stored in the object pool like structs: element 0 of the pool entry is the variant tag (an int index into variants), and elements 1.. are the variant’s payload in order.
EnumVariant
ErrorCatch
FnGenerics
The generic side of a function: what its annotations mean once the type parameters are known.
FnSignature
FnValueSet
The functions one variable holding a function value may hold.
Function
FunctionImpl
HostFnSig
Marshalling signature for a host function, indexed by the compiler’s FnSignature::id. types[0] is the return type; types[1..] are the argument types.
IndirectRegisters
The registers an indirect call passes its arguments and the callee’s environment in.
InstrSrc
NamedType
A DataType together with the tables that name its structs and enums, as produced by TypeNames::of.
Pools
Source
State
Struct
TypeCodes
Up to eight type codes, held by value so a Ctx can carry them.
TypeNames
The type tables a message needs to call a user type by the name the program gave it.
Variable

Enums§

ReturnCheck
How a return checks an any value against the declared return type.