|
Generic Interpreter 1.2 Private API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgi.Lexicon.Expression
gi.Lexicon.Alphabet
gi.Lexicon.Match
gi.Lexicon.NonMatch
This class implements an containing all except some characters.Alphabet
| Field Summary |
| Fields inherited from class gi.Lexicon.Match |
A |
| Fields inherited from class gi.Lexicon.Expression |
f, i |
| Constructor Summary | |
Lexicon.NonMatch(char a)
Constructs an Alphabet containing all characters except one, and builds the NFA constructed from this Expression. |
|
Lexicon.NonMatch(Object A)
Constructs an Alphabet containing all characters except some, and builds the NFA constructed from this Expression. |
|
| Method Summary | |
(package private) boolean |
contains(char a)
Indicates whether a character occurs in this Alphabet. |
(package private) Lexicon.Expression |
copy()
Creates a copy of this Alphabet, and replicates the NFA constructed from this Expression. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Lexicon.NonMatch(char a)
Constructs an Alphabet containing all characters except one, and builds the NFA constructed from this Expression.
a - the character not in this Alphabet.public Lexicon.NonMatch(Object A)
Constructs an Alphabet containing all characters except some, and builds the NFA constructed from this Expression.
A - the Character or String of characters not in this Alphabet.| Method Detail |
boolean contains(char a)
Indicates whether a character occurs in this Alphabet.
contains in class Lexicon.Matcha - the character whose status is requested.
true if a occurs in this Alphabet; false otherwise.Lexicon.Expression copy()
Creates a copy of this Alphabet, and replicates the NFA constructed from this Expression.
copy in class Lexicon.MatchAlphabet.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||