private final JSProgram script;
private final Debugger debugger;
public DynJSProgram(DynJSRuntime runtime, Debugger debugger, String source, String fileName) throws Throwable {
Compiler compiler = runtime.newCompiler();
compiler.withSource(source);
compiler.withFileName(fileName);
this.script = compiler.compile();
this.debugger = debugger;
}