Пример #1
0
 internal OverLoadSet Clone(Scope thisScope)
 {
     var ret = new OverLoadSet(thisScope);
     ret.Symbols = Symbols;
     ret.IsHoldAlias = IsHoldAlias;
     return ret;
 }
Пример #2
0
 internal void AppendChildScope(Scope scope)
 {
     if (string.IsNullOrEmpty(scope.Name))
     {
         return;
     }
     if (!ChildSymbols.ContainsKey(scope.Name))
     {
         var ol = new OverLoadSet(this);
         ChildSymbols.Add(scope.Name, ol);
     }
     ChildSymbols[scope.Name].Append(scope);
 }