|
Generic Interpreter 1.0 Private API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--gi.Lexicon.Expression
|
+--gi.Lexicon.Singleton
This class implements an denoting the set containing a string.Expression
| Field Summary | |
(package private) Integer |
accept
The accept state of the NFA recognizing the language denoted by this Expression. |
(package private) Integer |
initial
The initial state of the NFA recognizing the language denoted by this Expression. |
private String |
string
The string whose singleton set is denoted. |
| Constructor Summary | |
Lexicon.Singleton(String string)
Constructs an Expression denoting the set containing a string. |
|
| Method Summary | |
(package private) Lexicon.Expression |
copy()
Creates a copy of this Expression. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private final String string
The string whose singleton set is denoted.
Integer accept
The accept state of the NFA recognizing the language denoted by this Expression.
Integer initial
The initial state of the NFA recognizing the language denoted by this Expression.
| Constructor Detail |
public Lexicon.Singleton(String string)
Constructs an Expression denoting the set containing a string. An NFA recognizing the language denoted by this Expression is constructed.
string - the string whose singleton set is denoted.| Method Detail |
Lexicon.Expression copy()
Creates a copy of this Expression. The NFA recognizing the language denoted by this Expression is replicated.
copy in class Lexicon.ExpressionExpression.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||