}
Node node = null;
if (input instanceof String) {
node = runtime.parseEval((String)input, filename, scope, line);
} else {
node = runtime.parseFile((InputStream)input, filename, scope, line);
}
CompileMode compileMode = runtime.getInstanceConfig().getCompileMode();
if (compileMode == CompileMode.FORCE) {
// we pass in an ASTInspector that will force heap variables, so
// it uses our shared scope