Macro for_all_op2

Source
macro_rules! for_all_op2 {
    () => { ... };
}
Expand description

Expands to include a sequence of binary (two-operand) operations as part of the Expr Ops sub-module.

These operations encompass a wide range of functionalities for string handling, mathematical computations, and date-time manipulations within the synthesis framework. The macro generates repetitive code structures for each operation defined within its body, listed in a _do! macro call. This list includes operations like Concat for concatenating strings, Eq for equality checks, Add and Sub for arithmetic, and TimeAdd for time adjustments, among others. Such a macro centralizes the operation definitions, simplifying maintenance and reducing redundancy in coding related to binary operations.