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

Method bindRoot

src/jvm/clojure/lang/Var.java:278–285  ·  view source on GitHub ↗
(Object root)

Source from the content-addressed store, hash-verified

276
277//binding root always clears macro flag
278synchronized public void bindRoot(Object root){
279 validate(getValidator(), root);
280 Object oldroot = this.root;
281 this.root = root;
282 ++rev;
283 alterMeta(dissoc, RT.list(macroKey));
284 notifyWatches(oldroot,this.root);
285}
286
287synchronized void swapRoot(Object root){
288 validate(getValidator(), root);

Callers 4

internMethod · 0.95
doResetMethod · 0.95
evalMethod · 0.80
processCommandLineMethod · 0.80

Calls 5

listMethod · 0.95
validateMethod · 0.80
notifyWatchesMethod · 0.80
getValidatorMethod · 0.65
alterMetaMethod · 0.65

Tested by

no test coverage detected