convert enum Parenthesis into enum class