|
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
static class 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 | |
|---|---|
Grammar.Production(Grammar.Production p)
Constructs a Production that is a copy of an existing Production. |
|
Grammar.Production(Object A,
Object[] beta)
Constructs a Production with a nonterminal and phrase. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
toString()
Returns the string representation of this Production. |
| Methods inherited from class java.lang.Object |
|---|
clone, 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(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.Grammar.Production(Grammar.Production p)
Constructs a Production that is a copy of an existing Production.
p - the Production copied.| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic String toString()
Returns the string representation of this Production.
toString in class ObjectProduction.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||