mirror of
https://github.com/Z3Prover/z3
synced 2025-08-22 11:07:51 +00:00
add stubs for converting assertions, consolidate filter_model_converter
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
53e36c9cf9
commit
0d15b6abb7
76 changed files with 244 additions and 356 deletions
|
@ -38,6 +38,8 @@ public:
|
|||
|
||||
virtual ~generic_model_converter() { }
|
||||
|
||||
void hide(expr* e) { SASSERT(is_app(e) && to_app(e)->get_num_args() == 0); hide(to_app(e)->get_decl()); }
|
||||
|
||||
void hide(func_decl * f) { m_entries.push_back(entry(f, 0, m, HIDE)); }
|
||||
|
||||
void add(func_decl * d, expr* e) { m_entries.push_back(entry(d, e, m, ADD)); }
|
||||
|
@ -55,6 +57,8 @@ public:
|
|||
virtual model_converter * translate(ast_translation & translator);
|
||||
|
||||
virtual void collect(ast_pp_util& visitor);
|
||||
|
||||
void operator()(expr_ref& fml) override;
|
||||
};
|
||||
|
||||
typedef ref<generic_model_converter> generic_model_converter_ref;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue