|
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
static class LR0_Grammar.Context
This class implements an LR(0) .Context
| Field Summary | |
|---|---|
(package private) int |
lookahead
The lookahead position in this LR(0) Context. |
| Fields inherited from class gi.Grammar.Production |
|---|
A, beta, serial |
| Constructor Summary | |
|---|---|
LR0_Grammar.Context(Grammar.Production p,
int lookahead)
Constructs an LR(0) Context. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
toString()
Returns the string representation of this LR(0) Context. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
int lookahead
The lookahead position in this LR(0) Context.
| Constructor Detail |
|---|
LR0_Grammar.Context(Grammar.Production p,
int lookahead)
Constructs an LR(0) Context.
p - the Production in this Context.lookahead - the lookahead position in this Context.| Method Detail |
|---|
public boolean equals(Object o)
equals in class Grammar.Productionpublic String toString()
Returns the string representation of this LR(0) Context.
toString in class Grammar.ProductionContext.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||