Example #1
0
        internal protected CodeContext GetCodeContext(ScriptModule module)
        {
            Contract.RequiresNotNull(module, "module");
            LanguageContext languageContext = GetLanguageContext(module);
            ModuleContext   moduleContext   = languageContext.EnsureModuleContext(module);

            return(new CodeContext(module.Scope, languageContext, moduleContext));
        }