|
Generic Interpreter 1.3 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
protected static class Lexicon.Match
This class implements an containing some characters.Alphabet
| Field Summary | |
|---|---|
(package private) Object |
A
The Character or String representing this Alphabet. |
| Fields inherited from class gi.Lexicon.Expression |
|---|
f, i |
| Constructor Summary | |
|---|---|
|
Lexicon.Match(char a)
Constructs an Alphabet containing one character, and builds the NFA constructed from this Expression. |
private |
Lexicon.Match(Integer i,
char a,
Integer f)
Constructs an Alphabet containing one character, and builds the NFA constructed from this Expression. |
private |
Lexicon.Match(Integer i,
Object A,
Integer f)
Constructs an Alphabet containing some characters, and builds the NFA constructed from this Expression. |
|
Lexicon.Match(Object A)
Constructs an Alphabet containing some characters, and builds the NFA constructed from this Expression. |
| Method Summary | |
|---|---|
Object |
clone()
Creates a clone of this Alphabet, and replicates the NFA constructed from this Expression. |
(package private) boolean |
contains(char a)
Indicates whether a character occurs in this Alphabet. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final Object A
| Constructor Detail |
|---|
private Lexicon.Match(Integer i,
Object A,
Integer f)
Constructs an Alphabet containing some characters, and builds the NFA constructed from this Expression.
i - the initial state of the NFA constructed.A - the Character or String of characters in this Alphabet.f - the final state of the NFA constructed.
private Lexicon.Match(Integer i,
char a,
Integer f)
Constructs an Alphabet containing one character, and builds the NFA constructed from this Expression.
i - the initial state of the NFA constructed.a - the character in this Alphabet.f - the final state of the NFA constructed.public Lexicon.Match(char a)
Constructs an Alphabet containing one character, and builds the NFA constructed from this Expression.
a - the character in this Alphabet.public Lexicon.Match(Object A)
Constructs an Alphabet containing some characters, and builds the NFA constructed from this Expression.
A - the Character or String of characters in this Alphabet.| Method Detail |
|---|
boolean contains(char a)
Indicates whether a character occurs in this Alphabet.
contains in class Lexicon.Alphabeta - the character whose status is requested.
true if a occurs in this Alphabet; false otherwise.public Object clone()
Creates a clone of this Alphabet, and replicates the NFA constructed from this Expression.
clone in class Lexicon.ExpressionAlphabet.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||