Package java_cup

Class parse_reduce_row

java.lang.Object
java_cup.parse_reduce_row

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

    • _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 Details

    • 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 Details

    • size

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