mirror of
https://github.com/Z3Prover/z3
synced 2026-07-05 06:46:11 +00:00
use expr based access to enodes to allow for storing first-class lambas
This commit is contained in:
parent
5f3088f3b5
commit
2cc4422018
54 changed files with 301 additions and 279 deletions
|
|
@ -166,7 +166,15 @@ namespace smt {
|
|||
|
||||
void del_eh(ast_manager & m, bool update_children_parent = true);
|
||||
|
||||
app * get_expr() const { return m_owner; }
|
||||
app * get_app() const { return m_owner; }
|
||||
|
||||
expr *get_expr() const {
|
||||
return m_owner;
|
||||
}
|
||||
|
||||
bool is_app() const {
|
||||
return ::is_app(m_owner);
|
||||
}
|
||||
|
||||
unsigned get_owner_id() const { return m_owner->get_id(); }
|
||||
unsigned get_expr_id() const { return m_owner->get_id(); }
|
||||
|
|
@ -176,6 +184,10 @@ namespace smt {
|
|||
|
||||
sort* get_sort() const { return m_owner->get_sort(); }
|
||||
|
||||
family_id get_family_id() const {
|
||||
return m_owner->get_family_id();
|
||||
}
|
||||
|
||||
unsigned hash() const {
|
||||
return m_owner->hash();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue