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

Method getInt

src/api/java/IntSymbol.java:32–37  ·  view source on GitHub ↗

The int value of the symbol. Remarks: Throws an exception if the symbol is not of int kind.

()

Source from the content-addressed store, hash-verified

30 * is not of int kind.
31 **/
32 public int getInt()
33 {
34 if (!isIntSymbol())
35 throw new Z3Exception("Int requested from non-Int symbol");
36 return Native.getSymbolInt(getContext().nCtx(), getNativeObject());
37 }
38
39 IntSymbol(Context ctx, long obj)
40 {

Callers

nothing calls this directly

Calls 4

isIntSymbolMethod · 0.80
nCtxMethod · 0.80
getContextMethod · 0.80
getNativeObjectMethod · 0.80

Tested by

no test coverage detected