Liking cljdoc? Tell your friends :D

reitit.trie


catch-all?clj/s

(catch-all? x)
source

CatchAllclj/s

source

clojure-trie-compilerclj/s

(clojure-trie-compiler)
source

compileclj/s

(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]].
sourceraw docstring

compilerclj/s

(compiler)

Returns a default TrieCompiler.

Returns a default [[TrieCompiler]].
sourceraw docstring

conflicting-parts?clj/s

(conflicting-parts? parts1 parts2)
source

conflicting-paths?clj/s

(conflicting-paths? path1 path2 opts)
source

insertclj/s

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

java-trie-compilerclj

(java-trie-compiler)
source

join-pathclj/s

(join-path xs)
source

Matchclj/s

source

Matcherclj/sprotocol

depthclj/s

(depth this)

lengthclj/s

(length this)

matchclj/s

(match this i max path)

viewclj/s

(view this)
source

Nodeclj/s

source

normalizeclj/s

(normalize s opts)
source

path-matcherclj/s

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

prettyclj/s

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

record-parametersclj

Memoized function to transform parameters into runtime generated Record.

Memoized function to transform parameters into runtime generated Record.
sourceraw docstring

split-pathclj/s

(split-path s {:keys [syntax] :or {syntax #{:colon :bracket}}})
source

TrieCompilerclj/sprotocol

-path-matcherclj/s

(-path-matcher this matcher)

-prettyclj/s

(-pretty this matcher)

catch-all-matcherclj/s

(catch-all-matcher this key params data)

data-matcherclj/s

(data-matcher this params data)

linear-matcherclj/s

(linear-matcher this matchers ordered?)

static-matcherclj/s

(static-matcher this path matcher)

wild-matcherclj/s

(wild-matcher this key end matcher)
source

Wildclj/s

source

wild?clj/s

(wild? x)
source

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

× close