org.jetbrains.jet.lang.cfg.pseudocode
Class PseudocodeImpl

java.lang.Object
  extended by org.jetbrains.jet.lang.cfg.pseudocode.PseudocodeImpl
All Implemented Interfaces:
Pseudocode

public class PseudocodeImpl
extends java.lang.Object
implements Pseudocode


Nested Class Summary
 class PseudocodeImpl.PseudocodeLabel
           
 
Constructor Summary
PseudocodeImpl(JetElement correspondingElement)
           
 
Method Summary
 java.util.List<Instruction> getAllInstructions()
           
 JetElement getCorrespondingElement()
           
 java.util.List<Instruction> getDeadInstructions()
           
 SubroutineEnterInstruction getEnterInstruction()
           
 SubroutineExitInstruction getExitInstruction()
           
 java.util.List<Instruction> getInstructions()
           
 java.util.List<PseudocodeImpl.PseudocodeLabel> getLabels()
           
 java.util.Set<LocalDeclarationInstruction> getLocalDeclarations()
           
 java.util.List<Instruction> getReversedInstructions()
           
 SubroutineSinkInstruction getSinkInstruction()
           
 void postProcess()
           
 void repeatPart(Label startLabel, Label finishLabel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PseudocodeImpl

public PseudocodeImpl(JetElement correspondingElement)
Method Detail

getCorrespondingElement

@NotNull
public JetElement getCorrespondingElement()
Specified by:
getCorrespondingElement in interface Pseudocode

getLocalDeclarations

@NotNull
public java.util.Set<LocalDeclarationInstruction> getLocalDeclarations()
Specified by:
getLocalDeclarations in interface Pseudocode

getInstructions

@NotNull
public java.util.List<Instruction> getInstructions()
Specified by:
getInstructions in interface Pseudocode

getReversedInstructions

@NotNull
public java.util.List<Instruction> getReversedInstructions()
Specified by:
getReversedInstructions in interface Pseudocode

getAllInstructions

@NotNull
public java.util.List<Instruction> getAllInstructions()

getDeadInstructions

@NotNull
public java.util.List<Instruction> getDeadInstructions()
Specified by:
getDeadInstructions in interface Pseudocode

getLabels

@NotNull
public java.util.List<PseudocodeImpl.PseudocodeLabel> getLabels()

getExitInstruction

@NotNull
public SubroutineExitInstruction getExitInstruction()
Specified by:
getExitInstruction in interface Pseudocode

getSinkInstruction

@NotNull
public SubroutineSinkInstruction getSinkInstruction()
Specified by:
getSinkInstruction in interface Pseudocode

getEnterInstruction

@NotNull
public SubroutineEnterInstruction getEnterInstruction()
Specified by:
getEnterInstruction in interface Pseudocode

postProcess

public void postProcess()

repeatPart

public void repeatPart(@NotNull
                       Label startLabel,
                       @NotNull
                       Label finishLabel)