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

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

public class ChRE
extends RegExp

Representation of ChRE


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

ChRE

public ChRE(char val)
Construct a(n) ChRE Instance

Method Detail

equals

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

Overrides:
equals in class java.lang.Object

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

toString

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

Overrides:
toString in class RegExp

getVal

public char getVal()
Getter for field ChRE.val