18 package com.microsoft.z3;
35 throw new Z3Exception(
"Int requested from non-Int symbol");
36 return Native.getSymbolInt(getContext().nCtx(), getNativeObject());
44 IntSymbol(Context ctx,
int i)
46 super(ctx, Native.mkIntSymbol(ctx.nCtx(), i));
49 void checkNativeObject(
long obj)
51 if (Native.getSymbolKind(getContext().nCtx(), obj) != Z3_symbol_kind.Z3_INT_SYMBOL
53 throw new Z3Exception(
"Symbol is not of integer kind");
54 super.checkNativeObject(obj);
Z3_symbol_kind
The different kinds of symbol. In Z3, a symbol can be represented using integers and strings (See Z3_...