Liking cljdoc? Tell your friends :D

eastwood.copieddeps.dep10.clojure.tools.reader.reader-types

Protocols and default Reader types implementation

Protocols and default Reader types implementation
raw docstring

indexing-push-back-readerclj

(indexing-push-back-reader s-or-rdr)
(indexing-push-back-reader s-or-rdr buf-len)
(indexing-push-back-reader s-or-rdr buf-len file-name)

Creates an IndexingPushbackReader from a given string or PushbackReader

Creates an IndexingPushbackReader from a given string or PushbackReader
raw docstring

indexing-reader?clj

(indexing-reader? rdr)

Returns true if the reader satisfies IndexingReader

Returns true if the reader satisfies IndexingReader
raw docstring

IndexingReadercljprotocol

get-column-numberclj

(get-column-number reader)

Returns the column number of the next character to be read from the stream

Returns the column number of the next character to be read from the stream

get-file-nameclj

(get-file-name reader)

Returns the file name the reader is reading from, or nil

Returns the file name the reader is reading from, or nil

get-line-numberclj

(get-line-number reader)

Returns the line number of the next character to be read from the stream

Returns the line number of the next character to be read from the stream

input-stream-push-back-readerclj

(input-stream-push-back-reader is)
(input-stream-push-back-reader is buf-len)

Creates a PushbackReader from a given InputStream

Creates a PushbackReader from a given InputStream
raw docstring

input-stream-readerclj

(input-stream-reader is)

Creates an InputStreamReader from an InputStream

Creates an InputStreamReader from an InputStream
raw docstring

IPushbackReadercljprotocol

unreadclj

(unread reader ch)

Pushes back a single character on to the stream

Pushes back a single character on to the stream

line-start?clj

(line-start? rdr)

Returns true if rdr is an IndexingReader and the current char starts a new line

Returns true if rdr is an IndexingReader and the current char starts a new line
raw docstring

log-sourcecljmacro

(log-source reader & body)

If reader is a SourceLoggingPushbackReader, execute body in a source logging context. Otherwise, execute body, returning the result.

If reader is a SourceLoggingPushbackReader, execute body in a source
logging context. Otherwise, execute body, returning the result.
raw docstring

log-source*clj

(log-source* reader f)

merge-metaclj

(merge-meta obj m)

Returns an object of the same type and value as obj, with its metadata merged over m.

Returns an object of the same type and value as `obj`, with its
metadata merged over `m`.
raw docstring

push-back-readerclj

(push-back-reader rdr)
(push-back-reader rdr buf-len)

Creates a PushbackReader from a given reader or string

Creates a PushbackReader from a given reader or string
raw docstring

PushbackReaderCoercercljprotocol

to-pbrclj

(to-pbr rdr buf-len)

read-lineclj

(read-line)
(read-line rdr)

Reads a line from the reader or from in if no reader is specified

Reads a line from the reader or from *in* if no reader is specified
raw docstring

Readercljprotocol

peek-charclj

(peek-char reader)

Returns the next char from the Reader without removing it from the reader stream

Returns the next char from the Reader without removing it from the reader stream

read-charclj

(read-char reader)

Returns the next char from the Reader, nil if the end of stream has been reached

Returns the next char from the Reader, nil if the end of stream has been reached

ReaderCoercercljprotocol

to-rdrclj

(to-rdr rdr)

source-logging-push-back-readerclj

(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

Creates a SourceLoggingPushbackReader from a given string or PushbackReader
raw docstring

source-logging-reader?clj

(source-logging-reader? rdr)

string-push-back-readerclj

(string-push-back-reader s)
(string-push-back-reader s buf-len)

Creates a PushbackReader from a given string

Creates a PushbackReader from a given string
raw docstring

string-readerclj

(string-reader s)

Creates a StringReader from a given string

Creates a StringReader from a given string
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close