intern() private method

private intern ( Symbol sym ) : Var
sym Symbol
return Var
Beispiel #1
0
        public static Var intern(Namespace ns, Symbol sym, object root, bool replaceRoot)
        {
            Var dvout = ns.intern(sym);

            if (!dvout.hasRoot() || replaceRoot)
            {
                dvout.bindRoot(root);
            }
            return(dvout);
        }
Beispiel #2
0
 public static Var intern(Namespace ns, Symbol sym)
 {
     return ns.intern(sym);
 }
Beispiel #3
0
 public static Var intern(Namespace ns, Symbol sym, object root, bool replaceRoot)
 {
     Var dvout = ns.intern(sym);
     if (!dvout.hasRoot() || replaceRoot)
         dvout.bindRoot(root);
     return dvout;
 }
Beispiel #4
0
 public static Var intern(Namespace ns, Symbol sym)
 {
     return(ns.intern(sym));
 }