org.eclipse.mofscript.runtime.statement
Class WhileStatementExecutor

java.lang.Object
  extended by org.eclipse.mofscript.runtime.statement.StatementExecutor
      extended by org.eclipse.mofscript.runtime.statement.WhileStatementExecutor
All Implemented Interfaces:
MofScriptExecuter, BreakStatementListener

public class WhileStatementExecutor
extends StatementExecutor
implements BreakStatementListener

Class for execution of while statements

Author:
gko

Constructor Summary
WhileStatementExecutor(MOFScriptStatement statement, ExecutionEnvironment env, RuleExecutor ownerRule)
           
 
Method Summary
 void breakExecuted(MOFScriptStatementOwner ownedContext)
          BreakSTatementListener event operations
 java.lang.Object executeStatement(java.lang.Object rule_create)
          Overrides superclass executeStatement
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhileStatementExecutor

public WhileStatementExecutor(MOFScriptStatement statement,
                              ExecutionEnvironment env,
                              RuleExecutor ownerRule)
Method Detail

executeStatement

public java.lang.Object executeStatement(java.lang.Object rule_create)
                                  throws MofScriptExecutionException
Overrides superclass executeStatement

Overrides:
executeStatement in class StatementExecutor
Parameters:
rule_create -
Throws:
MofScriptExecutionException

breakExecuted

public void breakExecuted(MOFScriptStatementOwner ownedContext)
BreakSTatementListener event operations

Specified by:
breakExecuted in interface BreakStatementListener
Parameters:
ownedContext -