convert unnamed enums into enum class NumberTyp

resp. enum class BracketType