evalScript

fun evalScript(identifier: Identifier, script: CompiledScript, logger: Logger): ResultWithDiagnostics<EvaluationResult>(source)

Evaluate a compiled script by loading its classes and return the evaluation result.

Return

the script evaluation result

Parameters

identifier

the unique identified of the script

script

the compiled script to evaluate

logger

logger object to supply to the script instance