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

Method ToArrayExprArray

src/api/java/ASTVector.java:168–175  ·  view source on GitHub ↗

Translates the AST vector into an ArrayExpr[]

()

Source from the content-addressed store, hash-verified

166 * Translates the AST vector into an ArrayExpr[]
167 * */
168 public ArrayExpr<?, ?>[] ToArrayExprArray()
169 {
170 int n = size();
171 ArrayExpr<?, ?>[] res = new ArrayExpr[n];
172 for (int i = 0; i < n; i++)
173 res[i] = (ArrayExpr<?, ?>)Expr.create(getContext(), get(i).getNativeObject());
174 return res;
175 }
176
177 /**
178 * Translates the AST vector into an DatatypeExpr[]

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