Example #1
0
 public bool IsGlobal(string name)
 {
     foreach (Scope scope in scopes)
     {
         if (scope.FindSymbol(name) && scope != globalScope)
         {
             return(false);
         }
     }
     return(globalScope.FindSymbol(name));
 }