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

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

public class OrRE
extends RegExp

Representation of OrRE


Nested Class Summary
static class OrRE.res
          Field Class for OrRE.res
 
Constructor Summary
OrRE(List<RegExp> res)
          Construct a(n) OrRE Instance
 
Method Summary
 boolean equals(java.lang.Object o)
          Is the given object Equal to this OrRE?
 List<RegExp> getRes()
          Getter for field OrRE.res
static OrRE parse(java.io.InputStream inpt)
          Parse an instance of OrRE from the given Stream
static OrRE parse(java.io.Reader inpt)
          Parse an instance of OrRE from the given Reader
static OrRE parse(java.lang.String inpt)
          Parse an instance of OrRE 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

OrRE

public OrRE(List<RegExp> res)
Construct a(n) OrRE Instance

Method Detail

equals

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

Overrides:
equals in class java.lang.Object

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

toString

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

Overrides:
toString in class RegExp

getRes

public List<RegExp> getRes()
Getter for field OrRE.res