Class ProductionList


  • public class ProductionList
    extends java.lang.Object
    A list of the productions of a rule
    Author:
    bratseth
    • Constructor Detail

      • ProductionList

        public ProductionList()
    • Method Detail

      • addProduction

        public void addProduction​(Production term)
      • productionList

        public java.util.List<Production> productionList()
        Returns an unmodifiable view of the productions in this
      • getTermCount

        public int getTermCount()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object