semantic: Implement gatherer for named enums.