public class PseudocodeImpl extends java.lang.Object implements Pseudocode
Modifier and Type | Class and Description |
---|---|
class |
PseudocodeImpl.PseudocodeLabel |
Constructor and Description |
---|
PseudocodeImpl(JetElement correspondingElement) |
Modifier and Type | Method and Description |
---|---|
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) |
public PseudocodeImpl(JetElement correspondingElement)
@NotNull public JetElement getCorrespondingElement()
getCorrespondingElement
in interface Pseudocode
@NotNull public java.util.Set<LocalDeclarationInstruction> getLocalDeclarations()
getLocalDeclarations
in interface Pseudocode
@NotNull public java.util.List<Instruction> getInstructions()
getInstructions
in interface Pseudocode
@NotNull public java.util.List<Instruction> getReversedInstructions()
getReversedInstructions
in interface Pseudocode
@NotNull public java.util.List<Instruction> getAllInstructions()
@NotNull public java.util.List<Instruction> getDeadInstructions()
getDeadInstructions
in interface Pseudocode
@NotNull public java.util.List<PseudocodeImpl.PseudocodeLabel> getLabels()
@NotNull public SubroutineExitInstruction getExitInstruction()
getExitInstruction
in interface Pseudocode
@NotNull public SubroutineSinkInstruction getSinkInstruction()
getSinkInstruction
in interface Pseudocode
@NotNull public SubroutineEnterInstruction getEnterInstruction()
getEnterInstruction
in interface Pseudocode
public void postProcess()
public void repeatPart(@NotNull Label startLabel, @NotNull Label finishLabel)