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

Method invoke

src/jvm/clojure/lang/LispReader.java:1172–1189  ·  view source on GitHub ↗
(Object reader, Object comma, Object opts, Object pendingForms)

Source from the content-addressed store, hash-verified

1170
1171static class UnquoteReader extends AFn{
1172 public Object invoke(Object reader, Object comma, Object opts, Object pendingForms) {
1173 PushbackReader r = (PushbackReader) reader;
1174 int ch = read1(r);
1175 if(ch == -1)
1176 throw Util.runtimeException("EOF while reading character");
1177 pendingForms = ensurePending(pendingForms);
1178 if(ch == '@')
1179 {
1180 Object o = read(r, true, null, true, opts, pendingForms);
1181 return RT.list(UNQUOTE_SPLICING, o);
1182 }
1183 else
1184 {
1185 unread(r, ch);
1186 Object o = read(r, true, null, true, opts, pendingForms);
1187 return RT.list(UNQUOTE, o);
1188 }
1189 }
1190
1191}
1192

Callers

nothing calls this directly

Calls 6

runtimeExceptionMethod · 0.95
listMethod · 0.95
ensurePendingMethod · 0.80
read1Method · 0.45
readMethod · 0.45
unreadMethod · 0.45

Tested by

no test coverage detected