Generic Interpreter 1.2
Protected API

gi
Class Lexicon.Range

java.lang.Object
  extended bygi.Lexicon.Expression
      extended bygi.Lexicon.Alphabet
          extended bygi.Lexicon.Range
Enclosing class:
Lexicon

protected static class Lexicon.Range
extends Lexicon.Alphabet

This class implements an Alphabet containing the characters in a range.

Version:
1.2
Author:
© 1999-2004 Craig A. Rich <carich@csupomona.edu>

Constructor Summary
Lexicon.Range(char a1, char a2)
          Constructs an Alphabet containing the characters in a range, and builds 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

Lexicon.Range

public Lexicon.Range(char a1,
                     char a2)

Constructs an Alphabet containing the characters in a range, and builds the NFA constructed from this Expression.

Parameters:
a1 - the first character in the range.
a2 - the last character in the range.

 

© 1999-2004 Craig A. Rich <carich@csupomona.edu>