slang::ast::EnumValueSymbol class final

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.