Package Rakudo.Runtime

Examples of Rakudo.Runtime.ThreadContext


        CodeObjectUtility.LLCodeTypeObject = (RakudoCodeRef.Instance)settingContext.LexPad.GetByName("NQPCode");

        // Create an execution domain and a thread context for it.
        ExecutionDomain executionDomain  = new ExecutionDomain();
        executionDomain.Setting          = settingContext;
        ThreadContext threadContext      = new ThreadContext();
        threadContext.Domain             = executionDomain;
        threadContext.CurrentContext     = settingContext;
        threadContext.DefaultBoolBoxType = settingContext.LexPad.GetByName("NQPInt");
        threadContext.DefaultIntBoxType  = settingContext.LexPad.GetByName("NQPInt");
        threadContext.DefaultNumBoxType  = settingContext.LexPad.GetByName("NQPNum");
View Full Code Here

TOP

Related Classes of Rakudo.Runtime.ThreadContext

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.