Beispiel #1
0
        internal void Enter(string ns, Symbol key, object value)
        {
            IdentificationTable symbols = (IdentificationTable)namespaces [ns];

            if (symbols == null)
            {
                throw new Exception(ns + " does not exist");
            }

            symbols.Enter(key, value);
        }
Beispiel #2
0
 internal static void AddLabel(string name, AST binding)
 {
     label_set.Enter(Symbol.CreateSymbol(name), binding);
 }
Beispiel #3
0
 internal static void AddLocalScriptFunction(string name, object o)
 {
     local_script_functions.Enter(Symbol.CreateSymbol(name), o);
 }
Beispiel #4
0
 internal static void Add(string name, object o)
 {
     infos.Enter(Symbol.CreateSymbol(name), o);
 }