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

Method referenceLocal

src/jvm/clojure/lang/Compiler.java:8130–8142  ·  view source on GitHub ↗
(Symbol sym)

Source from the content-addressed store, hash-verified

8128}
8129
8130static LocalBinding referenceLocal(Symbol sym) {
8131 if(!LOCAL_ENV.isBound())
8132 return null;
8133 LocalBinding b = (LocalBinding) RT.get(LOCAL_ENV.deref(), sym);
8134 if(b != null)
8135 {
8136 ObjMethod method = (ObjMethod) METHOD.deref();
8137 if(b.idx == 0)
8138 method.usesThis = true;
8139 closeOver(b, method);
8140 }
8141 return b;
8142}
8143
8144private static Symbol tagOf(Object o){
8145 Object tag = RT.get(RT.meta(o), RT.TAG_KEY);

Callers 3

isMacroMethod · 0.95
isInlineMethod · 0.95
analyzeSymbolMethod · 0.95

Calls 4

getMethod · 0.95
closeOverMethod · 0.95
derefMethod · 0.65
isBoundMethod · 0.45

Tested by

no test coverage detected