slang::ast::ClassType::property_iterator class

An iterator for properties of a class type.

Base classes

template<typename Derived, bool Contiguous = false>
class slang::iterator_facade<property_iterator>
Iterator facade which infers iterator types and functionality.

Constructors, destructors, conversion operators

property_iterator()
Constructs a default iterator that points nowhere.
property_iterator(const Symbol* firstSymbol)
Constructs an iterator pointing at the given child symbol in the scope.

Public functions

const ClassPropertySymbol& dereference() const
Dereferences the iterator, resolving it to a symbol.
void increment()
Advances the iterator to the next symbol in the scope that is of the desired type.
bool equals(const property_iterator& other) const

Function documentation

slang::ast::ClassType::property_iterator::property_iterator(const Symbol* firstSymbol)

Constructs an iterator pointing at the given child symbol in the scope.

bool slang::ast::ClassType::property_iterator::equals(const property_iterator& other) const

Returns true if the given iterator is equal to this one.