EnumDeclaration struct
#include <slang/ast/types/AllTypes.h>
Holds information about a declared enum, which is everything we need in order to create the actual type once something needs it.
Public variables
-
std::
span<const EnumValueSymbol*const > values - The values that have been declared for this enum.
Variable documentation
std:: span<const EnumValueSymbol*const > slang:: ast:: EnumDeclaration:: values
The values that have been declared for this enum.
Their declared types all link to a single shared one, which creates the enum type when it's resolved.