(source-logging-push-back-reader s-or-rdr)
(source-logging-push-back-reader s-or-rdr buf-len)
(source-logging-push-back-reader s-or-rdr buf-len file-name)
Creates a SourceLoggingPushbackReader from a given string or PushbackReader
Source
(defn
source-logging-push-back-reader
"Creates a SourceLoggingPushbackReader from a given string or PushbackReader"
([s-or-rdr] (source-logging-push-back-reader s-or-rdr 1))
([s-or-rdr buf-len]
(source-logging-push-back-reader s-or-rdr buf-len nil))
([s-or-rdr buf-len file-name]
(SourceLoggingPushbackReader.
(if
(string? s-or-rdr)
(string-push-back-reader s-or-rdr buf-len)
s-or-rdr)
1
1
true
nil
0
file-name
(atom {:buffer (StringBuffer.), :offset '(0)}))))