Examples of MessageLogger


Examples of org.openquark.cal.compiler.MessageLogger

    
        StopWatch stopWatch = new StopWatch();
       
        stopWatch.start();
       
        calServices = BasicCALServices.makeCompiled(WORKSPACE_FILE_NAME, new MessageLogger());
       
        CompilerMessageLogger messageLogger = new MessageLogger();       
        Compiler compiler = calServices.getCompiler();  
       
        ModuleName moduleName= ModuleName.make("Cal.Benchmarks.Shootout.MessageThreadBody");
       
        threadBody = compiler.getEntryPoint(
            EntryPointSpec.make(QualifiedName.make("Cal.Benchmarks.Shootout.MessageThreadBody", "threadBody")),
            moduleName, messageLogger);
        if (messageLogger.getNMessages() > 0) {
            System.err.println(messageLogger.toString());
        }

        stopWatch.stop();
        System.err.println("startup took: " + stopWatch);
       
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.