MCPcopy Create free account
hub / github.com/Z3Prover/z3 / mkPropagateFunction

Method mkPropagateFunction

src/api/java/Context.java:585–597  ·  view source on GitHub ↗
(Symbol name, Sort[] domain, R range)

Source from the content-addressed store, hash-verified

583 }
584
585 public final <R extends Sort> FuncDecl<R> mkPropagateFunction(Symbol name, Sort[] domain, R range)
586 {
587 checkContextMatch(name);
588 checkContextMatch(domain);
589 checkContextMatch(range);
590 long f = Native.solverPropagateDeclare(
591 this.nCtx(),
592 name.getNativeObject(),
593 AST.arrayLength(domain),
594 AST.arrayToNative(domain),
595 range.getNativeObject());
596 return new FuncDecl<>(this, f);
597 }
598
599
600 /**

Callers

nothing calls this directly

Calls 5

checkContextMatchMethod · 0.95
nCtxMethod · 0.95
getNativeObjectMethod · 0.80
arrayLengthMethod · 0.80
arrayToNativeMethod · 0.80

Tested by

no test coverage detected