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

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

public class LocRef
extends RegExp

Representation of LocRef


Nested Class Summary
static class LocRef.id
          Field Class for LocRef.id
 
Constructor Summary
LocRef(ident id)
          Construct a(n) LocRef Instance
 
Method Summary
 boolean equals(java.lang.Object o)
          Is the given object Equal to this LocRef?
 ident getId()
          Getter for field LocRef.id
static LocRef parse(java.io.InputStream inpt)
          Parse an instance of LocRef from the given Stream
static LocRef parse(java.io.Reader inpt)
          Parse an instance of LocRef from the given Reader
static LocRef parse(java.lang.String inpt)
          Parse an instance of LocRef 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

LocRef

public LocRef(ident id)
Construct a(n) LocRef Instance

Method Detail

equals

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

Overrides:
equals in class java.lang.Object

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

toString

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

Overrides:
toString in class RegExp

getId

public ident getId()
Getter for field LocRef.id