3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-15 15:25:26 +00:00

adding labels to duality

This commit is contained in:
Ken McMillan 2013-05-03 17:29:13 -07:00
parent e939dd2bc5
commit 2f8b7bfa18
5 changed files with 41 additions and 14 deletions

View file

@ -454,6 +454,7 @@ namespace Duality {
bool is_app() const {return raw()->get_kind() == AST_APP;}
bool is_quantifier() const {return raw()->get_kind() == AST_QUANTIFIER;}
bool is_var() const {return raw()->get_kind() == AST_VAR;}
bool is_label (bool &pos,std::vector<symbol> &names) const ;
// operator Z3_app() const { assert(is_app()); return reinterpret_cast<Z3_app>(m_ast); }
func_decl decl() const {return func_decl(ctx(),to_app(raw())->get_decl());}