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

java.lang.Object
  extended by edu.neu.ccs.demeterf.lexer.classes.RegExp
      extended by edu.neu.ccs.demeterf.lexer.classes.StrRE

public class StrRE
extends RegExp

Representation of StrRE


Nested Class Summary
static class StrRE.val
          Field Class for StrRE.val
 
Constructor Summary
StrRE(java.lang.String val)
          Construct a(n) StrRE Instance
 
Method Summary
 boolean equals(java.lang.Object o)
          Is the given object Equal to this StrRE?
 java.lang.String getVal()
          Getter for field StrRE.val
static StrRE parse(java.io.InputStream inpt)
          Parse an instance of StrRE from the given Stream
static StrRE parse(java.io.Reader inpt)
          Parse an instance of StrRE from the given Reader
static StrRE parse(java.lang.String inpt)
          Parse an instance of StrRE from the given String
 java.lang.String toString()
          DGP method from Class PrintToString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StrRE

public StrRE(java.lang.String val)
Construct a(n) StrRE Instance

Method Detail

equals

public boolean equals(java.lang.Object o)
Is the given object Equal to this StrRE?

Overrides:
equals in class java.lang.Object

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

toString

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

Overrides:
toString in class RegExp

getVal

public java.lang.String getVal()
Getter for field StrRE.val