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

Method getFieldDecls

src/api/java/TupleSort.java:48–57  ·  view source on GitHub ↗

The field declarations. @throws Z3Exception

()

Source from the content-addressed store, hash-verified

46 * @throws Z3Exception
47 **/
48 public FuncDecl<?>[] getFieldDecls()
49 {
50
51 int n = getNumFields();
52 FuncDecl<?>[] res = new FuncDecl[n];
53 for (int i = 0; i < n; i++)
54 res[i] = new FuncDecl<>(getContext(), Native.getTupleSortFieldDecl(
55 getContext().nCtx(), getNativeObject(), i));
56 return res;
57 }
58
59 TupleSort(Context ctx, Symbol name, int numFields, Symbol[] fieldNames,
60 Sort[] fieldSorts)

Callers 4

tupleExampleMethod · 0.95
evalExample2Method · 0.95
tupleExampleMethod · 0.95
evalExample2Method · 0.95

Calls 4

getNumFieldsMethod · 0.95
getContextMethod · 0.80
nCtxMethod · 0.80
getNativeObjectMethod · 0.80

Tested by

no test coverage detected