public class StatementWriter extends Object
Constructor and Description |
---|
StatementWriter(WriterController controller) |
Modifier and Type | Method and Description |
---|---|
void |
writeAssert(AssertStatement statement) |
void |
writeBlockStatement(BlockStatement block) |
void |
writeBreak(BreakStatement statement) |
protected void |
writeCaseStatement(CaseStatement statement,
int switchVariableIndex,
org.objectweb.asm.Label thisLabel,
org.objectweb.asm.Label nextLabel) |
void |
writeContinue(ContinueStatement statement) |
void |
writeDoWhileLoop(DoWhileStatement loop) |
void |
writeExpressionStatement(ExpressionStatement statement) |
protected void |
writeForInLoop(ForStatement loop) |
protected void |
writeForLoopWithClosureList(ForStatement loop) |
void |
writeForStatement(ForStatement loop) |
void |
writeIfElse(IfStatement ifElse) |
protected void |
writeIteratorHasNext(org.objectweb.asm.MethodVisitor mv) |
protected void |
writeIteratorNext(org.objectweb.asm.MethodVisitor mv) |
void |
writeReturn(ReturnStatement statement) |
protected void |
writeStatementLabel(Statement statement) |
void |
writeSwitch(SwitchStatement statement) |
void |
writeSynchronized(SynchronizedStatement statement) |
void |
writeThrow(ThrowStatement statement) |
void |
writeTryCatchFinally(TryCatchStatement statement) |
void |
writeWhileLoop(WhileStatement loop) |
public StatementWriter(WriterController controller)
protected void writeStatementLabel(Statement statement)
public void writeBlockStatement(BlockStatement block)
public void writeForStatement(ForStatement loop)
protected void writeIteratorHasNext(org.objectweb.asm.MethodVisitor mv)
protected void writeIteratorNext(org.objectweb.asm.MethodVisitor mv)
protected void writeForInLoop(ForStatement loop)
protected void writeForLoopWithClosureList(ForStatement loop)
public void writeWhileLoop(WhileStatement loop)
public void writeDoWhileLoop(DoWhileStatement loop)
public void writeIfElse(IfStatement ifElse)
public void writeTryCatchFinally(TryCatchStatement statement)
public void writeSwitch(SwitchStatement statement)
protected void writeCaseStatement(CaseStatement statement, int switchVariableIndex, org.objectweb.asm.Label thisLabel, org.objectweb.asm.Label nextLabel)
public void writeBreak(BreakStatement statement)
public void writeContinue(ContinueStatement statement)
public void writeSynchronized(SynchronizedStatement statement)
public void writeAssert(AssertStatement statement)
public void writeThrow(ThrowStatement statement)
public void writeReturn(ReturnStatement statement)
public void writeExpressionStatement(ExpressionStatement statement)