struct
#include <slang/ast/ASTContext.h>
EvaluatedDimension The result of evaluating dimension syntax nodes.
Public functions
- auto isRange() const -> bool
- Indicates whether the dimension is for a range (as opposed to a single index or an associative array access, for example).
Public variables
- DimensionKind kind
- The kind of dimension indicated by the syntax nodes.
- ConstantRange range
- The compile-time constant range specifying the dimensions.
- const Type* associativeType
- If the dimension is for an associative type, this is a pointer to that type.
-
uint32_
t queueMaxSize - If the dimension is for a queue type, this is the optionally specified max queue size.
Variable documentation
const Type* slang:: ast:: EvaluatedDimension:: associativeType
If the dimension is for an associative type, this is a pointer to that type.
Otherwise nullptr.