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

Method create

src/api/java/Symbol.java:93–104  ·  view source on GitHub ↗
(Context ctx, long obj)

Source from the content-addressed store, hash-verified

91 }
92
93 static Symbol create(Context ctx, long obj)
94 {
95 switch (Z3_symbol_kind.fromInt(Native.getSymbolKind(ctx.nCtx(), obj)))
96 {
97 case Z3_INT_SYMBOL:
98 return new IntSymbol(ctx, obj);
99 case Z3_STRING_SYMBOL:
100 return new StringSymbol(ctx, obj);
101 default:
102 throw new Z3Exception("Unknown symbol kind encountered");
103 }
104 }
105}

Callers 6

getNameMethod · 0.95
getNameMethod · 0.95
getParametersMethod · 0.95
getBoundVariableNamesMethod · 0.95
getBoundVariableNamesMethod · 0.95
getNamesMethod · 0.95

Calls 2

fromIntMethod · 0.80
nCtxMethod · 0.80

Tested by

no test coverage detected