|
Generic Interpreter 1.0 Private API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--gi.LR0_Grammar.Context
This class implements a shift/reduce .Context
| Field Summary | |
(package private) Lexicon.Set |
follow
The follow Set in this Context. |
private int |
frontier
The frontier beyond which null-closure has not been pursued. |
(package private) int |
position
The progress position in this Context. |
(package private) Grammar.Production |
production
The Production in this Context. |
| Constructor Summary | |
(package private) |
LR0_Grammar.Context(Grammar.Production production,
int position)
Constructs a shift/reduce Context. |
| Method Summary | |
String |
toString()
Returns a string representation of this Context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
Lexicon.Set follow
The follow Set in this Context. If null, this Context is an LR(0) Context; otherwise it is an LR(1) Context.
private int frontier
The frontier beyond which null-closure has not been pursued.
int position
The progress position in this Context.
Grammar.Production production
The Production in this Context.
| Constructor Detail |
LR0_Grammar.Context(Grammar.Production production,
int position)
Constructs a shift/reduce Context.
production - the Production in this Context.position - the progress position in this Context.| Method Detail |
public String toString()
Returns a string representation of this Context.
toString in class ObjectContext.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||