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

Method ToArithExprExprArray

src/api/java/ASTVector.java:156–163  ·  view source on GitHub ↗

Translates the AST vector into an ArithExpr[]

()

Source from the content-addressed store, hash-verified

154 * Translates the AST vector into an ArithExpr[]
155 * */
156 public ArithExpr<?>[] ToArithExprExprArray()
157 {
158 int n = size();
159 ArithExpr<?>[] res = new ArithExpr[n];
160 for (int i = 0; i < n; i++)
161 res[i] = (ArithExpr<?>)Expr.create(getContext(), get(i).getNativeObject());
162 return res;
163 }
164
165 /**
166 * Translates the AST vector into an ArrayExpr[]

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