Generic Interpreter 1.2
Private API

gi
Class Lexicon.Expression

java.lang.Object
  extended bygi.Lexicon.Expression
Direct Known Subclasses:
Lexicon.Alphabet, Lexicon.Concatenation, Lexicon.Repetition, Lexicon.Singleton, Lexicon.Union
Enclosing class:
Lexicon

protected abstract static class Lexicon.Expression
extends Object

This class implements an Expression expressing a regular language.

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

Field Summary
(package private)  Integer f
          The final state of the NFA constructed from this Expression.
(package private)  Integer i
          The initial state of the NFA constructed from this Expression.
 
Constructor Summary
protected Lexicon.Expression()
           
 
Method Summary
(package private) abstract  Lexicon.Expression copy()
          Creates a copy of this Expression, and replicates the NFA constructed from this Expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

f

Integer f

The final state of the NFA constructed from this Expression.


i

Integer i

The initial state of the NFA constructed from this Expression.

Constructor Detail

Lexicon.Expression

protected Lexicon.Expression()
Method Detail

copy

abstract Lexicon.Expression copy()

Creates a copy of this Expression, and replicates the NFA constructed from this Expression.

Returns:
a copy of this Expression.

 

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