Package org.codehaus.janino
Class Java.BreakableStatement
java.lang.Object
org.codehaus.janino.Java.Located
org.codehaus.janino.Java.Statement
org.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
Base class for statements that can be terminated abnormally with a
break statement.
According JLS7 14.15, statements that can be terminated abnormally with a break statement are:s
Java.ContinuableStatements (for,doandwhile)- Labeled statements
switchstatements
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) CodeContext.OffsetThis one's filled in by the first BREAK statement, and isCodeContext.Offset.set()by this breakable statement.Fields inherited from class org.codehaus.janino.Java.Statement
localVariablesFields inherited from class org.codehaus.janino.Java.Located
NOWHERE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.janino.Java.Statement
findLocalVariable, getEnclosingScope, setEnclosingScopeMethods inherited from class org.codehaus.janino.Java.Located
getLocation, throwCompileExceptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.codehaus.janino.Java.BlockStatement
acceptMethods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwCompileException
-
Field Details
-
whereToBreak
This one's filled in by the first BREAK statement, and isCodeContext.Offset.set()by this breakable statement.
-
-
Constructor Details
-
BreakableStatement
-