// ** 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 RegExp */
public abstract class RegExp{

    /** Construct a(n) RegExp Instance */
    public RegExp(){
    }
    /** Parse an instance of RegExp from the given String */
    public static RegExp parse(String inpt) throws ParseException{
        return new TheParser(new java.io.StringReader(inpt)).parse_RegExp();
    }
    /** Parse an instance of RegExp from the given Stream */
    public static RegExp parse(java.io.InputStream inpt) throws ParseException{
        return new TheParser(inpt).parse_RegExp();
    }
    /** Parse an instance of RegExp from the given Reader */
    public static RegExp parse(java.io.Reader inpt) throws ParseException{
        return new TheParser(inpt).parse_RegExp();
    }


    /** DGP method from Class PrintToString */
    public String toString(){ return edu.neu.ccs.demeterf.lexer.classes.PrintToString.PrintToStringM(this); }

}