In programming terminology, an enumeration (enum) is a description of a data structure. Instead of storing data directly, it shapes how data can be used through listing possible values.
In Haxe, enums are created using the enum keyword.
An enumerator describes a new type and the possible values. Each entry in an enum is any allowed identifier in Haxe. Entries cannot be expressions or other evaluate to values. An enum describes only.