// ** This class was generated with DemFGen (vers:10/30/2008)

package gen;

import edu.neu.ccs.demeterf.control.Fields;
import edu.neu.ccs.demeterf.demfgen.lib.ident;
import edu.neu.ccs.demeterf.demfgen.lib.verbatim;
import edu.neu.ccs.demeterf.demfgen.lib.*;
import edu.neu.ccs.demeterf.*;



public class ToStr extends edu.neu.ccs.demeterf.ID{
   public static String ToStrM(Object o){
      return new edu.neu.ccs.demeterf.Traversal(new ToStr(),edu.neu.ccs.demeterf.Control.builtins()).<String>traverse(o);
   }

   String combine(byte o){ return ""+o; }
   String combine(short o){ return ""+o; }
   String combine(int o){ return ""+o; }
   String combine(long o){ return ""+o; }
   String combine(float o){ return ""+o; }
   String combine(double o){ return ""+o; }
   String combine(char o){ return ""+o; }
   String combine(boolean o){ return ""+o; }
   String combine(String o){ return "\""+o+"\""; }
   String combine(ident o){ return ""+o; }
   String combine(verbatim o){ return ""+o; }

   String combine(Cd_graph _h_, String first, String rest){
      return "Cd_graph("+first+","+rest+")";
   }
   String combine(Adj _h_, String vertex, String ns){
      return "Adj("+vertex+","+ns+")";
   }
   String combine(Product _h_, String c_ns){
      return "Product("+c_ns+")";
   }
   String combine(Sum _h_, String first, String second){
      return "Sum("+first+","+second+")";
   }
   String combine(Syntax_vertex _h_, String string){
      return "Syntax_vertex("+string+")";
   }
   String combine(Labeled_vertex _h_, String label_name, String class_name){
      return "Labeled_vertex("+label_name+","+class_name+")";
   }
   String combine(Nany_vertex_list _h_, String first, String rest){
      return "Nany_vertex_list("+first+","+rest+")";
   }
   String combine(Empty_vl _h_){
      return "Empty_vl("+")";
   }
   String combine(Empty_cd_graph _h_){
      return "Empty_cd_graph("+")";
   }
   String combine(Vertex _h_, String name){
      return "Vertex("+name+")";
   }

}