railo.transformer.bytecode.statement
Class For

java.lang.Object
  extended by railo.transformer.bytecode.statement.StatementBase
      extended by railo.transformer.bytecode.statement.StatementBaseNoFinal
          extended by railo.transformer.bytecode.statement.For
All Implemented Interfaces:
Statement, FlowControl, FlowControlBreak, FlowControlContinue, HasBody

public final class For
extends StatementBaseNoFinal
implements FlowControlBreak, FlowControlContinue, HasBody


Field Summary
 
Fields inherited from interface railo.transformer.bytecode.statement.FlowControl
BREAK, CONTINUE, RETRY
 
Constructor Summary
For(Expression init, Expression condition, Expression update, Body body, Position start, Position end, String label)
          Constructor of the class
 
Method Summary
 void _writeOut(BytecodeContext bc)
          write out the stament to the adater
 Body getBody()
           
 org.objectweb.asm.Label getBreakLabel()
           
 org.objectweb.asm.Label getContinueLabel()
           
 String getLabel()
           
 
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
 

Constructor Detail

For

public For(Expression init,
           Expression condition,
           Expression update,
           Body body,
           Position start,
           Position end,
           String label)
Constructor of the class

Parameters:
init -
condition -
update -
body -
line -
Method Detail

_writeOut

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

Specified by:
_writeOut in class StatementBase
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

getBody

public Body getBody()
Specified by:
getBody in interface HasBody

getLabel

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


Copyright © 2012 Railo