Module lower

Source

Modules§

context
generators
Statement generators. Add statements to BlockBuilder while respecting variable liveness and ownership of OwnedVariable.
refs

Structs§

MultiLowering
Lowering of a function together with extra generated functions.

Functions§

lower_expr_while_let
Lowers an expression of type if where the condition is of type semantic::Condition::Let.
lower_for_loop
Lowers an expression of type semantic::ExprFor.
lower_function
Lowers a function into FlatLowered.
lower_loop_function
Lowers a loop inner function into FlatLowered. Similar to lower_function, but adds a recursive call.
lower_return
Generates the lowering for a return ret_expr in the case where we are inside a loop is_early_return indicates if this is a normal return or an early return.
lower_semantic_function
Lowers a semantic free function.
lower_statement
Lowers a semantic statement.
lower_tail_expr
Lowers an expression that is either a complete block, or the end (tail expression) of a block.
lower_while_loop
Lowers an expression of type semantic::ExprWhile.
lowered_expr_to_block_scope_end
Converts LoweringResult<LoweredExpr> into BlockScopeEnd.
return_a_unit
Generates lowering to return a unit.