|
sdr 0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.cscott.sdr.calls.grm.Rule
public class Rule
Grammar rule: a right-hand side, left-hand side, and a precedence level.
| Field Summary | |
|---|---|
String |
lhs
|
Fraction |
prec
|
Grm |
rhs
|
| Constructor Summary | |
|---|---|
Rule(String lhs,
Grm rhs,
Fraction prec)
|
|
| Method Summary | |
|---|---|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final String lhs
public final Grm rhs
public final Fraction prec
| Constructor Detail |
|---|
public Rule(String lhs,
Grm rhs,
Fraction prec)
| Method Detail |
|---|
public String toString()
toString in class Object
|
sdr 0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||