Initializer
init(id:name:literals:eAnnotations:)
Creates a new enumeration.
init(id: EUUID = EUUID(), name: String, literals: [EEnumLiteral] = [], eAnnotations: [EAnnotation] = [])
Parameters
id-
Unique identifier (generates a new UUID if not provided).
name-
The name of the enum.
literals-
The literal values in this enum.
eAnnotations-
Annotations (empty by default).