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

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

public class LexMain
extends java.lang.Object

Representation of LexMain


Nested Class Summary
static class LexMain.ds
          Field Class for LexMain.ds
static class LexMain.lits
          Field Class for LexMain.lits
static class LexMain.pkg
          Field Class for LexMain.pkg
 
Constructor Summary
LexMain(PackageDef pkg, List<java.lang.String> lits, List<LexDef> ds)
          Construct a(n) LexMain Instance
 
Method Summary
 boolean equals(java.lang.Object o)
          Is the given object Equal to this LexMain?
 List<LexDef> getDs()
          Getter for field LexMain.ds
 List<java.lang.String> getLits()
          Getter for field LexMain.lits
 PackageDef getPkg()
          Getter for field LexMain.pkg
static LexMain parse(java.io.InputStream inpt)
          Parse an instance of LexMain from the given Stream
static LexMain parse(java.io.Reader inpt)
          Parse an instance of LexMain from the given Reader
static LexMain parse(java.lang.String inpt)
          Parse an instance of LexMain 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

LexMain

public LexMain(PackageDef pkg,
               List<java.lang.String> lits,
               List<LexDef> ds)
Construct a(n) LexMain Instance

Method Detail

equals

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

Overrides:
equals in class java.lang.Object

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

toString

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

Overrides:
toString in class java.lang.Object

getDs

public List<LexDef> getDs()
Getter for field LexMain.ds


getLits

public List<java.lang.String> getLits()
Getter for field LexMain.lits


getPkg

public PackageDef getPkg()
Getter for field LexMain.pkg