net.janino
Class Java.BreakStatement

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

public static class Java.BreakStatement
extends Java.Statement

Representation of the JavaTM "break" statement (JLS 14.14).


Fields inherited from class net.janino.Java.Statement
enclosingScope
 
Constructor Summary
Java.BreakStatement(Scanner.Location location, Java.Scope enclosingScope, java.lang.String optionalLabel)
           
 
Method Summary
 boolean compile()
           
 
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.BreakStatement

public Java.BreakStatement(Scanner.Location location,
                           Java.Scope enclosingScope,
                           java.lang.String optionalLabel)
Method Detail

compile

public boolean compile()
                throws Java.CompileException
Overrides:
compile in class Java.Statement
Following copied from class: net.janino.Java.BlockStatement
Returns:
false if this statement cannot complete normally (14.20)