MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / isAppOf

Method isAppOf

smt/expr.cpp:179–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179Z3_app expr::isAppOf(int app_type) const {
180 auto app = isApp();
181 if (!app)
182 return nullptr;
183 auto decl = Z3_get_app_decl(ctx(), app);
184 return Z3_get_decl_kind(ctx(), decl) == app_type ? app : nullptr;
185}
186
187Z3_ast expr::mkTrue() {
188 return Z3_mk_true(ctx());

Callers 2

binop_commutativeMethod · 0.80
cmp_eqMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected