slang::ForeachLoopStatement::LoopDim struct

Describes one dimension that will be iterated by the loop.

Contents

Public variables

optional<ConstantRange> range
const IteratorSymbol* loopVar

Variable documentation

optional<ConstantRange> slang::ForeachLoopStatement::LoopDim::range

The static range of the dimension, or nullopt if the dimension is dynamically sized.

const IteratorSymbol* slang::ForeachLoopStatement::LoopDim::loopVar

The loop variable for this dimension, or nullptr if the dimension is being skipped.