org.jetbrains.jet.lang.cfg.pseudocode
Class PseudocodeImpl
java.lang.Object
org.jetbrains.jet.lang.cfg.pseudocode.PseudocodeImpl
- All Implemented Interfaces:
- Pseudocode
public class PseudocodeImpl
- extends java.lang.Object
- implements Pseudocode
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PseudocodeImpl
public PseudocodeImpl(JetElement correspondingElement)
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)