org.sablecc.sablecc
Class ComputeInlining

java.lang.Object
  extended by org.sablecc.sablecc.ComputeInlining

public class ComputeInlining
extends java.lang.Object


Nested Class Summary
(package private)  class ComputeInlining.BooleanEx
           
 
Field Summary
private  java.util.Map productionsMap
           
private  java.util.Set setOfProdToBeInline
           
private  Start tree
           
 
Constructor Summary
ComputeInlining(java.util.Set set, java.util.Map productionsMap, Start tree)
           
 
Method Summary
 boolean computeInlining()
          This method compute the inline of a all productions implied in a conflict in the grammar.
 boolean isProductionRecursive(AProd production)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

setOfProdToBeInline

private java.util.Set setOfProdToBeInline

productionsMap

private java.util.Map productionsMap

tree

private Start tree
Constructor Detail

ComputeInlining

public ComputeInlining(java.util.Set set,
                       java.util.Map productionsMap,
                       Start tree)
Method Detail

computeInlining

public boolean computeInlining()
This method compute the inline of a all productions implied in a conflict in the grammar. It returns : -- true if at least one production is inlined with success -- and false otherwise.


isProductionRecursive

public boolean isProductionRecursive(AProd production)