コード例 #1
0
 internal ModuleGlobalWrapper(CodeContext context, ModuleGlobalCache global, SymbolId name)
 {
     _value   = Uninitialized.Instance;
     _context = context;
     _global  = global;
     _name    = name;
 }
コード例 #2
0
        public static void InitializeModuleFieldBoxed(CodeContext context, object name, ref ModuleGlobalWrapper wrapper)
        {
            var s = (SymbolId)name;
            ModuleGlobalCache mgc = context.LanguageContext.GetModuleCache(s);

            wrapper = new ModuleGlobalWrapper(context, mgc, s);
        }
コード例 #3
0
        public static void InitializeModuleField(CodeContext context, SymbolId name, ref ModuleGlobalWrapper wrapper)
        {
            ModuleGlobalCache mgc = context.LanguageContext.GetModuleCache(name);

            wrapper = new ModuleGlobalWrapper(context, mgc, name);
        }
コード例 #4
0
 internal ModuleGlobalWrapper(CodeContext context, ModuleGlobalCache global, SymbolId name) {
     _value = Uninitialized.Instance;
     _context = context; 
     _global = global;
     _name = name;
 }