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

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

public class NChRE
extends RegExp

Representation of NChRE


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

NChRE

public NChRE(char v)
Construct a(n) NChRE Instance

Method Detail

equals

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

Overrides:
equals in class java.lang.Object

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

toString

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

Overrides:
toString in class RegExp

getV

public char getV()
Getter for field NChRE.v