Generic Interpreter 0.9
Protected API

gi
Class Lexicon.UnicodeCategory

java.lang.Object
  |
  +--gi.Lexicon.Expression
        |
        +--gi.Lexicon.Alphabet
              |
              +--gi.Lexicon.UnicodeCategory
Enclosing class:
Lexicon

protected static class Lexicon.UnicodeCategory
extends gi.Lexicon.Alphabet

This class implements an Expression denoting the set of characters in a Unicode category.

Version:
0.9
Author:
© 1999-2000 Craig A. Rich <carich@acm.org>

Constructor Summary
Lexicon.UnicodeCategory(byte category)
          Constructs an Expression denoting the set of characters in a Unicode category.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lexicon.UnicodeCategory

public Lexicon.UnicodeCategory(byte category)

Constructs an Expression denoting the set of characters in a Unicode category. An NFA recognizing the language denoted by this Expression is constructed. The class Character defines byte constants for each of the Unicode category types.

Parameters:
category - the Unicode category whose set is denoted.
See Also:
Character

 

© 1999-2000 Craig A. Rich <carich@acm.org>