public class JetControlFlowBuilderAdapter extends java.lang.Object implements JetControlFlowBuilder
Modifier and Type | Field and Description |
---|---|
protected JetControlFlowBuilder |
builder |
Constructor and Description |
---|
JetControlFlowBuilderAdapter() |
@Nullable protected JetControlFlowBuilder builder
public JetControlFlowBuilderAdapter()
public void read(@NotNull JetElement element)
read
in interface JetControlFlowBuilder
public void readUnit(@NotNull JetExpression expression)
readUnit
in interface JetControlFlowBuilder
@NotNull public Label createUnboundLabel()
createUnboundLabel
in interface JetControlFlowBuilder
@NotNull public Label createUnboundLabel(@NotNull java.lang.String name)
createUnboundLabel
in interface JetControlFlowBuilder
public void bindLabel(@NotNull Label label)
bindLabel
in interface JetControlFlowBuilder
public void jump(@NotNull Label label)
jump
in interface JetControlFlowBuilder
public void jumpOnFalse(@NotNull Label label)
jumpOnFalse
in interface JetControlFlowBuilder
public void jumpOnTrue(@NotNull Label label)
jumpOnTrue
in interface JetControlFlowBuilder
public void nondeterministicJump(Label label)
nondeterministicJump
in interface JetControlFlowBuilder
public void nondeterministicJump(java.util.List<Label> labels)
nondeterministicJump
in interface JetControlFlowBuilder
public void jumpToError()
jumpToError
in interface JetControlFlowBuilder
public void throwException(@NotNull JetThrowExpression throwExpression)
throwException
in interface JetControlFlowBuilder
public Label getEntryPoint(@NotNull JetElement labelElement)
getEntryPoint
in interface JetControlFlowBuilder
public Label getExitPoint(@NotNull JetElement labelElement)
getExitPoint
in interface JetControlFlowBuilder
public LoopInfo enterLoop(@NotNull JetExpression expression, @Nullable Label loopExitPoint, Label conditionEntryPoint)
enterLoop
in interface JetControlFlowBuilder
public void exitLoop(@NotNull JetExpression expression)
exitLoop
in interface JetControlFlowBuilder
@Nullable public JetElement getCurrentLoop()
getCurrentLoop
in interface JetControlFlowBuilder
public void enterTryFinally(@NotNull GenerationTrigger trigger)
enterTryFinally
in interface JetControlFlowBuilder
public void exitTryFinally()
exitTryFinally
in interface JetControlFlowBuilder
public void enterSubroutine(@NotNull JetElement subroutine)
enterSubroutine
in interface JetControlFlowBuilder
public Pseudocode exitSubroutine(@NotNull JetElement subroutine)
exitSubroutine
in interface JetControlFlowBuilder
@NotNull public JetElement getCurrentSubroutine()
getCurrentSubroutine
in interface JetControlFlowBuilder
@Nullable public JetElement getReturnSubroutine()
getReturnSubroutine
in interface JetControlFlowBuilder
public void returnValue(@NotNull JetExpression returnExpression, @NotNull JetElement subroutine)
returnValue
in interface JetControlFlowBuilder
public void returnNoValue(@NotNull JetElement returnExpression, @NotNull JetElement subroutine)
returnNoValue
in interface JetControlFlowBuilder
public void unsupported(JetElement element)
unsupported
in interface JetControlFlowBuilder
public void write(@NotNull JetElement assignment, @NotNull JetElement lValue)
write
in interface JetControlFlowBuilder
public void declare(@NotNull JetParameter parameter)
declare
in interface JetControlFlowBuilder
public void declare(@NotNull JetVariableDeclaration property)
declare
in interface JetControlFlowBuilder
public void repeatPseudocode(@NotNull Label startLabel, @NotNull Label finishLabel)
repeatPseudocode
in interface JetControlFlowBuilder