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

Method ConstructorDecl

src/api/java/Constructor.java:49–56  ·  view source on GitHub ↗

The function declaration of the constructor. @throws Z3Exception @throws Z3Exception on error

()

Source from the content-addressed store, hash-verified

47 * @throws Z3Exception on error
48 **/
49 public FuncDecl<DatatypeSort<R>> ConstructorDecl()
50 {
51 Native.LongPtr constructor = new Native.LongPtr();
52 Native.LongPtr tester = new Native.LongPtr();
53 long[] accessors = new long[n];
54 Native.queryConstructor(getContext().nCtx(), getNativeObject(), n, constructor, tester, accessors);
55 return new FuncDecl<>(getContext(), constructor.value);
56 }
57
58 /**
59 * The function declaration of the tester.

Callers 4

treeExampleMethod · 0.95
forestExampleMethod · 0.95
treeExampleMethod · 0.80
forestExampleMethod · 0.80

Calls 3

nCtxMethod · 0.80
getContextMethod · 0.80
getNativeObjectMethod · 0.80

Tested by

no test coverage detected