package railo.transformer.bytecode.statement.tag; import railo.transformer.bytecode.BytecodeContext; import railo.transformer.bytecode.BytecodeException; import railo.transformer.bytecode.Position; import railo.transformer.bytecode.Statement; import railo.transformer.bytecode.statement.FlowControl; import railo.transformer.bytecode.statement.FlowControlFinal; import railo.transformer.bytecode.util.ASMUtil; public final class TagRetry extends TagBase { public TagRetry(Position start,Position end) { super(start,end); setHasFlowController(true); } /** * @see railo.transformer.bytecode.statement.StatementBase#_writeOut(org.objectweb.asm.commons.GeneratorAdapter) */ public void _writeOut(BytecodeContext bc) throws BytecodeException { ASMUtil.leadFlow(bc,this,FlowControl.RETRY,null); } /** * * @see railo.transformer.bytecode.statement.StatementBase#setParent(railo.transformer.bytecode.Statement) */ public void setParent(Statement parent) { super.setParent(parent); parent.setHasFlowController(true); } @Override public FlowControlFinal getFlowControlFinal() { return null; } }