提交 87d07007 编写于 作者: A Andrey Breslav

Renaming

上级 7baa89e4
......@@ -36,8 +36,8 @@ public interface JetControlFlowBuilder {
JetElement getCurrentLoop();
// Finally
void pushFinally(@NotNull JetBlockExpression expression);
void popFinally();
void enterTryFinally(@NotNull JetBlockExpression expression);
void exitTryFinally();
// Subroutines
void enterSubroutine(@NotNull JetElement subroutine);
......
......@@ -221,7 +221,7 @@ package org.jetbrains.jet.lang.cfg;
// }
//
// @Override
// public void popFinally() {
// public void exitTryFinally() {
// throw new UnsupportedOperationException(); // TODO
// }
//
......@@ -236,7 +236,7 @@ package org.jetbrains.jet.lang.cfg;
// }
//
// @Override
// public void pushFinally(JetBlockExpression expression) {
// public void enterTryFinally(JetBlockExpression expression) {
// throw new UnsupportedOperationException(); // TODO
// }
//
......
......@@ -124,7 +124,7 @@ public class JetControlFlowProcessor {
public void visitTryExpression(JetTryExpression expression) {
JetFinallySection finallyBlock = expression.getFinallyBlock();
if (finallyBlock != null) {
builder.pushFinally(finallyBlock.getFinalExpression());
builder.enterTryFinally(finallyBlock.getFinalExpression());
}
List<JetCatchClause> catchClauses = expression.getCatchClauses();
......@@ -153,7 +153,7 @@ public class JetControlFlowProcessor {
}
if (finallyBlock != null) {
builder.popFinally();
builder.exitTryFinally();
}
}
......
......@@ -158,12 +158,12 @@ public class JetControlFlowInstructionsGenerator implements JetControlFlowBuilde
}
@Override
public void popFinally() {
public void enterTryFinally(@NotNull JetBlockExpression expression) {
throw new UnsupportedOperationException(); // TODO
}
@Override
public void pushFinally(@NotNull JetBlockExpression expression) {
public void exitTryFinally() {
throw new UnsupportedOperationException(); // TODO
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册