Checks the options of the public operations when they are called, and resolves them into the configuration used by the traversal engines.
Checks the options of the public operations when they are called, and resolves them into the configuration used by the traversal engines.
(check-starts caller starts)Starting states come as a collection, also when there is only one.
Starting states come as a collection, also when there is only one.
(fail caller message data)Throws an ExceptionInfo naming the public function that was called.
Throws an ExceptionInfo naming the public function that was called.
(merge-fields caller option visit fields)Adds the fields a callback returned to a visit. option names the option the callback belongs to.
Adds the fields a callback returned to a visit. option names the option the callback belongs to.
(prepare caller
{:keys [project expand? decode-edge visit-key dedupe extensions]
:as options})Resolves validated options into the configuration shared by the engines:
:project :expand? :decode-edge callbacks with their defaults applied :initialize starting state -> visit :prepare-visit parent visit, transition -> candidate visit :global-key visit -> key, when each key is visited once per search :refine parent, candidate -> candidate or nil, when a key may occur once per path
Other options pass through unchanged.
Resolves validated options into the configuration shared by the engines:
:project :expand? :decode-edge callbacks with their defaults applied
:initialize starting state -> visit
:prepare-visit parent visit, transition -> candidate visit
:global-key visit -> key, when each key is visited once per search
:refine parent, candidate -> candidate or nil, when a key may
occur once per path
Other options pass through unchanged.(preserve-state caller option state visit)Returns the visit, checking that callbacks left its state alone.
Returns the visit, checking that callbacks left its state alone.
(validate caller allowed options)Checks options against the keys an operation supports. Returns them as a map without nil values, so nil means the same as leaving an option out.
Checks options against the keys an operation supports. Returns them as a map without nil values, so nil means the same as leaving an option out.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |