mirror of
https://github.com/Z3Prover/z3
synced 2025-06-28 08:58:44 +00:00
make smt2 log scope aware
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
01f085ab53
commit
8bb2442a3f
5 changed files with 48 additions and 1 deletions
|
@ -28,6 +28,7 @@ class ast_pp_util {
|
|||
obj_hashtable<func_decl> m_removed;
|
||||
smt2_pp_environment_dbg m_env;
|
||||
unsigned m_num_sorts, m_num_decls;
|
||||
unsigned_vector m_num_sorts_trail, m_num_decls_trail;
|
||||
|
||||
public:
|
||||
|
||||
|
@ -37,6 +38,7 @@ class ast_pp_util {
|
|||
|
||||
void reset() { coll.reset(); m_removed.reset(); m_num_sorts = 0; m_num_decls = 0; }
|
||||
|
||||
|
||||
void collect(expr* e);
|
||||
|
||||
void collect(unsigned n, expr* const* es);
|
||||
|
@ -55,6 +57,10 @@ class ast_pp_util {
|
|||
|
||||
std::ostream& display_expr(std::ostream& out, expr* f, bool neat = true);
|
||||
|
||||
void push();
|
||||
|
||||
void pop(unsigned n);
|
||||
|
||||
smt2_pp_environment& env() { return m_env; }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue