iterator class
#include <slang/ast/ValuePath.h>
An iterator for components of the path.
Base classes
-
template<typename Derived, bool Contiguous = false>class slang::iterator_facade<iterator>
- Iterator facade which infers iterator types and functionality.
Constructors, destructors, conversion operators
- iterator()
- Constructs a default iterator that points nowhere.
- iterator(const Expression* expr)
- Constructs an iterator pointing at the given path component.
Public functions
- const Expression& dereference() const
- Dereferences the iterator, resolving it to an expression.
- void increment()
- Advances the iterator to the next component in the path.
- bool equals(const iterator& other) const