internal static object defined_in_current_scope(string id) { if (infos.InCurrentScope(Symbol.CreateSymbol(id))) { return(Get(id)); } return(null); }
internal bool InCurrentScope(string ns, Symbol id) { IdentificationTable symbols = (IdentificationTable)namespaces [ns]; if (symbols == null) { throw new Exception(ns + " does not exist"); } return(symbols.InCurrentScope(id)); }