macro_rules! compute_const {
($($args:expr),*) => { ... };
}
Expand description
Expects a function typically used for JsonLogic operators in the scope this macro is called in:
ⓘ
fn compute(args: &[Expression], data: &Data) -> Value
Calls the compute
function with the given arguments wrapped in Expression::Constant
and an
empty data object created with Data::empty()
.