LookupLocal() public method

Look up a name in the current symbol table only. Don't recurse on the parent table.
public LookupLocal ( string name ) : ISet
name string
return ISet
Beispiel #1
0
 /// <summary>
 /// If {@code name} is declared as a global, return the module binding.
 /// </summary>
 private ISet <Binding> getModuleBindingIfGlobal(string name)
 {
     if (IsGlobalName(name))
     {
         State module = GetGlobalTable();
         if (module != this)
         {
             return(module.LookupLocal(name));
         }
     }
     return(null);
 }