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

java.lang.Object
  extended by edu.neu.ccs.demeterf.lexer.classes.Label
      extended by edu.neu.ccs.demeterf.lexer.classes.Epsilon

public class Epsilon
extends Label

Representation of Epsilon


Constructor Summary
Epsilon()
          Construct a(n) Epsilon Instance
 
Method Summary
 boolean equals(java.lang.Object o)
          Is the given object Equal to this Epsilon?
 boolean isEpsilon()
           
static Epsilon parse(java.io.InputStream inpt)
          Parse an instance of Epsilon from the given Stream
static Epsilon parse(java.io.Reader inpt)
          Parse an instance of Epsilon from the given Reader
static Epsilon parse(java.lang.String inpt)
          Parse an instance of Epsilon from the given String
 java.lang.String toString()
          DGP method from Class PrintToString
 
Methods inherited from class edu.neu.ccs.demeterf.lexer.classes.Label
contains
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Epsilon

public Epsilon()
Construct a(n) Epsilon Instance

Method Detail

equals

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

Overrides:
equals in class java.lang.Object

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

isEpsilon

public boolean isEpsilon()
Overrides:
isEpsilon in class Label

toString

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

Overrides:
toString in class Label