Generic Interpreter 0.9
Private API

gi
Class Lexicon.Alphabet

java.lang.Object
  |
  +--gi.Lexicon.Expression
        |
        +--gi.Lexicon.Alphabet
Direct Known Subclasses:
Lexicon.Match, Lexicon.PosixClass, Lexicon.Range, Lexicon.UnicodeCategory
Enclosing class:
Lexicon

abstract static class Lexicon.Alphabet
extends Lexicon.Expression

This class implements an Expression denoting a set of characters.

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

Fields inherited from class gi.Lexicon.Expression
accept, initial
 
Constructor Summary
(package private) Lexicon.Alphabet()
           
 
Method Summary
(package private) abstract  boolean contains(char c)
          Indicates whether a character is in this Alphabet.
 
Methods inherited from class gi.Lexicon.Expression
copy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Lexicon.Alphabet

Lexicon.Alphabet()
Method Detail

contains

abstract boolean contains(char c)

Indicates whether a character is in this Alphabet.

Parameters:
c - the character whose status is requested.
Returns:
true if c is in this Alphabet; false otherwise.

 

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