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

Method getArgs

src/api/java/Expr.java:109–118  ·  view source on GitHub ↗

The arguments of the expression. @throws Z3Exception on error @return an Expr[]

()

Source from the content-addressed store, hash-verified

107 * @return an Expr[]
108 **/
109 public Expr<?>[] getArgs()
110 {
111 int n = getNumArgs();
112 Expr<?>[] res = new Expr[n];
113 for (int i = 0; i < n; i++) {
114 res[i] = Expr.create(getContext(),
115 Native.getAppArg(getContext().nCtx(), getNativeObject(), i));
116 }
117 return res;
118 }
119
120 /**
121 * Update the arguments of the expression using the arguments {@code args}

Callers 2

castingTestMethod · 0.95
smt2FileTestMethod · 0.45

Calls 5

getNumArgsMethod · 0.95
createMethod · 0.95
getContextMethod · 0.80
nCtxMethod · 0.80
getNativeObjectMethod · 0.80

Tested by

no test coverage detected