// ** This class was generated with DemFGen (vers:10/21/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 Display extends edu.neu.ccs.demeterf.ID{ public static String DisplayM(Object o){ return new edu.neu.ccs.demeterf.Traversal(new Display(),edu.neu.ccs.demeterf.Control.builtins()).traverse(o," "); } String combine(byte o){ return ": byte \""+o+"\""; } String combine(short o){ return ": short \""+o+"\""; } String combine(int o){ return ": int \""+o+"\""; } String combine(long o){ return ": long \""+o+"\""; } String combine(float o){ return ": float \""+o+"\""; } String combine(double o){ return ": double \""+o+"\""; } String combine(char o){ return ": char \""+o+"\""; } String combine(boolean o){ return ": boolean \""+o+"\""; } String combine(String o){ return ": String \""+o+"\""; } String combine(ident o){ return ": ident \""+o+"\""; } String combine(verbatim o){ return ": verbatim \""+o+"\""; } String update(Object o, Fields.any f, String d){ return d+" "; } String _i(int d){ return d==0?"":" "+_i(d-1); } String combine(Some _h_, String just, String _d_){ return ": Some ("+"\n"+_d_+" "+just+" )"; } String combine(None _h_, String _d_){ return ": None ("+" )"; } String combine(Cons _h_, String first, String rest, String _d_){ return ": Cons ("+"\n"+_d_+" "+first+"\n"+_d_+" "+rest+" )"; } String combine(Empty _h_, String _d_){ return ": Empty ("+" )"; } String combine(Concrete2 _h_, String data, String left, String right, String _d_){ return ": Concrete2 ("+"\n"+_d_+" "+data+"\n"+_d_+" "+left+"\n"+_d_+" "+right+" )"; } String combine(EmptyInt _h_, String _d_){ return ": EmptyInt ("+" )"; } String combine(DiameterPair _h_, String height, String diameter, String _d_){ return ": DiameterPair ("+"\n"+_d_+" "+height+"\n"+_d_+" "+diameter+" )"; } String combine(CheckPair _h_, String res, String data, String _d_){ return ": CheckPair ("+"\n"+_d_+" "+res+"\n"+_d_+" "+data+" )"; } String combine(DownHeight _h_, String height, String _d_){ return ": DownHeight ("+"\n"+_d_+" "+height+" )"; } String combine(Pack _h_, String good, String min, String max, String _d_){ return ": Pack ("+"\n"+_d_+" "+good+"\n"+_d_+" "+min+"\n"+_d_+" "+max+" )"; } }