org.metasyntactic.math.automata
Class SimpleParseTable

java.lang.Object
  |
  +--org.metasyntactic.math.automata.LRParseTable
        |
        +--org.metasyntactic.math.automata.SimpleParseTable
All Implemented Interfaces:
FiniteAutomata, java.io.Serializable

public class SimpleParseTable
extends LRParseTable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.metasyntactic.math.automata.LRParseTable
LRParseTable.Accept, LRParseTable.Action, LRParseTable.Error, LRParseTable.Reduce, LRParseTable.Shift, LRParseTable.StateAndSymbol
 
Field Summary
 
Fields inherited from class org.metasyntactic.math.automata.LRParseTable
actions, characterClasses, gotos, nonterminals, productionToNum, startState, states, terminals
 
Constructor Summary
protected SimpleParseTable()
          So we can export items, closure, and _goto to LookAheadParseTable
  SimpleParseTable(AugmentedGrammar g_prime)
           
  SimpleParseTable(ContextFreeGrammar G)
           
 
Method Summary
protected static java.util.Set constructStartState(AugmentedGrammar G_prime)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class org.metasyntactic.math.automata.LRParseTable
accept, accept, addAccept, addAcceptListener, addError, addErrorListener, addGoto, addProduction, addReduce, addReduceListener, addShift, addShiftListener, addState, getLargeTable, newToString, removeAcceptListener, removeErrorListener, removeReduceListener, removeShiftListener, setStartState, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleParseTable

protected SimpleParseTable()
So we can export items, closure, and _goto to LookAheadParseTable


SimpleParseTable

public SimpleParseTable(AugmentedGrammar g_prime)
                 throws ParseTableConflict

SimpleParseTable

public SimpleParseTable(ContextFreeGrammar G)
                 throws ParseTableConflict
Method Detail

constructStartState

protected static java.util.Set constructStartState(AugmentedGrammar G_prime)

main

public static void main(java.lang.String[] args)