Generate return statement for language block