|
Generic Interpreter 1.2 Private API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgi.Grammar.Production
This class implements a .Production
| Field Summary | |
(package private) Object |
A
The nonterminal on the left side of this Production. |
(package private) Object[] |
beta
The phrase on the right side of this Production. |
(package private) int |
serial
The serial number of this Production. |
| Constructor Summary | |
(package private) |
Grammar.Production(Grammar.Production p)
|
(package private) |
Grammar.Production(Object A,
Object[] beta)
Constructs a Production with a nonterminal and phrase. |
| Method Summary | |
String |
toString()
Returns the string representation of this Production. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
Object A
The nonterminal on the left side of this Production.
Object[] beta
The phrase on the right side of this Production.
int serial
The serial number of this Production. It is the priority of this Production when resolving parse conflicts.
| Constructor Detail |
Grammar.Production(Grammar.Production p)
Grammar.Production(Object A,
Object[] beta)
Constructs a Production with a nonterminal and phrase.
A - the nonterminal on the left side of this Production.beta - the phrase on the right side of this Production.| Method Detail |
public String toString()
Returns the string representation of this Production.
Production.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||