Generate CBN lang block input and return statements