Simple enumerator type definition support

It is tested by the enumerator with one default value member