net.janino
Class Java.LabeledStatement

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

public static class Java.LabeledStatement
extends Java.BreakableStatement


Fields inherited from class net.janino.Java.Statement
enclosingScope
 
Constructor Summary
protected Java.LabeledStatement(Scanner.Location location, Java.Scope enclosingScope, java.lang.String label)
           
 
Method Summary
 boolean compile2(ClassFile.CodeAttribute codeAttribute)
           
 void setBody(Java.Statement body)
           
 
Methods inherited from class net.janino.Java.BreakableStatement
compile, getWhereToBreak
 
Methods inherited from class net.janino.Java.Statement
getEnclosingScope, getLocation, leave, throwCompileException, throwParseException
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Java.LabeledStatement

protected Java.LabeledStatement(Scanner.Location location,
                                Java.Scope enclosingScope,
                                java.lang.String label)
Method Detail

setBody

public void setBody(Java.Statement body)

compile2

public final boolean compile2(ClassFile.CodeAttribute codeAttribute)
                       throws Java.CompileException
Overrides:
compile2 in class Java.BreakableStatement