fr.umlv.tatoo.runtime.parser
Class ParserTable<T,P>

java.lang.Object
  extended by fr.umlv.tatoo.runtime.parser.ParserTable<T,P>
Type Parameters:
T - type of a terminal.
P - type of a production.

public class ParserTable<T,P>
extends Object

Version:
$Revision: 1.12 $ $Date: 2005/11/27 14:22:45 $
Author:
julien

Constructor Summary
ParserTable(Map<T,Action<T,P>[]> table, int stateNb, T eof)
           
 
Method Summary
 Action<T,P>[] getActions(T terminal)
           
 T getEof()
           
 Map<T,Action<T,P>[]> getMap()
           
 int getStateNb()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserTable

public ParserTable(Map<T,Action<T,P>[]> table,
                   int stateNb,
                   T eof)
Method Detail

getActions

public Action<T,P>[] getActions(T terminal)

getStateNb

public int getStateNb()

getMap

public Map<T,Action<T,P>[]> getMap()

getEof

public T getEof()