org.sintef.mofscript.runtime.statement
Class StatementExecutor
java.lang.Object
org.sintef.mofscript.runtime.statement.StatementExecutor
- All Implemented Interfaces:
- MofScriptExecuter
- Direct Known Subclasses:
- BreakStatementExecutor, CreateStatementExecutor, FileStatementExecutor, FunctionCallStatementExecutor, GeneralAssignmentExecutor, IfStatementExecutor, IteratorStatementExecutor, PrintStatementExecutor, ResultAssignmentExecutor, WhileStatementExecutor
public class StatementExecutor
- extends java.lang.Object
- implements MofScriptExecuter
The statement executor executes MofScript statements
- Author:
- jol
Method Summary |
java.lang.Object |
executeStatement(java.lang.Object rule_create)
executeStatement - executes the current statement; Overridden by sub classes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_statement
protected MOFScriptStatement _statement
_env
protected ExecutionEnvironment _env
_ownerRule
protected RuleExecutor _ownerRule
_breakContext
protected static BreakStatementListener _breakContext
StatementExecutor
public StatementExecutor(MOFScriptStatement statement,
ExecutionEnvironment env,
RuleExecutor ownerRule)
- Constructor
- Parameters:
statement
- env
- ownerRule
-
executeStatement
public java.lang.Object executeStatement(java.lang.Object rule_create)
throws MofScriptExecutionException
- executeStatement - executes the current statement; Overridden by sub classes
- Parameters:
rule_create
-
- Throws:
MofScriptExecutionException