railo.transformer.bytecode.statement
Class For

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

public final class For
extends StatementBase
implements FlowControl, HasBody


Constructor Summary
For(Expression init, Expression condition, Expression update, Body body, int startline, int endline)
          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()
           
 
Methods inherited from class railo.transformer.bytecode.statement.StatementBase
getDescendantCount, getEndLine, getLine, getParent, getStartLine, hasFlowController, setEndLine, setHasFlowController, setLine, setParent, setStartLine, 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,
           int startline,
           int endline)
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
See Also:
railo.transformer.bytecode.statement.StatementBase#_writeOut(org.objectweb.asm.commons.GeneratorAdapter)

getBreakLabel

public org.objectweb.asm.Label getBreakLabel()
Specified by:
getBreakLabel in interface FlowControl
See Also:
FlowControl.getBreakLabel()

getContinueLabel

public org.objectweb.asm.Label getContinueLabel()
Specified by:
getContinueLabel in interface FlowControl
See Also:
FlowControl.getContinueLabel()

getBody

public Body getBody()
Specified by:
getBody in interface HasBody
See Also:
HasBody.getBody()


Copyright © 2012 Railo