|
Generic Interpreter 0.9 Private API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gi.Lexicon.Expression | +--gi.Lexicon.Union
This class implements an
denoting the union of two regular languages.Expression
Field Summary | |
private Lexicon.Expression |
left
The Expression denoting the left language. |
private Lexicon.Expression |
right
The Expression denoting the right language. |
Fields inherited from class gi.Lexicon.Expression |
accept, initial |
Constructor Summary | |
Lexicon.Union(Lexicon.Expression left,
Lexicon.Expression right)
Constructs an Expression denoting the union of two regular languages. |
Method Summary | |
(package private) 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 |
private final Lexicon.Expression left
The Expression
denoting the left language.
private final Lexicon.Expression right
The Expression
denoting the right language.
Constructor Detail |
public Lexicon.Union(Lexicon.Expression left, Lexicon.Expression right)
Constructs an Expression
denoting the union of two regular languages. An NFA recognizing the language denoted by this Expression
is constructed.
left
- the Expression
denoting the left language.right
- the Expression
denoting the right language.Method Detail |
Lexicon.Expression copy()
Creates a copy of this Expression
. The NFA recognizing the language denoted by this Expression
is replicated.
copy
in class Lexicon.Expression
Expression
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |