Liking cljdoc? Tell your friends :D

ablauf.job.ast

Specifies an AST and provides helper functions to build it

Specifies an AST and provides helper functions
to build it
raw docstring

action!!clj

(action!! type payload)
(action!! type payload {:keys [idempotent?] :as _opts})
source

branch?clj

(branch? node)

Predicate to test whether a node is a branch

Predicate to test whether a node is a branch
sourceraw docstring

do!!clj

(do!! & nodes)

Yields a branch of sequential actions

Yields a branch of sequential actions
sourceraw docstring

dopar!!clj

(dopar!! & nodes)

Yields a branch of parallel actions

Yields a branch of parallel actions
sourceraw docstring

fail!!clj

(fail!!)

Forcibly fail action

Forcibly fail action
sourceraw docstring

finally-nodesclj

(finally-nodes node)

Accessor for finally nodes of a try statement

Accessor for finally nodes of a try statement
sourceraw docstring

idempotent-action!!clj

(idempotent-action!! type payload)
source

leaf?clj

(leaf? node)

Predicate to test whether a node is a leaf

Predicate to test whether a node is a leaf
sourceraw docstring

log!!clj

(log!! txt)

Log action

Log action
sourceraw docstring

rescue-nodesclj

(rescue-nodes node)

Accessor for rescue nodes of a try statement

Accessor for rescue nodes of a try statement
sourceraw docstring

try!!cljmacro

(try!! & forms)

Yields a try statement, with potential rescue and finally special branches

Yields a try statement, with potential rescue and finally
special branches
sourceraw docstring

try-extractclj

(try-extract sym forms)

Tests whether the last form of a list is a list of starting with a special symbol. If found yields a tuple of preceding forms and the last special form list:

 (try-extract 'finally
   '(:foo :bar (finally :bim :bam)))

 ;; => ['(:foo :bar) '(:bim :bam)]

This is used to break apart rescue and finally from try statements

Tests whether the last form of a list is a list of
starting with a special symbol. If found yields a
tuple of preceding forms and the last special form
list:

     (try-extract 'finally
       '(:foo :bar (finally :bim :bam)))

     ;; => ['(:foo :bar) '(:bim :bam)]

This is used to break apart rescue and finally from
try statements
sourceraw docstring

try-nodesclj

(try-nodes node)

Accessor for standard nodes of a try statement

Accessor for standard nodes of a try statement
sourceraw docstring

with-augmentclj

(with-augment [source dest] node)

Provide a source and dest for ast augment: after node execution, take the value from source and put it in the context's key dest. Both source and dest can be a keyword or a sequence of keywords. see ablauf.job/augment for more details.

Provide a source and dest for ast augment: after node execution,
take the value from `source` and put it in the context's key
`dest`. Both `source` and `dest` can be a keyword or a sequence of
keywords. see `ablauf.job/augment` for more details.
sourceraw docstring

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

× close