|
|||||||||
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.Trans
public class Trans
Representation of Trans
Nested Class Summary | |
---|---|
static class |
Trans.frm
Field Class for Trans.frm |
static class |
Trans.l
Field Class for Trans.l |
static class |
Trans.to
Field Class for Trans.to |
Field Summary | |
---|---|
static Label |
EPSILON
|
Constructor Summary | |
---|---|
Trans(char c,
State f,
State t)
|
|
Trans(Label l,
State frm,
State to)
Construct a(n) Trans Instance |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Is the given object Equal to this Trans? |
State |
getFrm()
Getter for field Trans.frm |
Label |
getL()
Getter for field Trans.l |
State |
getTo()
Getter for field Trans.to |
boolean |
isEpsilon()
|
static Trans |
parse(java.io.InputStream inpt)
Parse an instance of Trans from the given Stream |
static Trans |
parse(java.io.Reader inpt)
Parse an instance of Trans from the given Reader |
static Trans |
parse(java.lang.String inpt)
Parse an instance of Trans 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 |
Field Detail |
---|
public static final Label EPSILON
Constructor Detail |
---|
public Trans(Label l, State frm, State to)
public Trans(char c, State f, State t)
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public static Trans parse(java.lang.String inpt) throws ParseException
ParseException
public static Trans parse(java.io.InputStream inpt) throws ParseException
ParseException
public static Trans parse(java.io.Reader inpt) throws ParseException
ParseException
public boolean isEpsilon()
public java.lang.String toString()
toString
in class java.lang.Object
public State getTo()
public State getFrm()
public Label getL()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |