Package java_cup

Class parse_reduce_row


  • public class parse_reduce_row
    extends java.lang.Object
    This class represents one row (corresponding to one machine state) of the reduce-goto parse table.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static int _size
      Number of columns (non terminals) in every row.
      lalr_state[] under_non_term
      Actual entries for the row.
    • Constructor Summary

      Constructors 
      Constructor Description
      parse_reduce_row()
      Simple constructor.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void clear()  
      static int size()
      Number of columns (non terminals) in every row.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _size

        protected static int _size
        Number of columns (non terminals) in every row.
      • under_non_term

        public lalr_state[] under_non_term
        Actual entries for the row.
    • Constructor Detail

      • parse_reduce_row

        public parse_reduce_row()
        Simple constructor. Note: this should not be used until the number of terminals in the grammar has been established.
    • Method Detail

      • size

        public static int size()
        Number of columns (non terminals) in every row.
      • clear

        public static void clear()