Member predicate EnumDeclaration::getLocalNamespaceName
Gets the local namespace name introduced by the enumeration, for use in types that reference the enum members directly.
For example, in the type E.A below, the enum E is accessed through the
local namespace name E:
enum E { A = 1, B = 2 }
var x: E.A = 1