taoensso.tempura.impl

Private implementation details.

attrs-explode-args-in-strs

clj

cljs

(attrs-explode-args-in-strs v)

compile-dictionary

clj

cljs

(compile-dictionary dict)

escape-html

clj

cljs

(escape-html s)

expand-locale

clj

cljs

(expand-locale locale)
:en-GB-var1 -> [:en-GB-var1 :en-GB :en], etc.

expand-locales

clj

cljs

(expand-locales locales)

load-resource

clj

cljs

(load-resource rname)

node-paths

clj

cljs

(node-paths m)(node-paths node-pred m)(node-paths node-pred m basis)

scoped

clj

cljs

search-resids

clj

cljs

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

str->?arg-idx

clj

cljs

(str->?arg-idx s)

str->split-args

clj

cljs

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

str->split-styles

clj

cljs

(str->split-styles s)

str->vargs-fn

clj

cljs

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

vargs

clj

cljs

(vargs x)

vec->vargs-fn

clj

cljs

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

vec->vtag

clj

cljs

(vec->vtag v)(vec->vtag v default-tag)
["foo"] -> [:span "foo"] as a convenience.

vec-escape-html-in-strs

clj

cljs

(vec-escape-html-in-strs v)

vec-explode-args-in-strs

clj

cljs

(vec-explode-args-in-strs v)

vec-explode-styles-in-strs

clj

cljs

(vec-explode-styles-in-strs v)(vec-explode-styles-in-strs v str-splitter)