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

Method mkEnumSort

src/api/java/Context.java:289–295  ·  view source on GitHub ↗

Create a new enumeration sort.

(Symbol name, Symbol... enumNames)

Source from the content-addressed store, hash-verified

287 * Create a new enumeration sort.
288 **/
289 public final <R> EnumSort<R> mkEnumSort(Symbol name, Symbol... enumNames)
290
291 {
292 checkContextMatch(name);
293 checkContextMatch(enumNames);
294 return new EnumSort<>(this, name, enumNames);
295 }
296
297 /**
298 * Create a new enumeration sort.

Callers 3

enumExampleMethod · 0.80
enumExampleTypedMethod · 0.80
enumExampleUntypedMethod · 0.80

Calls 3

checkContextMatchMethod · 0.95
mkSymbolMethod · 0.95
mkSymbolsMethod · 0.95

Tested by

no test coverage detected