|
Generic Interpreter 1.3 Private API |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgi.Grammar.Production
gi.LR0_Grammar.Context
gi.LR1_Grammar.Context
static class LR1_Grammar.Context
This class implements an LR(1) .Context
| Field Summary | |
|---|---|
(package private) Lexicon.Set<Object> |
follow
The follow Set in this LR(1) Context. |
private int |
frontier
The frontier beyond which reflexive transitive closure has not been pursued. |
| Fields inherited from class gi.LR0_Grammar.Context |
|---|
lookahead |
| Fields inherited from class gi.Grammar.Production |
|---|
A, beta, serial |
| Constructor Summary | |
|---|---|
LR1_Grammar.Context(Grammar.Production p,
int lookahead,
Lexicon.Set<Object> follow)
Constructs an LR(1) Context. |
|
| Method Summary | |
|---|---|
String |
toString()
Returns the string representation of this LR(1) Context. |
| Methods inherited from class gi.LR0_Grammar.Context |
|---|
equals |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
final Lexicon.Set<Object> follow
The follow Set in this LR(1) Context.
private int frontier
The frontier beyond which reflexive transitive closure has not been pursued.
| Constructor Detail |
|---|
LR1_Grammar.Context(Grammar.Production p,
int lookahead,
Lexicon.Set<Object> follow)
Constructs an LR(1) Context.
p - the Production in this Context.lookahead - the lookahead position in this Context.follow - the follow set in this Context.| Method Detail |
|---|
public String toString()
Returns the string representation of this LR(1) Context.
toString in class LR0_Grammar.ContextContext.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||