# File lib/kwartz/converter.rb, line 431
    def add_foreach_stmts(elem_info, stmt_list, foreach_code, endforeach_code,
                          content_only, counter, toggle, init_code, incr_code, toggle_code)
      stmt_list << stag_stmt(elem_info)               if content_only
      start_code.split(/\n/).each do |code|
        stmt_list << NativeStatement.new(code, kind)
      end if start_code
      stmt_list << stag_stmt(elem_info)               if !content_only
      stmt_list.concat(elem_info.cont_stmts)
      stmt_list << etag_stmt(elem_info)               if !content_only
      end_code.split(/\n/).each do |code|
        stmt_list << NativeStatement.new(code, kind)
      end
      stmt_list << etag_stmt(elem_info)               if content_only
    end