|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJaCoP.util.fsm.RegularExpressionParser.Expression
JaCoP.util.fsm.RegularExpressionParser.Literal
public class RegularExpressionParser.Literal
It specifies a simple literal.
| Field Summary | |
|---|---|
java.lang.String |
lit
String denoting the literal. |
| Constructor Summary | |
|---|---|
RegularExpressionParser.Literal(java.lang.String lit)
It constructs a literal. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object c)
|
int |
getType()
If the given string contains the words that this Expression object requires, this method returns an array of ints. |
boolean |
isSimple()
It specifies if the expression is simple. |
FSM |
parseToFSM()
It creates Finite State Machine from the expression. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String lit
| Constructor Detail |
|---|
public RegularExpressionParser.Literal(java.lang.String lit)
lit - string representation of the literal.| Method Detail |
|---|
public int getType()
RegularExpressionParser.Expression
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object c)
equals in class java.lang.Objectpublic boolean isSimple()
RegularExpressionParser.Expression
isSimple in class RegularExpressionParser.Expressionpublic FSM parseToFSM()
RegularExpressionParser.Expression
parseToFSM in class RegularExpressionParser.Expression
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||