Liking cljdoc? Tell your friends :D

grammar.lit

Pure literal encoders.

Each encoder returns program text that, read in its context, denotes exactly the input string, or nil when that context cannot denote it at all (a shell word cannot hold NUL). Encoders never consult a profile: whether a construct is allowed is the solver's business.

Pure literal encoders.

Each encoder returns program text that, read in its context, denotes
exactly the input string, or nil when that context cannot denote it at
all (a shell word cannot hold NUL). Encoders never consult a profile:
whether a construct is allowed is the solver's business.
raw docstring

printf-formatclj

(printf-format s)

A printf FORMAT operand whose output is exactly the UTF-8 bytes of s, NUL included. The operand is printable ASCII with no shell quote or expansion characters (' " $ ` become octal), so it survives any quoting context and any forbidden-quote policy. A leading '-' is escaped so no printf can mistake the operand for an option.

A printf FORMAT operand whose output is exactly the UTF-8 bytes of s, NUL
included. The operand is printable ASCII with no shell quote or expansion
characters (' " $ ` become octal), so it survives any quoting context and
any forbidden-quote policy. A leading '-' is escaped so no printf can
mistake the operand for an option.
sourceraw docstring

py-chrclj

(py-chr s)

Python expression with no quote characters at all.

Python expression with no quote characters at all.
sourceraw docstring

py-doubleclj

(py-double s)

Python str literal in double quotes; output is printable ASCII.

Python str literal in double quotes; output is printable ASCII.
sourceraw docstring

py-singleclj

(py-single s)

Python str literal in single quotes; output is printable ASCII.

Python str literal in single quotes; output is printable ASCII.
sourceraw docstring

sh-ansi-cclj

(sh-ansi-c s)

bash/ksh/zsh $'...' quoting. Control characters as fixed-width octal so a following digit can never extend the escape.

bash/ksh/zsh $'...' quoting. Control characters as fixed-width octal so
a following digit can never extend the escape.
sourceraw docstring

sh-doubleclj

(sh-double s)

POSIX double quotes. Only \ " $ ` are special inside; escape those.

POSIX double quotes. Only \ " $ ` are special inside; escape those.
sourceraw docstring

sh-singleclj

(sh-single s)

POSIX single quotes. Everything is literal except ', spelled '''.

POSIX single quotes. Everything is literal except ', spelled '\''.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close