Liking cljdoc? Tell your friends :D

janus.route


AsSegmentclj/s≠protocol

An abstraction for concisely representing the construction and identification of route segments

An abstraction for concisely representing the construction and identification of route segments

matchclj/s

(match this segment)

If the given segment matches this, return the match context (if any), otherwise falsey

If the given segment matches this, return the match context (if any), otherwise falsey

buildclj/s

(build this options)

Build the segment represented by this with the given options

Build the segment represented by this with the given options
sourceraw docstring

ConformableRouteclj/s≠protocol

conformclj/s

(conform route)

Return the conformed form of this route

Return the conformed form of this route
source

recursive-routeclj/s

(recursive-route name as-segment dispatch)
source

RecursiveRoutecljs

source

Routableclj/s≠protocol

An abstraction for an entity located in the route tree that can process move instructions by returning a new instance

An abstraction for an entity located in the route tree that can process move instructions by
returning a new instance

parentclj/s

(parent this)

Return a new routable located at the parent of this

Return a new routable located at the parent of this

generateclj/s

(generate this params)

Return a new routable based on the given path parameters

Return a new routable based on the given path parameters

identifyclj/s

(identify this path)

Return a new routable based on the given path (URI)

Return a new routable based on the given path (URI)

rootclj/s

(root this)

Return a new routable located at the root

Return a new routable located at the root
sourceraw docstring

Routeclj/s≠protocol

childrenclj/s

(children route)

Return children of this route.

Return children of this route.

children?clj/s

(children? route)

Is it possible for route to have children?

Is it possible for route to have children?

make-routeclj/s

(make-route route children)

Makes new route from existing route and new children.

Makes new route from existing route and new children.
source

Routedclj/s≠protocol

An abstraction for an entity located in the route tree that can describe its position

An abstraction for an entity located in the route tree that can describe its position

identifiersclj/s

(identifiers this)

Return the route as a sequence of segment identifiers

Return the route as a sequence of segment identifiers

nodeclj/s

(node this)

Return the resulting route leaf node

Return the resulting route leaf node

parametersclj/s

(parameters this)

Return map of segment identifiers to route parameters

Return map of segment identifiers to route parameters

pathclj/s

(path this)
(path this generalized?)

Return the path of the route as a string, optionally generalized

Return the path of the route as a string, optionally generalized
sourceraw docstring

Routercljs

source

routerclj/s

(router route)
source

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

× close