Module prelude

Source

Structsยง

BTreeMap ๐Ÿ”’
An ordered map based on a B-Tree.
BTreeSet ๐Ÿ”’
An ordered set based on a B-Tree.
Block ๐Ÿ”’
Runtime statement block.
Elaborator ๐Ÿ”’
EnumTemplate ๐Ÿ”’
FunctionDecl ๐Ÿ”’
Runtime function declaration.
FunctionSig ๐Ÿ”’
NamedTypeField ๐Ÿ”’
Named type field.
Param ๐Ÿ”’
Runtime function parameter.
Program ๐Ÿ”’
Whole parsed frontend program.
RuntimeFunctionTemplate ๐Ÿ”’
SpecializationKey ๐Ÿ”’
StructDecl ๐Ÿ”’
Runtime struct declaration.
StructTemplate ๐Ÿ”’
TemplateCallBinding ๐Ÿ”’
TypeRef ๐Ÿ”’
Source-level type reference with ownership mode.

Enumsยง

CallArg ๐Ÿ”’
Function call argument.
ElabError
Elaboration error produced while concretizing type syntax.
Expr ๐Ÿ”’
Runtime expression.
IntrinsicId ๐Ÿ”’
Builtin intrinsic identifier used by semantic phases.
MatchPattern ๐Ÿ”’
Runtime match pattern.
OwnershipMode ๐Ÿ”’
Parameter ownership mode.
PrefixOp ๐Ÿ”’
Prefix operator.
SpecializationValue ๐Ÿ”’
Stmt ๐Ÿ”’
Runtime statement.
Ty ๐Ÿ”’
Semantic type assigned by checking and consumed by lower IRs/backends.
TypeExpr ๐Ÿ”’
Type syntax shared across frontend stages.

Functionsยง

can_safely_coerce_numeric ๐Ÿ”’
Return whether numeric value from can be converted into to without loss.
elaborate_meta_generated_expr
Elaborate a generated runtime expression using a restricted local environment.
elaborate_program
Elaborate a frontend program by resolving and concretizing runtime types.
elaborate_program_with_timings
Elaborate a frontend program and return elaboration subpass timings.
is_truncation_cast ๐Ÿ”’
Return whether source to target represents a narrowing truncation cast.

Derive Macrosยง

Error ๐Ÿ”’