convert enum SlurAnchor into enum class