mirror of
https://github.com/Z3Prover/z3
synced 2025-06-20 21:03:39 +00:00
parent
000e485794
commit
68e4ed3c9c
5 changed files with 85 additions and 11 deletions
|
@ -167,5 +167,25 @@ unsigned get_num_exprs(expr * n, expr_fast_mark1 & visited);
|
|||
|
||||
bool has_skolem_functions(expr * n);
|
||||
|
||||
class subterms {
|
||||
expr_ref_vector m_es;
|
||||
public:
|
||||
class iterator {
|
||||
expr_ref_vector m_es;
|
||||
expr_mark m_visited;
|
||||
public:
|
||||
iterator(subterms& f, bool start);
|
||||
expr* operator*();
|
||||
iterator operator++(int);
|
||||
iterator& operator++();
|
||||
bool operator==(iterator const& other) const;
|
||||
bool operator!=(iterator const& other) const;
|
||||
};
|
||||
subterms(expr_ref_vector const& es);
|
||||
subterms(expr_ref& e);
|
||||
iterator begin();
|
||||
iterator end();
|
||||
};
|
||||
|
||||
#endif /* FOR_EACH_EXPR_H_ */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue