3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 10:55:50 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-03-07 12:13:43 +01:00
parent f501380e89
commit bdd66e1fa0
7 changed files with 60 additions and 32 deletions

View file

@ -1676,6 +1676,16 @@ void ast_manager::set_next_expr_id(unsigned id) {
unsigned ast_manager::get_node_size(ast const * n) { return ::get_node_size(n); }
std::ostream& ast_manager::display(std::ostream& out) const {
for (ast * a : m_ast_table) {
if (is_func_decl(a)) {
out << to_func_decl(a)->get_name() << " " << a->get_id() << "\n";
}
}
return out;
}
void ast_manager::register_plugin(symbol const & s, decl_plugin * plugin) {
family_id id = m_family_manager.mk_family_id(s);
SASSERT(is_format_manager() || s != symbol("format"));