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

Method ToArray

src/api/java/ASTVector.java:109–116  ·  view source on GitHub ↗

Translates the AST vector into an AST[]

()

Source from the content-addressed store, hash-verified

107 * Translates the AST vector into an AST[]
108 * */
109 public AST[] ToArray()
110 {
111 int n = size();
112 AST[] res = new AST[n];
113 for (int i = 0; i < n; i++)
114 res[i] = AST.create(getContext(), get(i).getNativeObject());
115 return res;
116 }
117
118 /**
119 * Translates the AST vector into an Expr[]

Callers 1

getKeysMethod · 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