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

Method ToDatatypeExprArray

src/api/java/ASTVector.java:180–187  ·  view source on GitHub ↗

Translates the AST vector into an DatatypeExpr[]

()

Source from the content-addressed store, hash-verified

178 * Translates the AST vector into an DatatypeExpr[]
179 * */
180 public DatatypeExpr<?>[] ToDatatypeExprArray()
181 {
182 int n = size();
183 DatatypeExpr<?>[] res = new DatatypeExpr[n];
184 for (int i = 0; i < n; i++)
185 res[i] = (DatatypeExpr<?>)Expr.create(getContext(), get(i).getNativeObject());
186 return res;
187 }
188
189 /**
190 * Translates the AST vector into an FPExpr[]

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