Class Machine

java.lang.Object
org.xbib.jacc.grammar.Machine
Direct Known Subclasses:
LookaheadMachine

public class Machine extends Object
  • Field Details

    • grammar

      protected Grammar grammar
    • numNTs

      protected int numNTs
    • numTs

      protected int numTs
    • left

      protected org.xbib.jacc.grammar.Left left
  • Method Details

    • getGrammar

      public Grammar getGrammar()
    • getNumStates

      public int getNumStates()
    • getItems

      public LR0Items getItems()
    • reduceItem

      public LR0Items.Item reduceItem(int i, int j)
    • getEntry

      public int getEntry(int i)
    • getItemsAt

      public IntSet getItemsAt(int i)
    • getGotosAt

      public int[] getGotosAt(int i)
    • getShiftsAt

      public int[] getShiftsAt(int i)
    • display

      public void display(Writer writer) throws IOException
      Throws:
      IOException