MCPcopy Create free account
hub / github.com/ciphermodelabs/ciphercore / instantiate

Method instantiate

ciphercore-base/src/ops/comparisons.rs:456–464  ·  view source on GitHub ↗
(&self, context: Context, arguments_types: Vec<Type>)

Source from the content-addressed store, hash-verified

454#[typetag::serde]
455impl CustomOperationBody for GreaterThan {
456 fn instantiate(&self, context: Context, arguments_types: Vec<Type>) -> Result<Graph> {
457 instantiate_comparison_custom_op(
458 context,
459 arguments_types,
460 self.signed_comparison,
461 &self.get_name(),
462 |res| res.greater_than(),
463 )
464 }
465
466 fn get_name(&self) -> String {
467 format!("GreaterThan(signed_comparison={})", self.signed_comparison)

Callers

nothing calls this directly

Calls 8

greater_thanMethod · 0.80
not_equalMethod · 0.80
less_thanMethod · 0.80
less_than_equal_toMethod · 0.80
greater_than_equal_toMethod · 0.80
equalMethod · 0.80
get_nameMethod · 0.45

Tested by

no test coverage detected