org.jetbrains.jet.lang.cfg
Interface JetControlFlowBuilder
- All Known Implementing Classes:
- JetControlFlowBuilderAdapter, JetControlFlowInstructionsGenerator
public interface JetControlFlowBuilder
read
void read(@NotNull
JetElement element)
readUnit
void readUnit(@NotNull
JetExpression expression)
createUnboundLabel
@NotNull
Label createUnboundLabel()
createUnboundLabel
@NotNull
Label createUnboundLabel(@NotNull
java.lang.String name)
bindLabel
void bindLabel(@NotNull
Label label)
jump
void jump(@NotNull
Label label)
jumpOnFalse
void jumpOnFalse(@NotNull
Label label)
jumpOnTrue
void jumpOnTrue(@NotNull
Label label)
nondeterministicJump
void nondeterministicJump(Label label)
nondeterministicJump
void nondeterministicJump(java.util.List<Label> label)
jumpToError
void jumpToError()
getEntryPoint
Label getEntryPoint(@NotNull
JetElement labelElement)
getExitPoint
Label getExitPoint(@NotNull
JetElement labelElement)
enterLoop
LoopInfo enterLoop(@NotNull
JetExpression expression,
@Nullable
Label loopExitPoint,
@Nullable
Label conditionEntryPoint)
exitLoop
void exitLoop(@NotNull
JetExpression expression)
getCurrentLoop
@Nullable
JetElement getCurrentLoop()
enterTryFinally
void enterTryFinally(@NotNull
GenerationTrigger trigger)
exitTryFinally
void exitTryFinally()
enterSubroutine
void enterSubroutine(@NotNull
JetElement subroutine)
exitSubroutine
Pseudocode exitSubroutine(@NotNull
JetElement subroutine)
getCurrentSubroutine
@NotNull
JetElement getCurrentSubroutine()
getReturnSubroutine
@Nullable
JetElement getReturnSubroutine()
returnValue
void returnValue(@NotNull
JetExpression returnExpression,
@NotNull
JetElement subroutine)
returnNoValue
void returnNoValue(@NotNull
JetElement returnExpression,
@NotNull
JetElement subroutine)
throwException
void throwException(@NotNull
JetThrowExpression throwExpression)
write
void write(@NotNull
JetElement assignment,
@NotNull
JetElement lValue)
declare
void declare(@NotNull
JetParameter parameter)
declare
void declare(@NotNull
JetVariableDeclaration property)
unsupported
void unsupported(JetElement element)
repeatPseudocode
void repeatPseudocode(@NotNull
Label startLabel,
@NotNull
Label finishLabel)