slang::ast::ForeachLoopStatement::LoopDim struct

Describes one dimension that will be iterated by the loop.

Public variables

std::optional<ConstantRange> range
The static range of the dimension, or nullopt if the dimension is dynamically sized.
const IteratorSymbol* loopVar
The loop variable for this dimension, or nullptr if the dimension is being skipped.