[CGENERATOR] Add translation of if node