Generic Interpreter 0.9
Private API

gi
Class Lexicon.Expression

java.lang.Object
  |
  +--gi.Lexicon.Expression
Direct Known Subclasses:
Lexicon.Alphabet, Lexicon.Concatenation, Lexicon.Repetition, Lexicon.Singleton, Lexicon.Union
Enclosing class:
Lexicon

abstract static class Lexicon.Expression
extends Object

This class implements an Expression denoting a regular language.

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

Field Summary
(package private)  Integer accept
          The accept state of the NFA recognizing the language denoted by this Expression.
(package private)  Integer initial
          The initial state of the NFA recognizing the language denoted by this Expression.
 
Constructor Summary
(package private) Lexicon.Expression()
           
 
Method Summary
(package private) abstract  Lexicon.Expression copy()
          Creates a copy of this Expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

accept

Integer accept

The accept state of the NFA recognizing the language denoted by this Expression.


initial

Integer initial

The initial state of the NFA recognizing the language denoted by this Expression.

Constructor Detail

Lexicon.Expression

Lexicon.Expression()
Method Detail

copy

abstract Lexicon.Expression copy()

Creates a copy of this Expression. The NFA recognizing the language denoted by this Expression is replicated.

Returns:
a copy of this Expression.

 

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