GenerateBlockArraySymbol class final
#include <slang/ast/symbols/BlockSymbols.h>
Represents an array of generate blocks, as generated by a loop generate construct.
Base classes
Public static functions
-
static GenerateBlockArraySymbol& fromSyntax(Compilation& compilation,
const syntax::
LoopGenerateSyntax& syntax, SymbolIndex scopeIndex, const ASTContext& context, uint32_t constructIndex) - Creates a generate block array from the given loop-generate syntax node.
Public variables
- const Expression* initialExpression
- Initial value assigned to loopVariable.
- const Expression* stopExpression
- Bound stop expression of the loop-generate.
- const Expression* iterExpression
- Bound iteration expression of the loop-generate.
- const VariableSymbol* loopVariable
- Loop variable used by the bound stop and iteration expressions.