Generic Interpreter 0.9
Protected API

gi
Class Lexicon.Union

java.lang.Object
  |
  +--gi.Lexicon.Expression
        |
        +--gi.Lexicon.Union
Enclosing class:
Lexicon

protected static class Lexicon.Union
extends gi.Lexicon.Expression

This class implements an Expression denoting the union of two regular languages.

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

Constructor Summary
Lexicon.Union(gi.Lexicon.Expression left, gi.Lexicon.Expression right)
          Constructs an Expression denoting the union of two regular languages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lexicon.Union

public Lexicon.Union(gi.Lexicon.Expression left,
                     gi.Lexicon.Expression right)

Constructs an Expression denoting the union of two regular languages. An NFA recognizing the language denoted by this Expression is constructed.

Parameters:
left - the Expression denoting the left language.
right - the Expression denoting the right language.

 

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