MCPcopy Index your code
hub / github.com/clojure/clojure / find

Method find

src/jvm/clojure/lang/Var.java:143–150  ·  view source on GitHub ↗
(Symbol nsQualifiedSym)

Source from the content-addressed store, hash-verified

141}
142
143public static Var find(Symbol nsQualifiedSym){
144 if(nsQualifiedSym.ns == null)
145 throw new IllegalArgumentException("Symbol must be namespace-qualified");
146 Namespace ns = Namespace.find(Symbol.intern(nsQualifiedSym.ns));
147 if(ns == null)
148 throw new IllegalArgumentException("No such namespace: " + nsQualifiedSym.ns);
149 return ns.findInternedVar(Symbol.intern(nsQualifiedSym.name));
150}
151
152public static Var intern(Symbol nsName, Symbol sym){
153 Namespace ns = Namespace.findOrCreate(nsName);

Callers 1

ensureMacroCheckMethod · 0.95

Calls 3

findMethod · 0.95
internMethod · 0.95
findInternedVarMethod · 0.95

Tested by

no test coverage detected