Module i_slint_compiler::builtin_macros
source · Expand description
This module contains the implementation of the builtin macros. They are just transformations that convert into some more complicated expression tree
Functions
- “Expand” the macro
mac(at locationn) with the argumentssub_expr - Generate an expression which is like
min(lhs, rhs)if op is ‘<’ ormax(lhs, rhs)if op is ‘>’. counter is an unique id. The rhs and lhs of the expression must have the same numerical type