Skip to main content

Module types

Module types 

Source
Expand description

Parser for the Fiducia type grammar and information flow security labels.

See crate::ast::types for the type system’s AST node documentation (primitives, page sizes, permissions, addresses) and crate::ast::infoflow for the SecurityLabel type documentation.

High MemoryRegion secret(0x1000);   // confidential
MemoryRegion public(0x1000);        // Low by default

Functions§

parse
Parse a type expression, including an optional fixed-size array suffix.
security_label
Parse a security label keyword (High or Low).
typed_param
Parse a single typed identifier in ident: Type form.