edu.neu.ccs.demeterf.demfgen.classes
Class EmptyToken

java.lang.Object
  extended by edu.neu.ccs.demeterf.demfgen.classes.SumToken
      extended by edu.neu.ccs.demeterf.demfgen.classes.EmptyToken
All Implemented Interfaces:
LitToken

public class EmptyToken
extends SumToken

Representation of EmptyToken


Constructor Summary
EmptyToken()
          Construct a(n) EmptyToken Instance
 
Method Summary
 boolean equals(java.lang.Object o)
          Is the given object Equal to this EmptyToken?
static EmptyToken parse(java.io.InputStream inpt)
          Parse an instance of EmptyToken from the given Stream
static EmptyToken parse(java.io.Reader inpt)
          Parse an instance of EmptyToken from the given Reader
static EmptyToken parse(java.lang.String inpt)
          Parse an instance of EmptyToken from the given String
 java.lang.String print()
          DGP method from Class Print
 java.lang.String string()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyToken

public EmptyToken()
Construct a(n) EmptyToken Instance

Method Detail

equals

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

Overrides:
equals in class java.lang.Object

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

string

public java.lang.String string()

print

public java.lang.String print()
DGP method from Class Print

Overrides:
print in class SumToken