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

java.lang.Object
  extended by edu.neu.ccs.demeterf.demfgen.classes.SumToken
All Implemented Interfaces:
LitToken
Direct Known Subclasses:
EmptyToken, RealToken

public abstract class SumToken
extends java.lang.Object
implements LitToken

Representation of SumToken


Constructor Summary
SumToken()
          Construct a(n) SumToken Instance
 
Method Summary
static SumToken parse(java.io.InputStream inpt)
          Parse an instance of SumToken from the given Stream
static SumToken parse(java.io.Reader inpt)
          Parse an instance of SumToken from the given Reader
static SumToken parse(java.lang.String inpt)
          Parse an instance of SumToken from the given String
 java.lang.String print()
          DGP method from Class Print
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.neu.ccs.demeterf.demfgen.classes.LitToken
string
 

Constructor Detail

SumToken

public SumToken()
Construct a(n) SumToken Instance

Method Detail

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

print

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