wake.ir.declarations.enum_value
module
#
EnumValue
class
#
Bases: DeclarationAbc
Definition of an enum value inside an enum definition.
Example
GoLeft
, GoRight
, GoStraight
, SitStill
in the following enum definition:
Source code in wake/ir/declarations/enum_value.py
parent: EnumDefinition
property
#
Returns:
Type | Description |
---|---|
EnumDefinition
|
Parent IR node. |
references: FrozenSet[MemberAccess]
property
#
Returns:
Type | Description |
---|---|
FrozenSet[MemberAccess]
|
Set of all IR nodes referencing this enum value. |