Web Site

org.codehaus.janino
Class Java.BreakableStatement

java.lang.Object
  extended byorg.codehaus.janino.Java.Located
      extended byorg.codehaus.janino.Java.Statement
          extended byorg.codehaus.janino.Java.BreakableStatement
All Implemented Interfaces:
Java.BlockStatement, Java.Locatable, Java.Scope
Direct Known Subclasses:
Java.ContinuableStatement, Java.LabeledStatement, Java.SwitchStatement
Enclosing class:
Java

public abstract static class Java.BreakableStatement
extends Java.Statement

Base class for statements that can be terminated abnormally with a "break" statement.

According to the JLS, statements that can be terminated abnormally with a "break" statement are: "COntinuable" statements ("for", "do" and "while"), labeled statements, and the "switch" statement.


Field Summary
 
Fields inherited from class org.codehaus.janino.Java.Statement
enclosingScope
 
Constructor Summary
protected Java.BreakableStatement(Location location, Java.Scope enclosingScope)
           
 
Methods inherited from class org.codehaus.janino.Java.Statement
getEnclosingScope, getLocation, throwParseException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.janino.Java.BlockStatement
visit
 
Methods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwParseException
 

Constructor Detail

Java.BreakableStatement

protected Java.BreakableStatement(Location location,
                                  Java.Scope enclosingScope)

Web Site