Describes how comments for a language work.
Describes how comments for a language work.
(block-comment comment-rule)
The block comment character pair, like /* block comment */
Returns: CharacterPair | undefined
The block comment character pair, like `/* block comment */` **Returns:** `CharacterPair | undefined`
(line-comment comment-rule)
The line comment token, like // this is a comment
Returns: string | undefined
The line comment token, like `// this is a comment` **Returns:** `string | undefined`
(set-block-comment! comment-rule value)
The block comment character pair, like /* block comment */
The block comment character pair, like `/* block comment */`
(set-line-comment! comment-rule value)
The line comment token, like // this is a comment
The line comment token, like `// this is a comment`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close