net.janino
Class Java.DoStatement

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.DoStatement
All Implemented Interfaces:
Java.Locatable, Java.Scope
Enclosing class:
Java

public static class Java.DoStatement
extends Java.ContinuableStatement


Fields inherited from class net.janino.Java.ContinuableStatement
bodyHasContinue, whereToContinue
 
Fields inherited from class net.janino.Java.Statement
enclosingScope
 
Constructor Summary
Java.DoStatement(Scanner.Location location, Java.Scope enclosingScope)
           
 
Method Summary
 boolean compile2()
           
 void setBody(Java.BlockStatement body)
           
 void setCondition(Java.Rvalue condition)
           
 
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
 

Constructor Detail

Java.DoStatement

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

setBody

public void setBody(Java.BlockStatement body)

setCondition

public void setCondition(Java.Rvalue condition)

compile2

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