pub fn expr_to_rust_static(expr: &SpExpr) -> StringExpand description
Convert an Assura Expr to a Rust expression for use in const context.
Compared to [expr_to_rust], this variant:
- Does not rename
resultto the compiler-generated result variable - Does not emit
i128::from()casts for numeric comparisons - Does not translate
Implies/In/NotIn/Concatto Rust idioms - Emits quantifiers as
/* forall ... */ truecomments - Passes
old(expr)through as the inner expression - Uses simplified match patterns (
Ctor(..)instead of field bindings)