Generic Interpreter 1.2
Protected API

gi
Class Lexicon.Match

java.lang.Object
  extended bygi.Lexicon.Expression
      extended bygi.Lexicon.Alphabet
          extended bygi.Lexicon.Match
Direct Known Subclasses:
Lexicon.NonMatch
Enclosing class:
Lexicon

protected static class Lexicon.Match
extends Lexicon.Alphabet

This class implements an Alphabet containing some characters.

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

Constructor Summary
Lexicon.Match(char a)
          Constructs an Alphabet containing one character, 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lexicon.Match

public Lexicon.Match(char a)

Constructs an Alphabet containing one character, and builds the NFA constructed from this Expression.

Parameters:
a - the character in this Alphabet.

Lexicon.Match

public Lexicon.Match(Object A)

Constructs an Alphabet containing some characters, and builds the NFA constructed from this Expression.

Parameters:
A - the Character or String of characters in this Alphabet.

 

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