An abstraction for concisely representing the construction and identification of route segments
An abstraction for concisely representing the construction and identification of route segments
(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
(build this options)
Build the segment represented by this with the given options
Build the segment represented by this with the given options
(conform route)
Return the conformed form of this route
Return the conformed form of this route
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
(parent this)
Return a new routable located at the parent of this
Return a new routable located at the parent of this
(generate this params)
Return a new routable based on the given path parameters
Return a new routable based on the given path parameters
(identify this path)
Return a new routable based on the given path (URI)
Return a new routable based on the given path (URI)
(root this)
Return a new routable located at the root
Return a new routable located at the root
(children route)
Return children of this route.
Return children of this route.
(children? route)
Is it possible for route to have children?
Is it possible for route to have children?
(make-route route children)
Makes new route from existing route and new children.
Makes new route from existing route and new children.
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
(identifiers this)
Return the route as a sequence of segment identifiers
Return the route as a sequence of segment identifiers
(node this)
Return the resulting route leaf node
Return the resulting route leaf node
(parameters this)
Return map of segment identifiers to route parameters
Return map of segment identifiers to route parameters
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close