slang::IteratorSymbol class

Represents an iterator variable created for array manipulation methods.


Base classes

class VariableSymbol
Represents a variable declaration.

Public variables

const IteratorSymbol* nextIterator
const Type& arrayType
The type of the array that this iterator traverses.

Variable documentation

const IteratorSymbol* slang::IteratorSymbol::nextIterator

For efficiency purposes, each iterator symbol can form a linked list so that when binding nested iteration expressions we don't need to manage memory separately for list nodes. This member is otherwise not useful to other consumers.