readScriptSource

fun readScriptSource(identifier: Identifier, path: Path): SourceCode(source)

Read the contents of a script from a Path and return its SourceCode.

Return

SourceCode representation of the script file's contents

Parameters

identifier

the script's name

path

path to the script's source code file