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 Java.Statement
localVariablesFields inherited from class Java.Located
NOWHERE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Java.Statement
findLocalVariable, getEnclosingScope, setEnclosingScopeMethods inherited from class Java.Located
getLocation, throwCompileExceptionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Java.BlockStatement
acceptMethods inherited from interface 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
-