implement code generation class for split operator