Liking cljdoc? Tell your friends :D

cljmd.ast.common


branchclj

(branch data)
(branch data children)

Chain of single-child nodes starting with the root and proceeding to the leaf. If the children value is provided, it will be used on the leaf node.

Chain of single-child nodes starting with the root and proceeding to the
leaf. If the children value is provided, it will be used on the leaf node.
sourceraw docstring

dispatchcljmultimethod

Pretty-print dispatch function for interoperation with the clojure.pprint family of functions.

Pretty-print dispatch function for interoperation with the clojure.pprint
family of functions.
sourceraw docstring

fixclj

(fix node f & fields)

Applies f to the fields entries in node.

Applies f to the fields entries in node.
sourceraw docstring

ontologyclj

source

pprintclj

(pprint ast)

Shorthand for binding the pretty-print dispatch function and calling clojure.pprint/pprint on ast.

Shorthand for binding the pretty-print dispatch function and calling
clojure.pprint/pprint on ast.
sourceraw docstring

pprint-contentclj

(pprint-content node)

Shorthand for printing the :content value of entities to out.

Shorthand for printing the :content value of entities to *out*.
sourceraw docstring

pprint-entity-wrapcljmacro

(pprint-entity-wrap node body)

Expands into a series of pprint-family function calls to provide output wrapping for the given body.

Expands into a series of pprint-family function calls to provide output
wrapping for the given body.
sourceraw docstring

pprint-multipleclj

(pprint-multiple node)

Shorthand for printing multiple entities. The entities are assumed to be siblings and therefore indented by the same amount. Each entity appears on a fresh line. Line breaks are rendered both before and after the entities.

Shorthand for printing multiple entities. The entities are assumed to be
siblings and therefore indented by the same amount. Each entity appears on
a fresh line. Line breaks are rendered both before and after the entities.
sourceraw docstring

pprint-prefixclj

(pprint-prefix {:keys [data]})

Returns a string which is suitable for use as a pretty-printing logical block prefix for the given node.

Returns a string which is suitable for use as a pretty-printing logical block
prefix for the given node.
sourceraw docstring

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

× close