|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.concord.util.script.ScriptObject
|
+--org.concord.util.script.Statement
|
+--org.concord.util.script.FinishStatement
The FinishStatement class implements the node that supports the semantics of the "finish" statement. The finish statement, when used inside a loop statement, causes the loop to terminate of the block. The finish statement works just like a "break" statement in the C language. A label version of finish would terminate the enclosing loop statement with the same label (label semantics not yet implemented). The finish works in this semantic engine by merely setting a flag in the current stack frame. It is up to the enclosing semantic nodes to determine if they should implement finish semantics at their level of scope.
| Fields inherited from class org.concord.util.script.Statement |
empty |
| Fields inherited from class org.concord.util.script.ScriptObject |
beginColumn, beginLine, debug, deleted, doConversion, endColumn, endLine, name, nil, runtimeTable, script |
| Fields inherited from interface java.beans.BeanInfo |
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
| Constructor Summary | |
FinishStatement()
|
|
| Method Summary | |
void |
interpret()
This does nothing. |
| Methods inherited from class org.concord.util.script.Statement |
getLocals |
| Methods inherited from class org.concord.util.script.ScriptObject |
delete, findConstructor, findMethod, getAdditionalBeanInfo, getArrayValue, getAtom, getBeanDescriptor, getCurrentFrame, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getField, getFieldValue, getIcon, getMethodDescriptors, getName, getPropertyDescriptors, getScript, popFrame, pushFrame, setArrayValue, setCurrentFrame, setFieldValue, setName, setScript, setSourceBounds |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FinishStatement()
| Method Detail |
public void interpret()
ScriptObjectinterpret in class Statement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||