PR/28 Added emitEnumValues method in addition to emitLastEnumValue