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

Method tagOf

src/jvm/clojure/lang/Compiler.java:8144–8151  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

8142}
8143
8144private static Symbol tagOf(Object o){
8145 Object tag = RT.get(RT.meta(o), RT.TAG_KEY);
8146 if(tag instanceof Symbol)
8147 return (Symbol) tag;
8148 else if(tag instanceof String)
8149 return Symbol.intern(null, (String) tag);
8150 return null;
8151}
8152
8153public static Object loadFile(String file) throws IOException{
8154// File fo = new File(file);

Callers 15

preserveTagMethod · 0.95
analyzeSymbolMethod · 0.95
parseMethod · 0.80
QualifiedMethodExprMethod · 0.80
sigTagMethod · 0.80
parseMethod · 0.80
parseMethod · 0.80
emitValueMethod · 0.80
primInterfaceMethod · 0.80
parseMethod · 0.80
parseMethod · 0.80
parseMethod · 0.80

Calls 3

getMethod · 0.95
metaMethod · 0.95
internMethod · 0.95

Tested by

no test coverage detected