edu.neu.ccs.demeterf.lexer.classes
Class RegExp

java.lang.Object
  extended by edu.neu.ccs.demeterf.lexer.classes.RegExp
Direct Known Subclasses:
ChRE, ConcatRE, GrpRE, HuhRE, LocRef, NChRE, NGrpRE, OrRE, PlusRE, StarRE, StrRE

public abstract class RegExp
extends java.lang.Object

Representation of RegExp


Constructor Summary
RegExp()
          Construct a(n) RegExp Instance
 
Method Summary
static RegExp parse(java.io.InputStream inpt)
          Parse an instance of RegExp from the given Stream
static RegExp parse(java.io.Reader inpt)
          Parse an instance of RegExp from the given Reader
static RegExp parse(java.lang.String inpt)
          Parse an instance of RegExp from the given String
 java.lang.String toString()
          DGP method from Class PrintToString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegExp

public RegExp()
Construct a(n) RegExp Instance

Method Detail

parse

public static RegExp parse(java.lang.String inpt)
                    throws ParseException
Parse an instance of RegExp from the given String

Throws:
ParseException

parse

public static RegExp parse(java.io.InputStream inpt)
                    throws ParseException
Parse an instance of RegExp from the given Stream

Throws:
ParseException

parse

public static RegExp parse(java.io.Reader inpt)
                    throws ParseException
Parse an instance of RegExp from the given Reader

Throws:
ParseException

toString

public java.lang.String toString()
DGP method from Class PrintToString

Overrides:
toString in class java.lang.Object