turn enum RepeatType into class enum

not sure though why not using Marker::Type or Jump::Type instead