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 ofStmt
s utilizing the attachedScriptRuntime
.
-
Constructor Details
-
Interpreter
Creates an instance for desiredScriptRuntime
.- Parameters:
scriptRuntime
- the runtime
-
-
Method Details
-
interpret
Interprets a list ofStmt
s utilizing the attachedScriptRuntime
.- Parameters:
statements
- the list of statements- Returns:
- any
ScriptError
s that happened during execution
-