CrossClj

0.2.3 docs

SourceDocs



RECENT
    VARS
    *default-data-reader-fn*
    *tag-table*
    check
    days-in-month
    deregister-default-tag-parser!
    deregister-tag-parser!
    divisible?
    indivisible?
    leap-year?
    parse-and-validate-timestamp
    parse-int
    parse-timestamp
    read
    read-date
    read-js
    read-queue
    read-string
    read-uuid
    register-default-tag-parser!
    register-tag-parser!
    timestamp-regex
    zero-fill-right-and-truncate

    « Index of all namespaces of this project

    Private
    (check low n high msg)
    (deregister-default-tag-parser!)
    (deregister-tag-parser! tag)
    Private
    (divisible? num div)
    Private
    (indivisible? num div)
    Private
    (leap-year? year)
    (parse-and-validate-timestamp s)
    Private
    (parse-int s)
    (parse-timestamp ts)
    (read reader)(read {:keys [eof], :as opts} reader)(read reader eof-error? eof opts)
    Reads the first object from an cljs.tools.reader.reader-types/IPushbackReader.
    Returns the object read. If EOF, throws if eof-error? is true otherwise returns eof.
    If no reader is provided, *in* will be used.
    
    Reads data in the edn format (subset of Clojure data):
    http://edn-format.org
    
    cljs.tools.reader.edn/read doesn't depend on dynamic Vars, all configuration
    is done by passing an opt map.
    
    opts is a map that can include the following keys:
    :eof - value to return on end-of-file. When not supplied, eof throws an exception.
    :readers  - a map of tag symbols to data-reader functions to be considered before default-data-readers.
               When not supplied, only the default-data-readers will be used.
    :default - A function of two args, that will, if present and no reader is found for a tag,
               be called with the tag and the value.
    Private
    (read-date s)
    Private
    (read-js form)
    Private
    (read-queue elems)
    (read-string s)(read-string opts s)
    Reads one object from the string s.
    Returns nil when s is nil or empty.
    
    Reads data in the edn format (subset of Clojure data):
    http://edn-format.org
    
    opts is a map as per cljs.tools.reader.edn/read
    Private
    (read-uuid uuid)
    (register-default-tag-parser! f)
    (register-tag-parser! tag f)
    Private
    (zero-fill-right-and-truncate s width)