Package scala.tools.nsc.interpreter

Examples of scala.tools.nsc.interpreter.ILoop


        // Without this class loader setting, the REPL and the target process will
        // see different instances of a static variable of the same class!
        // http://stackoverflow.com/questions/5950025/multiple-instances-of-static-variables
        settings.explicitParentLoader_$eq(Option.apply(cl));

        ILoop repl = new ILoop(
            new BufferedReader(new InputStreamReader(in)),
            new PrintWriter(out)
        );

        // This call does not return until the stream (connection) is closed
        repl.process(settings);
    }
View Full Code Here

TOP

Related Classes of scala.tools.nsc.interpreter.ILoop

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.