Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.sablecc.sablecc
Class ComputeInlining  view ComputeInlining download ComputeInlining.java

java.lang.Object
  extended byorg.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  org.sablecc.sablecc.node.Start tree
           
 
Constructor Summary
ComputeInlining(java.util.Set set, java.util.Map productionsMap, org.sablecc.sablecc.node.Start tree)
           
 
Method Summary
 boolean computeInlining()
          This method compute the inline of a all productions implied in a conflict in the grammar.
 boolean isProductionRecursive(org.sablecc.sablecc.node.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 org.sablecc.sablecc.node.Start tree
Constructor Detail

ComputeInlining

public ComputeInlining(java.util.Set set,
                       java.util.Map productionsMap,
                       org.sablecc.sablecc.node.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(org.sablecc.sablecc.node.AProd production)