org.eclipse.ocl.examples.codegen.cse
Class IfPlaces

java.lang.Object
  extended by org.eclipse.ocl.examples.codegen.cse.IfPlaces

public class IfPlaces
extends java.lang.Object

IfPlaces manages a ThenPlace and an ElsePlace for the then and else forests of CG trees for an IF expression.

They support hoisting a CSE that appears on both then and else arms of an expression.


Nested Class Summary
static class IfPlaces.ElsePlace
          An ElsePlace describes the else forest of CG trees for an IF expression.
static class IfPlaces.ThenPlace
          A ThenPlace describes the then forest of CG trees for an IF expression.
 
Constructor Summary
IfPlaces()
           
 
Method Summary
static LocalPlace createIfPlaces(java.util.Map<CGElement,AbstractPlace> element2place, CGIfExp cgIfExp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IfPlaces

public IfPlaces()
Method Detail

createIfPlaces

@NonNull
public static LocalPlace createIfPlaces(@NonNull
                                                java.util.Map<CGElement,AbstractPlace> element2place,
                                                @NonNull
                                                CGIfExp cgIfExp)