Add stubs for the math functions.

This commit is contained in:
Tom Alexander
2020-06-13 22:12:00 -04:00
parent 2c5c2d239c
commit d8b8c223f0
3 changed files with 63 additions and 0 deletions

View File

@@ -439,6 +439,34 @@ impl CompareContextElement for serde_json::Value {
.map(IceResult::from_owned),
}
}
fn math_subtract<'a>(&self, other: &dyn ContextElement) -> Option<IceResult<'a>> {
todo!()
}
fn math_multiply<'a>(&self, other: &dyn ContextElement) -> Option<IceResult<'a>> {
todo!()
}
fn math_divide<'a>(&self, other: &dyn ContextElement) -> Option<IceResult<'a>> {
todo!()
}
fn math_modulus<'a>(&self, other: &dyn ContextElement) -> Option<IceResult<'a>> {
todo!()
}
fn math_abs<'a>(&self) -> Option<IceResult<'a>> {
todo!()
}
fn math_floor<'a>(&self) -> Option<IceResult<'a>> {
todo!()
}
fn math_ceil<'a>(&self) -> Option<IceResult<'a>> {
todo!()
}
}
#[derive(Debug)]