Liking cljdoc? Tell your friends :D

cljs.tools.reader.reader-types

Protocols and default Reader types implementation

Protocols and default Reader types implementation
raw docstring

indexing-push-back-readercljs

(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
sourceraw docstring

indexing-reader?cljs

(indexing-reader? rdr)

Returns true if the reader satisfies IndexingReader

Returns true if the reader satisfies IndexingReader
sourceraw docstring

IndexingPushbackReadercljs

source

IndexingReadercljsprotocol

get-column-numbercljs

(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-namecljs

(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-numbercljs

(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
source

IPushbackReadercljsprotocol

unreadcljs

(unread reader ch)

Pushes back a single character on to the stream

Pushes back a single character on to the stream
source

line-start?cljs

(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
sourceraw docstring

log-source*cljs

(log-source* reader f)
source

merge-metacljs

(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`.
sourceraw docstring

node-readable-push-back-readercljs

(node-readable-push-back-reader readable)
source

NodeReadableReadercljs

source

PushbackReadercljs

source

read-linecljs

(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
sourceraw docstring

Readercljsprotocol

peek-charcljs

(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-charcljs

(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
source

source-logging-push-back-readercljs

(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
sourceraw docstring

source-logging-reader?cljs

(source-logging-reader? rdr)
source

SourceLoggingPushbackReadercljs

source

string-push-back-readercljs

(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
sourceraw docstring

string-readercljs

(string-reader s)

Creates a StringReader from a given string

Creates a StringReader from a given string
sourceraw docstring

StringReadercljs

source

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

× close