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

Method ToExprArray

src/api/java/ASTVector.java:121–127  ·  view source on GitHub ↗

Translates the AST vector into an Expr[]

()

Source from the content-addressed store, hash-verified

119 * Translates the AST vector into an Expr[]
120 * */
121 public Expr<?>[] ToExprArray() {
122 int n = size();
123 Expr<?>[] res = new Expr[n];
124 for (int i = 0; i < n; i++)
125 res[i] = Expr.create(getContext(), get(i).getNativeObject());
126 return res;
127 }
128
129 /**
130 * Translates the AST vector into an BoolExpr[]

Callers 2

getObjectivesMethod · 0.95
getSortUniverseMethod · 0.95

Calls 5

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

Tested by

no test coverage detected