Generic Interpreter 1.3
Private API

gi
Class Lexicon.Concatenation

java.lang.Object
  extended by gi.Lexicon.Expression
      extended by gi.Lexicon.Concatenation
All Implemented Interfaces:
Cloneable
Enclosing class:
Lexicon

protected static class Lexicon.Concatenation
extends Lexicon.Expression

This class implements an Expression expressing the concatenation of two regular languages.

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

Field Summary
private  Lexicon.Expression e1
          The left operand Expression.
private  Lexicon.Expression e2
          The right operand Expression.
 
Fields inherited from class gi.Lexicon.Expression
f, i
 
Constructor Summary
Lexicon.Concatenation(Lexicon.Expression e1, Lexicon.Expression e2)
          Constructs an Expression expressing the concatenation of two regular languages, and builds the NFA constructed from this Expression.
 
Method Summary
 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

e1

private final Lexicon.Expression e1

The left operand Expression.


e2

private final Lexicon.Expression e2

The right operand Expression.

Constructor Detail

Lexicon.Concatenation

public Lexicon.Concatenation(Lexicon.Expression e1,
                             Lexicon.Expression e2)

Constructs an Expression expressing the concatenation of two regular languages, and builds the NFA constructed from this Expression.

Parameters:
e1 - the left operand Expression.
e2 - the right operand Expression.
Method Detail

clone

public Object clone()

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

Specified by:
clone in class Lexicon.Expression
Returns:
a clone of this Expression.

 

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