Liking cljdoc? Tell your friends :D

com.yetanalytics.flint.format


format-astclj/s

(format-ast ast opts)

Convert ast into a string, with opts including:

  • :xsd-prefix the prefix of the XSD IRI, used in RDF literals.
  • :pretty? whether to add linebreaks or indents.
Convert `ast` into a string, with `opts` including:
- `:xsd-prefix` the prefix of the XSD IRI, used in RDF literals.
- `:pretty?`    whether to add linebreaks or indents.
sourceraw docstring

format-ast-nodeclj/smultimethod

Convert the AST node into a string.

Convert the AST node into a string.
sourceraw docstring

indent-strclj/s

(indent-str s)

Add 4 spaces after each line break (including at the beginning).

Add 4 spaces after each line break (including at the beginning).
sourceraw docstring

join-clausesclj/s

(join-clauses clauses pretty?)

Join the clauses coll. If pretty? is true, separate by line breaks; otherwise separate by space.

Join the `clauses` coll. If `pretty?` is true, separate by line
breaks; otherwise separate by space.
sourceraw docstring

wrap-in-bracesclj/s

(wrap-in-braces clause pretty?)

Wrap the clause string in curly braces. If pretty? is true, also add line breaks and indent clause.

Wrap the `clause` string in curly braces. If `pretty?` is true,
also add line breaks and indent `clause`.
sourceraw docstring

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

× close