class Rule represents a production rule for a syntax specification. It
contains a right hand symbol and a list of left hand symbols. It also
maintains a collection of "items" for the corresponding left hand symbols.
NOTE: a special symbol called "END" should be added to each rule.
class Rule should be immutable and has a factory method "parse", which
accepts a line of string and creates the corresponding Rule represented by
the string.
NOTE: class Rule should use EqualsBuilder and HashCodeBuilder to implement
equals() and hashCode()
Original issue reported on code.google.com by lemontree.cool on 7 Sep 2008 at 1:31
Original issue reported on code.google.com by
lemontree.cool
on 7 Sep 2008 at 1:31