slang::ast::EnumValueSymbol class

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

auto getValue(SourceRange referencingRange = {}) const -> const ConstantValue&
Gets the value of the enum member.
void setValue(ConstantValue value)
Sets the value of the enum member.