Expand description
Runtime type-contract matching shared by native and portable execution.
The parser owns TypeExpr; this module owns how those expressions match
runtime values. Runtimes project their value representation through the
small TypeContractValue interface instead of maintaining another type
dispatch table.
Enums§
Traits§
Functions§
- manifest_
signature_ is_ portable - Return whether every parameter and successful return value in a canonical capability signature is representable by the portable value contract.
- manifest_
type_ is_ portable - Return whether a canonical manifest type can cross the portable
DataValueboundary without losing information or type precision. - matches_
manifest_ type - Match a value against the canonical const-friendly type used by builtin and capability manifests.
- matches_
type