EnumValueSymbol class final
#include <slang/ast/types/AllTypes.h>
Represents an enumerated value / member.
Base classes
- class ValueSymbol
- A base class for symbols that represent a value (for example a variable or a parameter).
Public functions
- const ConstantValue& getValue(SourceRange referencingRange = {}) const
- Gets the value of the enum member.
- void setValue(ConstantValue value)
- Sets the value of the enum member.