CBMC
|
#include <expr_iterator.h>
Public Member Functions | |
const_unique_depth_iteratort (const exprt &expr) | |
Create iterator starting at the supplied node (root) | |
const_unique_depth_iteratort ()=default | |
Create an end iterator. | |
![]() | |
bool | operator== (const depth_iterator_baset< other_depth_iterator_t > &other) const |
bool | operator!= (const depth_iterator_baset< other_depth_iterator_t > &other) const |
const_unique_depth_iteratort & | operator++ () |
Preincrement operator Do not call on the end() iterator. | |
const_unique_depth_iteratort | operator++ (int) |
Post-increment operator Expensive copy. | |
const_unique_depth_iteratort & | next_sibling_or_parent () |
const exprt & | operator* () const |
Dereference operator Dereferencing end() iterator is undefined behaviour. | |
const exprt * | operator-> () const |
Dereference operator (member access) Dereferencing end() iterator is undefined behaviour. | |
Private Member Functions | |
bool | push_expr (const exprt &expr) |
Push expression onto the stack and add to the set of traversed exprts. | |
Private Attributes | |
friend | depth_iterator_baset |
std::set< exprt > | m_traversed |
Definition at line 285 of file expr_iterator.h.
Create iterator starting at the supplied node (root)
Definition at line 291 of file expr_iterator.h.
|
default |
Create an end iterator.
Push expression onto the stack and add to the set of traversed exprts.
Definition at line 298 of file expr_iterator.h.
|
private |
Definition at line 288 of file expr_iterator.h.
|
private |
Definition at line 305 of file expr_iterator.h.