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

Method getAndIncLocalNum

src/jvm/clojure/lang/Compiler.java:7324–7331  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7322}
7323
7324private static int getAndIncLocalNum(){
7325 int num = ((Number) NEXT_LOCAL_NUM.deref()).intValue();
7326 ObjMethod m = (ObjMethod) METHOD.deref();
7327 if(num > m.maxLocal)
7328 m.maxLocal = num;
7329 NEXT_LOCAL_NUM.set(num + 1);
7330 return num;
7331}
7332
7333public static Expr analyze(C context, Object form) {
7334 return analyze(context, form, null);

Callers 4

registerLocalMethod · 0.95
parseMethod · 0.80
parseMethod · 0.80
parseMethod · 0.80

Calls 3

derefMethod · 0.65
intValueMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected