|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.neu.ccs.demeterf.lexer.classes.LexDef edu.neu.ccs.demeterf.lexer.classes.TokDef
public class TokDef
Representation of TokDef
Nested Class Summary | |
---|---|
static class |
TokDef.id
Field Class for TokDef.id |
static class |
TokDef.re
Field Class for TokDef.re |
Constructor Summary | |
---|---|
TokDef(ident id,
RegExp re)
Construct a(n) TokDef Instance |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Is the given object Equal to this TokDef? |
ident |
getId()
Getter for field TokDef.id |
RegExp |
getRe()
Getter for field TokDef.re |
static TokDef |
parse(java.io.InputStream inpt)
Parse an instance of TokDef from the given Stream |
static TokDef |
parse(java.io.Reader inpt)
Parse an instance of TokDef from the given Reader |
static TokDef |
parse(java.lang.String inpt)
Parse an instance of TokDef 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 |
---|
public TokDef(ident id, RegExp re)
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public static TokDef parse(java.lang.String inpt) throws ParseException
ParseException
public static TokDef parse(java.io.InputStream inpt) throws ParseException
ParseException
public static TokDef parse(java.io.Reader inpt) throws ParseException
ParseException
public java.lang.String toString()
toString
in class LexDef
public RegExp getRe()
public ident getId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |