slang::ast::AssociativeArrayType class

Represents an unpacked array that provides associative lookup.

Base classes

class Type
Base class for all data types in SystemVerilog.

Public functions

auto hasWildcardIndexType() const -> bool

Public variables

const Type& elementType
The underlying element type.
const Type* indexType
The type used to index the associative array, or nullptr if it's a "wildcard" integral index.

Function documentation

bool slang::ast::AssociativeArrayType::hasWildcardIndexType() const

Returns true if the array has a wildcard index type