(append-newline zloc)
(append-newline zloc n)
Append a newline node representing the given number of newlines (default: 1).
Append a newline node representing the given number of newlines (default: 1).
(append-space zloc)
(append-space zloc n)
Append a whitespace node representing the given number of spaces (default: 1).
Append a whitespace node representing the given number of spaces (default: 1).
(prepend-newline zloc)
(prepend-newline zloc n)
Prepend a newlines node representing the given number of newlines (default: 1).
Prepend a newlines node representing the given number of newlines (default: 1).
(prepend-space zloc)
(prepend-space zloc n)
Prepend a whitespace node representing the given number of spaces (default: 1).
Prepend a whitespace node representing the given number of spaces (default: 1).
(skip f p? zloc)
Perform the given movement while the given predicate returns true.
Perform the given movement while the given predicate returns true.
(skip-whitespace zloc)
(skip-whitespace f zloc)
Perform the given movement (default: z/right
) until a non-whitespace/
non-comment node is encountered.
Perform the given movement (default: `z/right`) until a non-whitespace/ non-comment node is encountered.
(skip-whitespace-left zloc)
Move left until a non-whitespace/non-comment node is encountered.
Move left until a non-whitespace/non-comment node is encountered.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close