Construct routing tree, identify route from URIs and generate route from parameters
Construct routing tree, identify route from URIs and generate route from parameters
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
(ident this)
Identify this logical route segment
Identify this logical route segment
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
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
(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
(branch? route)
Is it possible for this node to have children?
Is it possible for this node to have children?
(children route)
Return children of this node.
Return children of this node.
(make-node route children)
Makes new node from existing node and new children.
Makes new node from existing node and new children.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close