Liking cljdoc? Tell your friends :D

reitit.trie


catch-all?clj/s

(catch-all? x)
source

CatchAllcljs

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

Matchcljs

source

Matcherclj/s≠protocol

viewclj/s

(view this)

matchclj/s

(match this i max path)

lengthclj/s

(length this)

depthclj/s

(depth this)
source

Nodecljs

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/s≠protocol

-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

Wildcljs

source

wild?clj/s

(wild? x)
source

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

× close