Skip to main content

Module ty

Module ty 

Source
Expand description

The value type every tast node carries, by id.

int and uint are sized here (int64, uint64), byte is uint8 (as C spells it, uint8_t); Address is Addr(None), and an address known to point into a region, m.vaddr, is Addr(Some(m)), a subtype of Addr(None). An array length is folded and keeps the const it was written as, which the C backend spells. A called foreign function’s signature is lowered from its language by rast (ty::foreign::signature) and typed here as any declared type.

Structs§

ArrayLen
A folded array length.
FfnSig
A foreign function’s signature, τ̄ → τ.

Enums§

Ty
A value type.