org.jetbrains.kotlin.cfg.pseudocode
Interface Pseudocode

All Known Implementing Classes:
PseudocodeImpl

public interface Pseudocode


Method Summary
 JetElement getCorrespondingElement()
           
 PseudoValue getElementValue(JetElement element)
           
 SubroutineEnterInstruction getEnterInstruction()
           
 SubroutineExitInstruction getExitInstruction()
           
 java.util.List<Instruction> getInstructions()
           
 java.util.List<Instruction> getInstructionsIncludingDeadCode()
           
 java.util.Set<LocalFunctionDeclarationInstruction> getLocalDeclarations()
           
 Pseudocode getParent()
           
 java.util.List<Instruction> getReversedInstructions()
           
 SubroutineSinkInstruction getSinkInstruction()
           
 java.util.List<? extends Instruction> getUsages(PseudoValue value)
           
 java.util.List<? extends JetElement> getValueElements(PseudoValue value)
           
 boolean isSideEffectFree(Instruction instruction)
           
 

Method Detail

getCorrespondingElement

@NotNull
JetElement getCorrespondingElement()

getParent

@Nullable
Pseudocode getParent()

getLocalDeclarations

@NotNull
java.util.Set<LocalFunctionDeclarationInstruction> getLocalDeclarations()

getInstructions

@NotNull
java.util.List<Instruction> getInstructions()

getReversedInstructions

@NotNull
java.util.List<Instruction> getReversedInstructions()

getInstructionsIncludingDeadCode

@NotNull
java.util.List<Instruction> getInstructionsIncludingDeadCode()

getExitInstruction

@NotNull
SubroutineExitInstruction getExitInstruction()

getSinkInstruction

@NotNull
SubroutineSinkInstruction getSinkInstruction()

getEnterInstruction

@NotNull
SubroutineEnterInstruction getEnterInstruction()

getElementValue

@Nullable
PseudoValue getElementValue(@Nullable
                                     JetElement element)

getValueElements

@NotNull
java.util.List<? extends JetElement> getValueElements(@Nullable
                                                              PseudoValue value)

getUsages

@NotNull
java.util.List<? extends Instruction> getUsages(@Nullable
                                                        PseudoValue value)

isSideEffectFree

boolean isSideEffectFree(@NotNull
                         Instruction instruction)