(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.
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.
(fix node f & fields)
Applies f to the fields entries in node.
Applies f to the fields entries in node.
(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.
(pprint-content node)
Shorthand for printing the :content value of entities to out.
Shorthand for printing the :content value of entities to *out*.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close