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

java.lang.Object
  extended by edu.neu.ccs.demeterf.demfgen.classes.LookDef
      extended by edu.neu.ccs.demeterf.demfgen.classes.LookAhead

public class LookAhead
extends LookDef

Representation of LookAhead


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

Constructor Detail

LookAhead

public LookAhead(int n)
Construct a(n) LookAhead Instance

Method Detail

equals

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

Overrides:
equals in class java.lang.Object

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

isLook

public boolean isLook()
Overrides:
isLook in class LookDef

look

public int look()
Overrides:
look in class LookDef

print

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

Overrides:
print in class LookDef

getN

public int getN()
Getter for field LookAhead.n