Specifies an AST and provides helper functions to build it
Specifies an AST and provides helper functions to build it
(branch? node)
Predicate to test whether a node is a branch
Predicate to test whether a node is a branch
(do!! & nodes)
Yields a branch of sequential actions
Yields a branch of sequential actions
(dopar!! & nodes)
Yields a branch of parallel actions
Yields a branch of parallel actions
(finally-nodes node)
Accessor for finally nodes of a try statement
Accessor for finally nodes of a try statement
(leaf? node)
Predicate to test whether a node is a leaf
Predicate to test whether a node is a leaf
(rescue-nodes node)
Accessor for rescue nodes of a try statement
Accessor for rescue nodes of a try statement
(try!! & forms)
Yields a try statement, with potential rescue and finally special branches
Yields a try statement, with potential rescue and finally special branches
(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
(try-nodes node)
Accessor for standard nodes of a try statement
Accessor for standard nodes of a try statement
(with-augment [source dest] node)
Provide a source and dest for bundes.job/augment
Provide a source and dest for `bundes.job/augment`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close