The API exposed by enumerations created with the @enum macro.
The API exposed by enumerations created with the @enum macro. Unlike Scala's Enumeration interface, all auto-generated functions are protected so the user can choose which functions to expose on their type.
The type of the enumeration.
A map of all members of type T
in the given object, keyed by the name of the member.
A list of all members of type T
in the given object.
Logs the source code of the given expression to the console during compliation.