Generic Interpreter 1.3
Private API

gi
Class Lexicon.Expression

java.lang.Object
  extended by gi.Lexicon.Expression
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
Lexicon.Alphabet, Lexicon.Concatenation, Lexicon.Repetition, Lexicon.Singleton, Lexicon.Union
Enclosing class:
Lexicon

protected abstract static class Lexicon.Expression
extends Object
implements Cloneable

This class implements an Expression expressing a regular language.

Version:
1.3
Author:
© 1999-2009 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
abstract  Object clone()
          Creates a clone of this Expression, and replicates the NFA constructed from this Expression.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

i

Integer i

The initial state of the NFA constructed from this Expression.


f

Integer f

The final state of the NFA constructed from this Expression.

Constructor Detail

Lexicon.Expression

protected Lexicon.Expression()
Method Detail

clone

public abstract Object clone()

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

Overrides:
clone in class Object
Returns:
a clone of this Expression.

 

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