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

Method mkConstructor

src/api/java/Context.java:355–360  ·  view source on GitHub ↗

Create a datatype constructor. @param name constructor name @param recognizer name of recognizer function. @param fieldNames names of the constructor fields. @param sorts field sorts, 0 if the field sort refers to a recursive sort. @param sortRefs reference to datatype sort that is an argument to th

(Symbol name, Symbol recognizer,
            Symbol[] fieldNames, Sort[] sorts, int[] sortRefs)

Source from the content-addressed store, hash-verified

353 * declared.
354 **/
355 public final <R> Constructor<R> mkConstructor(Symbol name, Symbol recognizer,
356 Symbol[] fieldNames, Sort[] sorts, int[] sortRefs)
357
358 {
359 return of(this, name, recognizer, fieldNames, sorts, sortRefs);
360 }
361
362 /**
363 * Create a datatype constructor.

Callers 7

ofMethod · 0.80
treeExampleMethod · 0.80
forestExampleMethod · 0.80
treeExampleMethod · 0.80
forestExampleMethod · 0.80

Calls 3

mkSymbolMethod · 0.95
mkSymbolsMethod · 0.95
ofMethod · 0.45

Tested by

no test coverage detected