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

Method toString

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

Source from the content-addressed store, hash-verified

7466 }
7467
7468 public String toString(){
7469 Throwable cause = getCause();
7470 if(cause != null) {
7471 if (cause instanceof IExceptionInfo) {
7472 IPersistentMap data = (IPersistentMap)((IExceptionInfo)cause).getData();
7473 if(PHASE_MACRO_SYNTAX_CHECK.equals(data.valAt(ERR_PHASE)) && data.valAt(SPEC_PROBLEMS) != null) {
7474 return String.format("%s", getMessage());
7475 } else {
7476 return String.format("%s%n%s", getMessage(), cause.getMessage());
7477 }
7478 }
7479 }
7480 return getMessage();
7481 }
7482}
7483
7484static public Var isMacro(Object op) {

Callers 15

maybeEmitFIAdapterMethod · 0.45
StaticMethodExprMethod · 0.45
emitUnboxedMethod · 0.45
getTypeStringForArgsMethod · 0.45
CompilerClass · 0.45
mungeMethod · 0.45
demungeMethod · 0.45
InvokeExprMethod · 0.45

Calls 4

formatMethod · 0.80
getDataMethod · 0.65
valAtMethod · 0.65
equalsMethod · 0.45

Tested by

no test coverage detected