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

Method getThreadBindings

src/jvm/clojure/lang/Var.java:346–357  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

344}
345
346public static Associative getThreadBindings(){
347 Frame f = dvals.get();
348 IPersistentMap ret = PersistentHashMap.EMPTY;
349 for(ISeq bs = f.bindings.seq(); bs != null; bs = bs.next())
350 {
351 IMapEntry e = (IMapEntry) bs.first();
352 Var v = (Var) e.key();
353 TBox b = (TBox) e.val();
354 ret = ret.assoc(v, b.val);
355 }
356 return ret;
357}
358
359public final TBox getThreadBinding(){
360 if(threadBound.get())

Callers

nothing calls this directly

Calls 7

nextMethod · 0.95
firstMethod · 0.95
keyMethod · 0.95
valMethod · 0.95
assocMethod · 0.95
getMethod · 0.65
seqMethod · 0.65

Tested by

no test coverage detected