// ** This class was generated with DemFGen (vers:02/11/2009)

package gen;

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




/** Representation of Derivative */
public class Derivative{
    public final DerivativeName n;

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

    /** Field Class for Derivative.n */
    public static class n extends edu.neu.ccs.demeterf.control.Fields.any{}

    /** DGP method from Class Display */
    public String display(){ return gen.Display.DisplayM(this); }
    /** DGP method from Class Print */
    public String print(){ return gen.Print.PrintM(this); }
    /** DGP method from Class ToStr */
    public String toStr(){ return gen.ToStr.ToStrM(this); }

}