MCPcopy Create free account
hub / github.com/AmrDeveloper/GQL / plus_op

Method plus_op

crates/gitql-core/src/values/integer.rs:358–360  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

356 }
357
358 fn plus_op(&self) -> Result<Box<dyn Value>, String> {
359 Ok(Box::new(IntValue::new(self.value)))
360 }
361
362 fn neg_op(&self) -> Result<Box<dyn Value>, String> {
363 Ok(Box::new(IntValue::new(-self.value)))

Callers 1

evaluate_prefix_unaryFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected