sdr 0.7

net.cscott.sdr.calls.grm
Class Rule

java.lang.Object
  extended by net.cscott.sdr.calls.grm.Rule

public class Rule
extends Object

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

lhs

public final String lhs

rhs

public final Grm rhs

prec

public final Fraction prec
Constructor Detail

Rule

public Rule(String lhs,
            Grm rhs,
            Fraction prec)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian