org.eclipse.mofscript.runtime.statement
Class LoopStatementExecutor
java.lang.Object
org.eclipse.mofscript.runtime.statement.StatementExecutor
org.eclipse.mofscript.runtime.statement.LoopStatementExecutor
- All Implemented Interfaces:
- MofScriptExecuter, BreakStatementListener
- Direct Known Subclasses:
- IteratorStatementExecutor, WhileStatementExecutor
public abstract class LoopStatementExecutor
- extends StatementExecutor
- implements BreakStatementListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_breakLoop
protected boolean _breakLoop
LoopStatementExecutor
public LoopStatementExecutor(MOFScriptStatement statement,
ExecutionEnvironment env,
RuleExecutor ownerRule)
executeLoopBlock
protected void executeLoopBlock(java.util.List<StatementBlock> blocks,
java.util.List<MOFScriptStatement> statements,
ExecutionEnvironment env,
java.lang.Object rule_create)
throws MofScriptExecutionException
- Throws:
MofScriptExecutionException
handleReturn
protected void handleReturn()
breakExecuted
public void breakExecuted(MOFScriptStatementOwner ownedContext)
- BreakStatementListener event operations
- Specified by:
breakExecuted
in interface BreakStatementListener
- Parameters:
ownedContext
-