Module cairo_lang_lowering::lower
source · Modules
- Statement generators. Add statements to BlockBuilder while respecting variable liveness and ownership of OwnedVariable.
- Introduces BlockUsages, which is responsible for computing variables usage in semantic blocks
of a function.
Structs
- Lowering of a function together with extra generated functions.
Functions
- Lowers a function into FlatLowered.
- Lowers a loop inner function into FlatLowered. Similar to
lower_function
, but adds a recursive call. - Lowers a semantic free function.
- Lowers a semantic statement.
- Lowers an expression that is either a complete block, or the end (tail expression) of a block.
- Converts
LoweringResult<LoweredExpr>
intoBlockScopeEnd
.