// ** This class was generated with DemFGen (vers:09/27/2009)

package gen;

import edu.neu.ccs.demeterf.lib.*;




/** Representation of OpEmpty */
public class OpEmpty extends OpList{

    /** Construct a(n) OpEmpty Instance */
    public OpEmpty(){
    }
    /** Is the given object Equal to this OpEmpty? */
    public boolean equals(Object o){
        if(!(o instanceof OpEmpty))return false;
        if(o == this)return true;
        OpEmpty oo = (OpEmpty)o;
        return true;
    }
    /** Parse an instance of OpEmpty from the given String */
    public static OpEmpty parse(String inpt) throws ParseException{
        return new TheParser(new java.io.StringReader(inpt)).parse_OpEmpty();
    }
    /** Parse an instance of OpEmpty from the given Stream */
    public static OpEmpty parse(java.io.InputStream inpt) throws ParseException{
        return new TheParser(inpt).parse_OpEmpty();
    }
    /** Parse an instance of OpEmpty from the given Reader */
    public static OpEmpty parse(java.io.Reader inpt) throws ParseException{
        return new TheParser(inpt).parse_OpEmpty();
    }


  public OpList append(Op o){ return new OpCons(o, this); }
  public OpList append(OpList ol){ return ol; }
  public ExecStack eval(ExecStack s){ return s; }
  List<CodeEntry> labels(List<CodeEntry> e){ return e; }

    /** DGP method from Class Print */
    public String print(){ return gen.Print.PrintM(this); }

}