java.lang.Object
technology.sola.script.interpreter.Interpreter
Interpreter handles interpreting a list of
Stmt for a given ScriptRuntime state.-
Constructor Summary
ConstructorsConstructorDescriptionInterpreter(ScriptRuntime scriptRuntime) Creates an instance for desiredScriptRuntime. -
Method Summary
Modifier and TypeMethodDescriptionInterprets a list ofStmts utilizing the attachedScriptRuntime.
-
Constructor Details
-
Interpreter
Creates an instance for desiredScriptRuntime.- Parameters:
scriptRuntime- the runtime
-
-
Method Details
-
interpret
Interprets a list ofStmts utilizing the attachedScriptRuntime.- Parameters:
statements- the list of statements- Returns:
- any
ScriptErrors that happened during execution
-