Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/diff/gen-node.hpp"
Building block for monad-like depth-first expansion of a GenNode.
When used within lib::IterStateWrapper, the result is an Iterator to visit the contents of a GenNode tree recursively depth-fist.
Definition at line 604 of file gen-node.hpp.
Public Member Functions | |
ScopeExplorer (GenNode const &n) | |
bool | checkPoint () const |
size_t | depth () const |
void | iterNext () |
GenNode const & | yield () const |
Friends | |
bool | operator== (ScopeExplorer const &s1, ScopeExplorer const &s2) |
Private Types | |
using | ScopeIter = IterStateWrapper< const GenNode, DataCap::Locator > |
Private Attributes | |
std::deque< ScopeIter > | scopes_ |