Пример #1
0
 public ResolutionContext(ParseCacheView parseCache, ConditionalCompilationFlags gFlags)
 {
     this.CompilationEnvironment = gFlags;
     this.ParseCache             = parseCache;
     //Cache = new ResolutionCache<AbstractType[]>(this);
     //ValueCache = new ResolutionCache<ISymbolValue>(this);
     MixinCache = new ResolutionCache <Tuple <string, VariableValue> >(this);
 }
Пример #2
0
        public ResolutionContext(ParseCacheView parseCache, ConditionalCompilationFlags gFlags, IBlockNode bn, CodeLocation caret)
        {
            this.CompilationEnvironment = gFlags;
            this.ParseCache             = parseCache;
            //Cache = new ResolutionCache<AbstractType[]>(this);
            //ValueCache = new ResolutionCache<ISymbolValue>(this);
            MixinCache = new ResolutionCache <Tuple <string, VariableValue> >(this);

            new ContextFrame(this, bn, caret);
        }