Liking cljdoc? Tell your friends :D

com.mjdowney.rich-comment-tests.impl


?comment-expectation-stringclj

(?comment-expectation-string z)
source

?result-comment-zlocclj

(?result-comment-zloc z)
source

advanceclj

(advance zloc & {:keys [to through] :as ops})
source

context-stringsclj

(context-strings test-sexpr-zloc)

A series of string comments preceding the test sexpr.

A series of string comments preceding the test sexpr.
sourceraw docstring

expectation-dataclj

(expectation-data test-sexpr-zloc)

Parse a string representing the expectation for a test expression and an expression type, returning a vector of [type str] (or nil if none).

The expected result is designated by a =>-prefixed comment, either directly after or on a line following the test expression.

For example:

(+ 1 1) ;=> 2

(+ 1 1) ;;=> 2

(+ 1 1) ;; => 2

Parse a string representing the expectation for a test expression and an
expression type, returning a vector of `[type str]` (or nil if none).

The expected result is designated by a =>-prefixed comment, either directly
after or on a line following the test expression.

For example:

  (+ 1 1) ;=> 2

  (+ 1 1)
  ;;=> 2

  (+ 1 1)
  ;; => 2
sourceraw docstring

expectation-strclj

(expectation-str fst-line)
source

iterate1clj

(iterate1 f x)

Like clojure.core/iterate, but stops at the first nil element.

Like `clojure.core/iterate`, but stops at the first `nil` element.
sourceraw docstring

pairsclj

(pairs)

Transducer from [a b c ... z] => [[a b] [b c] ... [z nil]].

Transducer from [a b c ... z] => [[a b] [b c] ... [z nil]].
sourceraw docstring

rct?clj

(rct? zloc)

Is the node at the zloc a ^:rct/test (comment ...) block?

Is the node at the `zloc` a ^:rct/test (comment ...) block?
sourceraw docstring

result-comment-typeclj

(result-comment-type s)
source

result-comment?clj

(result-comment? s)
source

rsequenceclj

(rsequence xform coll)

Like (reverse (sequence xform coll)).

Like `(reverse (sequence xform coll))`.
sourceraw docstring

tag?clj

(tag? x)
source

test-sexpr-zlocsclj

(test-sexpr-zlocs rct-zloc)

All sexpr-able nodes inside a rct form.

All sexpr-able nodes inside a rct form.
sourceraw docstring

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

× close