(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.
(depth this)(length this)(match this i max path)(view 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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |