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

Method registerProtocolCallsite

src/jvm/clojure/lang/Compiler.java:7816–7822  ·  view source on GitHub ↗
(Var v)

Source from the content-addressed store, hash-verified

7814}
7815
7816private static int registerProtocolCallsite(Var v){
7817 IPersistentVector protocolCallsites = (IPersistentVector) PROTOCOL_CALLSITES.deref();
7818
7819 protocolCallsites = protocolCallsites.cons(v);
7820 PROTOCOL_CALLSITES.set(protocolCallsites);
7821 return protocolCallsites.count()-1;
7822}
7823
7824//private static void registerVarCallsite(Var v){
7825// if(!VAR_CALLSITES.isBound())

Callers 1

InvokeExprMethod · 0.80

Calls 4

consMethod · 0.95
derefMethod · 0.65
countMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected