The interface that an iterator should follow.
Definition: IteratorImpl.h:9
virtual bool operator!=(const IteratorImpl &rhs) const =0
virtual bool operator==(const IteratorImpl &rhs) const =0
virtual void operator++()=0
SyntaxTree const & get_tree() const
Definition: IteratorImpl.cpp:5
SyntaxTree const & tree
Definition: IteratorImpl.h:31
virtual SyntaxTree * operator->()=0
IteratorImpl(SyntaxTree const &tree)
Definition: IteratorImpl.cpp:3
virtual IteratorImpl * clone()=0
virtual SyntaxTree operator*()=0
A convenient interface to the AST nodes.
Definition: SyntaxTree.h:16