translate_all_of (RubyToAnsiC)

    # File lib/ruby_to_ansi_c.rb, line 139
      def self.translate_all_of(klass)
        result = []

        # HACK: make CompositeSexpProcessor have a registered error handler
        klass.instance_methods(false).sort.each do |method|
          result <<
            begin
              self.translate(klass, method)
            rescue UnsupportedNodeError => err
              "// NOTE: #{err} in #{klass}##{method}"
            rescue UnknownNodeError => err
              "// ERROR: #{err} in #{klass}##{method}: #{ParseTree.new.parse_tree_for_method(klass, method).inspect}"
            rescue Exception => err
              "// ERROR: #{err} in #{klass}##{method}: #{ParseTree.new.parse_tree_for_method(klass, method).inspect} #{err.backtrace.join(', ')}"
            end
        end

        prototypes =  self.translator.processors[-1].prototypes
        "#{prototypes.join('')}\n\n#{result.join("\n\n")}"
      end