|
Generic Interpreter 0.9 Protected API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gi.Lexicon.Expression | +--gi.Lexicon.Alphabet | +--gi.Lexicon.Match
This class implements an
denoting the set of characters in a string.Expression
Constructor Summary | |
Lexicon.Match(char c)
Constructs an Expression denoting the set containing a character. |
|
Lexicon.Match(String string)
Constructs an Expression denoting the set of characters in a string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Lexicon.Match(char c)
Constructs an Expression
denoting the set containing a character. An NFA recognizing the language denoted by this Expression
is constructed.
c
- the character whose singleton set is denoted.public Lexicon.Match(String string)
Constructs an Expression
denoting the set of characters in a string. An NFA recognizing the language denoted by this Expression
is constructed.
string
- the string of characters whose set is denoted.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |