gi
Class Lexicon.Range
java.lang.Object
|
+--gi.Lexicon.Expression
|
+--gi.Lexicon.Alphabet
|
+--gi.Lexicon.Range
- Enclosing class:
- Lexicon
- protected static class Lexicon.Range
- extends gi.Lexicon.Alphabet
This class implements an Expression
denoting the set of characters in a range.
- Version:
- 0.9
- Author:
- © 1999-2000 Craig A. Rich <carich@acm.org>
Constructor Summary |
Lexicon.Range(char first,
char last)
Constructs an Expression denoting the set of characters in a range. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Lexicon.Range
public Lexicon.Range(char first,
char last)
Constructs an Expression
denoting the set of characters in a range. An NFA recognizing the language denoted by this Expression
is constructed.
- Parameters:
first
- the first character in the range.last
- the last character in the range.
© 1999-2000 Craig A. Rich <carich@acm.org>