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

Method mkConstDecl

src/api/java/Context.java:680–685  ·  view source on GitHub ↗

Creates a new constant function declaration.

(Symbol name, R range)

Source from the content-addressed store, hash-verified

678 * Creates a new constant function declaration.
679 **/
680 public final <R extends Sort> FuncDecl<R> mkConstDecl(Symbol name, R range)
681 {
682 checkContextMatch(name);
683 checkContextMatch(range);
684 return new FuncDecl<>(this, name, null, range);
685 }
686
687 /**
688 * Creates a new constant function declaration.

Callers 2

parserExample2Method · 0.80
parserExample2Method · 0.80

Calls 2

checkContextMatchMethod · 0.95
mkSymbolMethod · 0.95

Tested by

no test coverage detected