156 Parameter[] res =
new Parameter[num];
157 for (
int i = 0; i < num; i++)
160 .getDeclParameterKind(getContext().nCtx(), getNativeObject(), i));
164 res[i] =
new Parameter(k, Native.getDeclIntParameter(getContext()
165 .nCtx(), getNativeObject(), i));
168 res[i] =
new Parameter(k, Native.getDeclDoubleParameter(
169 getContext().nCtx(), getNativeObject(), i));
172 res[i] =
new Parameter(k, Symbol.create(getContext(), Native
173 .getDeclSymbolParameter(getContext().nCtx(),
174 getNativeObject(), i)));
177 res[i] =
new Parameter(k, Sort.create(getContext(), Native
178 .getDeclSortParameter(getContext().nCtx(), getNativeObject(),
182 res[i] =
new Parameter(k,
new AST(getContext(),
183 Native.getDeclAstParameter(getContext().nCtx(),
184 getNativeObject(), i)));
187 res[i] =
new Parameter(k,
new FuncDecl(getContext(),
188 Native.getDeclFuncDeclParameter(getContext().nCtx(),
189 getNativeObject(), i)));
192 res[i] =
new Parameter(k, Native.getDeclRationalParameter(
193 getContext().nCtx(), getNativeObject(), i));
196 throw new Z3Exception(
197 "Unknown function declaration parameter kind encountered");
Z3_parameter_kind
The different kinds of parameters that can be associated with function symbols.