Liking cljdoc? Tell your friends :D

selmer.util


*block-pattern*clj

source

*block-super-pattern*clj

source

*custom-resource-path*clj

source

*endblock-pattern*clj

source

*escape-variables*clj

source

*extends-pattern*clj

source

*filter-close*clj

source

*filter-close-pattern*clj

source

*filter-missing-values*clj

source

*filter-open*clj

source

*filter-open-pattern*clj

source

*filter-pattern*clj

source

*include-pattern*clj

source

*missing-value-formatter*clj

source

*resource-fn*clj

source

*short-comment-second*clj

source

*tag-close*clj

source

*tag-close-pattern*clj

source

*tag-open*clj

source

*tag-open-pattern*clj

source

*tag-pattern*clj

source

*tag-second*clj

source

*tag-second-pattern*clj

source

*tags*clj

source

*url-stream-handler*clj

source

->bufcljmacro

(->buf [buf] & body)
source

assoc-in*clj

(assoc-in* m ks v)

Works best for small collections seemingly.

Works best for small collections seemingly.
sourceraw docstring

check-tag-argsclj

(check-tag-args args)
source

check-template-existsclj

(check-template-exists resource)
source

default-missing-value-formatterclj

source

exceptioncljmacro

(exception & [param & more :as params])
source

ffindclj

(ffind f coll)

finds and returns the first element in a collection where function f evaluates to true.

finds and returns the first element in a collection where function f evaluates to true.
sourceraw docstring

fix-accessorclj

(fix-accessor ks)

Turns strings into keywords and strings like "0" into Longs so it can access vectors as well as maps.

Turns strings into keywords and strings like "0" into Longs
so it can access vectors as well as maps.
sourceraw docstring

hexclj

(hex algo s)
source

looks-like-absolute-file-path?clj

(looks-like-absolute-file-path? path)

Does the resource path seem to be an absolute file path, considering the system file separator, and (when running on Windows) the possibility of a drive letter prefix?

Does the resource path seem to be an absolute file path, considering
the system file separator, and (when running on Windows) the
possibility of a drive letter prefix?
sourceraw docstring

on-windows?clj

(on-windows?)

Do we seem to be running on Windows?

Do we seem to be running on Windows?
sourceraw docstring

open-short-comment?clj

(open-short-comment? ch rdr)
source

open-tag?clj

(open-tag? ch rdr)
source

parse-accessorclj

(parse-accessor accessor)

Split accessors like foo.bar.baz by the dot. But if there is a double dot '..' then it will leave it

Split accessors like foo.bar.baz by the dot.
But if there is a double dot '..' then it will leave it
sourceraw docstring

patternclj

(pattern & content)
source

peek-rdrclj

(peek-rdr rdr)
source

read-charclj

(read-char rdr)
source

read-tag-contentclj

(read-tag-content rdr)
source

read-tag-infoclj

(read-tag-info rdr)
source

resource-last-modifiedclj

(resource-last-modified resource)
source

resource-pathclj

(resource-path template)
source

set-custom-resource-path!clj

(set-custom-resource-path! path)
source

set-missing-value-formatter!clj

(set-missing-value-formatter! missing-value-fn
                              &
                              {:keys [filter-missing-values]
                               :or {filter-missing-values false}})

Takes a function of two arguments which is called on a missing value. The function should return the value to be output in place of an empty string (which is the default from 'default-missing-value-formatter').

Call with named argument :filter-missing-values true to force filtering of missing values (although for most use cases this will not make sense).

Arguments to missing-value-fn: tag - map with data for the tag being evaluated. Contains the key :tag-type with the value :filter or :expr (for filter or expression tag types. For :filter: tag-value - the contents of the filter tag as a string. For :expr: tag-name - the name of the expression. args - the args provided to the expression. context-map - the context-map provided to the render function.

Takes a function of two arguments which is called on a missing value.
The function should return the value to be output in place of an empty string
(which is the default from 'default-missing-value-formatter').

Call with named argument :filter-missing-values true to force filtering of missing
values (although for most use cases this will not make sense).

Arguments to missing-value-fn:
tag - map with data for the tag being evaluated.
      Contains the key :tag-type with the value :filter or :expr (for filter or expression tag types.
      For :filter:
         tag-value - the contents of the filter tag as a string.
      For :expr:
         tag-name - the name of the expression.
         args - the args provided to the expression.
context-map - the context-map provided to the render function.
sourceraw docstring

set-url-stream-handler!clj

(set-url-stream-handler! path)
source

split-by-argsclj

(split-by-args s)
source

turn-off-escaping!clj

(turn-off-escaping!)
source

turn-on-escaping!clj

(turn-on-escaping!)
source

with-escapingcljmacro

(with-escaping & body)
source

without-escapingcljmacro

(without-escaping & body)
source

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

× close