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

Method parse

src/jvm/clojure/lang/Compiler.java:2971–2979  ·  view source on GitHub ↗
(C context, Object form)

Source from the content-addressed store, hash-verified

2969
2970 static class Parser implements IParser{
2971 public Expr parse(C context, Object form) {
2972 if(context == C.EVAL)
2973 return analyze(context, RT.list(RT.list(FNONCE, PersistentVector.EMPTY, form)));
2974 else if(RT.count(form) == 1)
2975 throw Util.runtimeException("Too few arguments to throw, throw expects a single Throwable instance");
2976 else if(RT.count(form) > 2)
2977 throw Util.runtimeException("Too many arguments to throw, throw expects a single Throwable instance");
2978 return new ThrowExpr(analyze(C.EXPRESSION, RT.second(form)));
2979 }
2980 }
2981}
2982

Callers

nothing calls this directly

Calls 5

listMethod · 0.95
countMethod · 0.95
runtimeExceptionMethod · 0.95
secondMethod · 0.95
analyzeMethod · 0.80

Tested by

no test coverage detected