| 177 | } |
| 178 | |
| 179 | Z3_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 | |
| 187 | Z3_ast expr::mkTrue() { |
| 188 | return Z3_mk_true(ctx()); |
no outgoing calls
no test coverage detected