fr.umlv.tatoo.cc.parser.slr
Class LR0ClosureComputer

java.lang.Object
  extended by fr.umlv.tatoo.cc.parser.slr.LR0ClosureComputer
All Implemented Interfaces:
NodeClosureComputer<LR0Item>

public class LR0ClosureComputer
extends Object
implements NodeClosureComputer<LR0Item>


Constructor Summary
LR0ClosureComputer(Grammar grammar)
           
 
Method Summary
 Closure<LR0Item> getClosure(LR0Item t)
          Gives the closure of the dotted non terminal of item
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LR0ClosureComputer

public LR0ClosureComputer(Grammar grammar)
Method Detail

getClosure

public Closure<LR0Item> getClosure(LR0Item t)
Description copied from interface: NodeClosureComputer
Gives the closure of the dotted non terminal of item

Specified by:
getClosure in interface NodeClosureComputer<LR0Item>
Parameters:
t - the item containing the non terminal
Returns:
the closure