railo.transformer.bytecode
Class FlowControlBody

java.lang.Object
  extended by railo.transformer.bytecode.statement.StatementBase
      extended by railo.transformer.bytecode.statement.StatementBaseNoFinal
          extended by railo.transformer.bytecode.BodyBase
              extended by railo.transformer.bytecode.FlowControlBody
All Implemented Interfaces:
Body, Statement, FlowControl, FlowControlBreak, FlowControlContinue
Direct Known Subclasses:
FunctionBody, ScriptBody

public abstract class FlowControlBody
extends BodyBase
implements FlowControlBreak, FlowControlContinue


Field Summary
 
Fields inherited from interface railo.transformer.bytecode.statement.FlowControl
BREAK, CONTINUE, RETRY
 
Constructor Summary
FlowControlBody()
           
 
Method Summary
 void _writeOut(BytecodeContext bc)
          write out the stament to the adater
 org.objectweb.asm.Label getBreakLabel()
           
 org.objectweb.asm.Label getContinueLabel()
           
 String getLabel()
           
 
Methods inherited from class railo.transformer.bytecode.BodyBase
addFirst, addPrintOut, addStatement, getStatements, hasStatements, isEmpty, moveStatmentsTo, remove, writeOut, writeOut2
 
Methods inherited from class railo.transformer.bytecode.statement.StatementBaseNoFinal
getFlowControlFinal
 
Methods inherited from class railo.transformer.bytecode.statement.StatementBase
getDescendantCount, getEnd, getParent, getStart, hasFlowController, setEnd, setHasFlowController, setParent, setStart, writeOut
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface railo.transformer.bytecode.Statement
getEnd, getFlowControlFinal, getParent, getStart, hasFlowController, setEnd, setHasFlowController, setParent, setStart, writeOut
 

Constructor Detail

FlowControlBody

public FlowControlBody()
Method Detail

_writeOut

public void _writeOut(BytecodeContext bc)
               throws BytecodeException
Description copied from class: StatementBase
write out the stament to the adater

Overrides:
_writeOut in class BodyBase
Throws:
BytecodeException

getBreakLabel

public org.objectweb.asm.Label getBreakLabel()
Specified by:
getBreakLabel in interface FlowControlBreak

getContinueLabel

public org.objectweb.asm.Label getContinueLabel()
Specified by:
getContinueLabel in interface FlowControlContinue

getLabel

public String getLabel()
Specified by:
getLabel in interface FlowControl


Copyright © 2012 Railo