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

java.lang.Object
  extended by edu.neu.ccs.demeterf.lexer.classes.Label
Direct Known Subclasses:
ChLbl, Epsilon, GrpLbl, NChLbl, NGrpLbl

public abstract class Label
extends java.lang.Object

Representation of Label


Constructor Summary
Label()
          Construct a(n) Label Instance
 
Method Summary
 boolean contains(char c)
           
 boolean isEpsilon()
           
static Label parse(java.io.InputStream inpt)
          Parse an instance of Label from the given Stream
static Label parse(java.io.Reader inpt)
          Parse an instance of Label from the given Reader
static Label parse(java.lang.String inpt)
          Parse an instance of Label from the given String
 java.lang.String toString()
          DGP method from Class PrintToString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Label

public Label()
Construct a(n) Label Instance

Method Detail

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

isEpsilon

public boolean isEpsilon()

contains

public boolean contains(char c)

toString

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

Overrides:
toString in class java.lang.Object