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

Method munge

src/jvm/clojure/lang/Compiler.java:3435–3446  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

3433}
3434
3435static public String munge(String name){
3436 StringBuilder sb = new StringBuilder();
3437 for(char c : name.toCharArray())
3438 {
3439 String sub = (String) CHAR_MAP.valAt(c);
3440 if(sub != null)
3441 sb.append(sub);
3442 else
3443 sb.append(c);
3444 }
3445 return sb.toString();
3446}
3447
3448static public String demunge(String mungedName){
3449 StringBuilder sb = new StringBuilder();

Callers 9

macroexpand1Method · 0.95
parseMethod · 0.80
InvokeExprMethod · 0.80
toHostExprMethod · 0.80
parseMethod · 0.80
emitValueMethod · 0.80
LocalBindingMethod · 0.80
parseMethod · 0.80
parseMethod · 0.80

Calls 3

appendMethod · 0.80
valAtMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected