mirror of
https://github.com/Z3Prover/z3
synced 2025-06-28 08:58:44 +00:00
updates to printer to get instantiations, take 1
This commit is contained in:
parent
f0eee41ab9
commit
a628e4c4e5
10 changed files with 82 additions and 27 deletions
|
@ -31,14 +31,14 @@ class ast_pp_util {
|
|||
stacked_value<unsigned> m_decls;
|
||||
stacked_value<unsigned> m_sorts;
|
||||
expr_mark m_is_defined;
|
||||
ptr_vector<expr> m_defined;
|
||||
expr_ref_vector m_defined;
|
||||
unsigned_vector m_defined_lim;
|
||||
|
||||
public:
|
||||
|
||||
decl_collector coll;
|
||||
|
||||
ast_pp_util(ast_manager& m): m(m), m_env(m), m_rec_decls(0), m_decls(0), m_sorts(0), coll(m) {}
|
||||
|
||||
ast_pp_util(ast_manager& m): m(m), m_env(m), m_rec_decls(0), m_decls(0), m_sorts(0), coll(m), m_defined(m) {}
|
||||
|
||||
void reset() { coll.reset(); m_removed.reset(); m_sorts.clear(0u); m_decls.clear(0u); m_rec_decls.clear(0u);
|
||||
m_is_defined.reset(); m_defined.reset(); m_defined_lim.reset(); }
|
||||
|
@ -65,6 +65,8 @@ class ast_pp_util {
|
|||
|
||||
std::ostream& define_expr(std::ostream& out, expr* f);
|
||||
|
||||
std::ostream& display_expr_def(std::ostream& out, expr* f);
|
||||
|
||||
void push();
|
||||
|
||||
void pop(unsigned n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue