// ** This class was generated with DemFGen (vers:12/06/2009)

package edu.neu.ccs.demeterf.lexer.classes;

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




/** Representation of HuhRE */
public class HuhRE extends RegExp{
    protected final RegExp re;

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

    /** Field Class for HuhRE.re */
    public static class re extends edu.neu.ccs.demeterf.Fields.any{}

    /** DGP method from Class PrintToString */
    public String toString(){ return edu.neu.ccs.demeterf.lexer.classes.PrintToString.PrintToStringM(this); }
    /** Getter for field HuhRE.re */
    public RegExp getRe(){ return re; }

}