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

package gen;

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




/** Representation of Pop */
public class Pop extends StkOp{

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

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

}