(compile options)
(compile options compiler)
(compile {:keys [data params children wilds catch-all] :or {params {}}}
compiler
cp)
Returns a compiled trie, to be used with pretty
or path-matcher
.
Returns a compiled trie, to be used with [[pretty]] or [[path-matcher]].
(compiler)
Returns a default TrieCompiler
.
Returns a default [[TrieCompiler]].
(insert routes)
(insert node routes)
(insert node path data)
(insert
node
path
data
{:reitit.trie/keys [parameters] :or {parameters map-parameters} :as opts})
Returns a trie with routes added to it.
Returns a trie with routes added to it.
(view this)
(match this i max path)
(length this)
(depth this)
(path-matcher compiled-trie)
(path-matcher compiled-trie compiler)
Returns a function of path -> Match
from a compiled trie.
Returns a function of `path -> Match` from a compiled trie.
(pretty compiled-trie)
(pretty compiled-trie compiler)
Returns a simplified EDN structure of a compiled trie for printing purposes.
Returns a simplified EDN structure of a compiled trie for printing purposes.
Memoized function to transform parameters into runtime generated Record.
Memoized function to transform parameters into runtime generated Record.
(-path-matcher this matcher)
(-pretty this matcher)
(catch-all-matcher this key params data)
(data-matcher this params data)
(linear-matcher this matchers ordered?)
(static-matcher this path matcher)
(wild-matcher this key end matcher)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close