Module core

Source

Structsยง

BTreeMap ๐Ÿ”’
An ordered map based on a B-Tree.
Block ๐Ÿ”’
Runtime statement block.
BuilderEnvCursor ๐Ÿ”’
FrontendNodeIndex ๐Ÿ”’
Side-table index of frontend nodes discovered in deterministic traversal order.
FunctionDecl ๐Ÿ”’
Runtime function declaration.
ItemId ๐Ÿ”’
Stable frontend item identifier.
MetaBlock ๐Ÿ”’
Meta statement block.
MetaExprSemanticEntry ๐Ÿ”’
MetaFunctionDecl ๐Ÿ”’
Meta function declaration.
MetaStmtSemanticEntry ๐Ÿ”’
NamedExprField ๐Ÿ”’
Named field value in a struct literal.
Program ๐Ÿ”’
Whole parsed frontend program.

Enumsยง

CallArg ๐Ÿ”’
Function call argument.
CodeValue ๐Ÿ”’
Expr ๐Ÿ”’
Runtime expression.
FrontendParent ๐Ÿ”’
Parent reference for a frontend node in deterministic traversal order.
MetaEvalError
Meta-evaluation error produced while expanding meta code.
MetaExpr ๐Ÿ”’
Meta expression.
MetaMatchPattern ๐Ÿ”’
Meta match pattern.
MetaStmt ๐Ÿ”’
Meta statement.
MetaValue ๐Ÿ”’
QuotedCode ๐Ÿ”’
Quoted code fragment.
Stmt ๐Ÿ”’
Runtime statement.
TemplateMetaBinding
Compile-time runtime-template binding supplied during elaboration.
TypeExpr ๐Ÿ”’
Type syntax shared across frontend stages.

Functionsยง

build_meta_function_table ๐Ÿ”’
expand_function ๐Ÿ”’
expand_function_template_instance
Expand one instantiated runtime template function using provided meta bindings.
expand_function_with_env ๐Ÿ”’
expand_program
Expand all runtime-visible meta code in a frontend program.
expand_runtime_block ๐Ÿ”’
expected_builder_type ๐Ÿ”’
first_semantic_issue_for_runtime_function ๐Ÿ”’
match_cannot_succeed ๐Ÿ”’
match_requires_code_but_cannot_have_code ๐Ÿ”’
meta_arg_kind_matches ๐Ÿ”’
meta_arg_kind_name ๐Ÿ”’
meta_eval_error_from_semantic_issue ๐Ÿ”’
meta_expr_belongs_to_item ๐Ÿ”’
meta_stmt_belongs_to_item ๐Ÿ”’
resolved_name_kind ๐Ÿ”’
should_defer_runtime_meta ๐Ÿ”’
staged_builtin_arg_mismatch ๐Ÿ”’
template_binding_to_meta_value ๐Ÿ”’

Type Aliasesยง

RuntimeScope ๐Ÿ”’