Exemple #1
0
 public bool Has(string variable)
 {
     if (currentScope.ContainsKey(variable))
     {
         return(true);
     }
     if (_parent != null && _parent.Has(variable))
     {
         return(true);
     }
     return(false);
 }