|
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 | +--gi.Lexicon.NonMatch
This class implements an
denoting the set of characters not in a string.Expression
Constructor Summary | |
Lexicon.NonMatch(char c)
Constructs an Expression denoting the set of characters except one. |
|
Lexicon.NonMatch(String string)
Constructs an Expression denoting the set of characters not 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.NonMatch(char c)
Constructs an Expression
denoting the set of characters except one. An NFA recognizing the language denoted by this Expression
is constructed.
c
- the character whose complement is denoted.public Lexicon.NonMatch(String string)
Constructs an Expression
denoting the set of characters not in a string. An NFA recognizing the language denoted by this Expression
is constructed.
string
- the string of characters whose complement is denoted.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |