// ** This class was generated with DemFGen (vers:09/27/2009) package gen; import edu.neu.ccs.demeterf.lib.*; /** Representation of Define */ public class Define extends StkOp{ /** Construct a(n) Define Instance */ public Define(){ } /** Is the given object Equal to this Define? */ public boolean equals(Object o){ if(!(o instanceof Define))return false; if(o == this)return true; Define oo = (Define)o; return true; } /** Parse an instance of Define from the given String */ public static Define parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_Define(); } /** Parse an instance of Define from the given Stream */ public static Define parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_Define(); } /** Parse an instance of Define from the given Reader */ public static Define parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_Define(); } ExecStack eval(ExecStack s){ return s.pushEnv(s.top()).popRes(); } /** DGP method from Class Print */ public String print(){ return gen.Print.PrintM(this); } }