org.sablecc.sablecc
Class ComputeInlining
java.lang.Object
org.sablecc.sablecc.ComputeInlining
public class ComputeInlining
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setOfProdToBeInline
private java.util.Set setOfProdToBeInline
productionsMap
private java.util.Map productionsMap
tree
private Start tree
ComputeInlining
public ComputeInlining(java.util.Set set,
java.util.Map productionsMap,
Start tree)
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)