enum parsing extended