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.LoopStatementExecutor
          extended by org.eclipse.mofscript.runtime.statement.WhileStatementExecutor
All Implemented Interfaces:
MofScriptExecuter, BreakStatementListener

public class WhileStatementExecutor
extends LoopStatementExecutor

Class for execution of while statements

Author:
gko

Field Summary
 
Fields inherited from class org.eclipse.mofscript.runtime.statement.StatementExecutor
_breakContext, _env, _ownerRule, _statement
 
Constructor Summary
WhileStatementExecutor(MOFScriptStatement statement, ExecutionEnvironment env, RuleExecutor ownerRule)
           
 
Method Summary
 java.lang.Object executeStatement(java.lang.Object rule_create)
          Overrides superclass executeStatement
 
Methods inherited from class org.eclipse.mofscript.runtime.statement.LoopStatementExecutor
breakExecuted, executeLoopBlock, handleReturn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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