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

Method isPreserveReadCond

src/jvm/clojure/lang/LispReader.java:1507–1515  ·  view source on GitHub ↗
(Object opts)

Source from the content-addressed store, hash-verified

1505}
1506
1507static boolean isPreserveReadCond(Object opts) {
1508 if(RT.booleanCast(READ_COND_ENV.deref()) && opts instanceof IPersistentMap)
1509 {
1510 Object readCond = ((IPersistentMap) opts).valAt(OPT_READ_COND);
1511 return COND_PRESERVE.equals(readCond);
1512 }
1513 else
1514 return false;
1515}
1516
1517public static class ConditionalReader extends AFn {
1518

Callers 2

invokeMethod · 0.80
invokeMethod · 0.80

Calls 4

booleanCastMethod · 0.95
derefMethod · 0.65
valAtMethod · 0.65
equalsMethod · 0.45

Tested by

no test coverage detected