Expand description
Match expression lowering for Joule MIR
Converts match expressions into decision trees in MIR. Uses the classic pattern matching compilation algorithm.
Structs§
- Lowered
Block - A lowered basic block (for return value)
- Match
Arm - A match arm for lowering
- Match
Lowering - Match lowering context
- Pattern
Matrix - The pattern matrix used in match compilation
- Pattern
Row - A row in the pattern matrix
Enums§
Functions§
- lower_
simple_ match - Helper to create a simple match for common cases