net.janino
Class Java.ForStatement

java.lang.Object
  |
  +--net.janino.Java.Located
        |
        +--net.janino.Java.BlockStatement
              |
              +--net.janino.Java.Statement
                    |
                    +--net.janino.Java.BreakableStatement
                          |
                          +--net.janino.Java.ContinuableStatement
                                |
                                +--net.janino.Java.ForStatement
All Implemented Interfaces:
Java.Locatable, Java.Scope
Enclosing class:
Java

public static class Java.ForStatement
extends Java.ContinuableStatement


Field Summary
 Java.Block implicitBlock
           
 
Fields inherited from class net.janino.Java.ContinuableStatement
bodyHasContinue, whereToContinue
 
Fields inherited from class net.janino.Java.Statement
enclosingScope
 
Constructor Summary
Java.ForStatement(Scanner.Location location, Java.Scope enclosingScope)
           
 
Method Summary
 boolean compile2()
           
 void set(Java.BlockStatement init, Java.Rvalue condition, Java.BlockStatement update, Java.BlockStatement body)
           
 
Methods inherited from class net.janino.Java.BreakableStatement
compile, getWhereToBreak
 
Methods inherited from class net.janino.Java.Statement
generatesCode, getEnclosingScope, leave
 
Methods inherited from class net.janino.Java.BlockStatement
addConstantFloatInfo, addConstantIntegerInfo, addConstantStringInfo, allocateLocalVariable, compileError, createDummyCodeAttribute, getLocation, newInserter, newOffset, newUnsetOffset, popInserter, pushInserter, restoreLocalVariables, saveLocalVariables, throwParseException, write, writeBranch, writeByte, writeConstantClassInfo, writeConstantDoubleInfo, writeConstantFieldrefInfo, writeConstantFloatInfo, writeConstantIntegerInfo, writeConstantInterfaceMethodrefInfo, writeConstantLongInfo, writeConstantMethodrefInfo, writeConstantStringInfo, writeInt, writeOffset, writeOpcode, writeShort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

implicitBlock

public final Java.Block implicitBlock
Constructor Detail

Java.ForStatement

public Java.ForStatement(Scanner.Location location,
                         Java.Scope enclosingScope)
Method Detail

set

public void set(Java.BlockStatement init,
                Java.Rvalue condition,
                Java.BlockStatement update,
                Java.BlockStatement body)

compile2

public boolean compile2()
                 throws Java.CompileException
Overrides:
compile2 in class Java.BreakableStatement