(Object reader, Object comma, Object opts, Object pendingForms)
| 1170 | |
| 1171 | static 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 |
nothing calls this directly
no test coverage detected