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

Method ToIntExprArray

src/api/java/ASTVector.java:216–223  ·  view source on GitHub ↗

Translates the AST vector into an IntExpr[]

()

Source from the content-addressed store, hash-verified

214 * Translates the AST vector into an IntExpr[]
215 * */
216 public IntExpr[] ToIntExprArray()
217 {
218 int n = size();
219 IntExpr[] res = new IntExpr[n];
220 for (int i = 0; i < n; i++)
221 res[i] = (IntExpr)Expr.create(getContext(), get(i).getNativeObject());
222 return res;
223 }
224
225 /**
226 * Translates the AST vector into an RealExpr[]

Callers

nothing calls this directly

Calls 5

sizeMethod · 0.95
createMethod · 0.95
getMethod · 0.95
getContextMethod · 0.80
getNativeObjectMethod · 0.80

Tested by

no test coverage detected