Private implementation details.
Private implementation details.
(attrs-explode-args-in-strs v)
(compile-dictionary dict)
(escape-html s)
(expand-locale locale)
:en-GB-var1 -> [:en-GB-var1 :en-GB :en], etc.
:en-GB-var1 -> [:en-GB-var1 :en-GB :en], etc.
(expand-locales locales)
(load-resource rname)
(node-paths m)
(node-paths node-pred m)
(node-paths node-pred m basis)
(search-resids dict locale-splits ?scope resids)
loc1 res1 var1 var2 ... base res2 var1 var2 ... base ... loc2 res1 var1 var2 ... base res2 var1 var2 ... base ...
loc1 res1 var1 var2 ... base res2 var1 var2 ... base ... loc2 res1 var1 var2 ... base res2 var1 var2 ... base ...
(str->?arg-idx s)
(str->split-args s)
Checks string for simple Clojure-style (%d) args and returns a vector of string parts and int arg indexes for later joining.
Checks string for simple Clojure-style (%d) args and returns a vector of string parts and int arg indexes for later joining.
(str->split-styles s)
(str->vargs-fn s)
(str->vargs-fn s argval-fn)
Returns a (fn [args-vector]) which replaces simple Clojure-style (%n) args
in string with (str (?argval-fn <corresponding-vector-arg>))
.
Optimized for fn runtime, not fn creation.
Returns a (fn [args-vector]) which replaces simple Clojure-style (%n) args in string with `(str (?argval-fn <corresponding-vector-arg>))`. Optimized for fn runtime, not fn creation.
(vargs x)
(vec->vargs-fn v)
(vec->vargs-fn v argval-fn)
Returns a (fn [args-vector]) which replaces simple Clojure-style (%n) arg
elements with (?argval-fn <corresponding-vector-arg>)
.
Optimized for fn runtime, not fn creation.
Returns a (fn [args-vector]) which replaces simple Clojure-style (%n) arg elements with `(?argval-fn <corresponding-vector-arg>)`. Optimized for fn runtime, not fn creation.
(vec->vtag v)
(vec->vtag v default-tag)
["foo"] -> [:span "foo"] as a convenience.
["foo"] -> [:span "foo"] as a convenience.
(vec-escape-html-in-strs v)
(vec-explode-args-in-strs v)
(vec-explode-styles-in-strs v)
(vec-explode-styles-in-strs v str-splitter)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close