Liking cljdoc? Tell your friends :D

code.query.traverse


count-elementsclj

(count-elements pattern)

counting elements

counting elements
raw docstring

pattern-zipclj

(pattern-zip root)

creates a clojure.zip pattern

creates a clojure.zip pattern
raw docstring

prep-insert-patternclj

(prep-insert-pattern pattern)

helper for insertion

helper for insertion
raw docstring

sourceclj

(source pos)

retrives the source of a traverse

(source (traverse (nav/parse-string "()") '(^:+ hello))) => '(hello)

retrives the source of a traverse

(source
 (traverse (nav/parse-string "()")
           '(^:+ hello)))
=> '(hello)
raw docstring

traverseclj

(traverse source pattern)

basic traverse functions (source (traverse (nav/parse-string "^:a (+ () 2 3)") '(+ () 2 3))) => '(+ () 2 3)

(source (traverse (nav/parse-string "^:a (hello)") '(hello))) => '(hello)

basic traverse functions
(source
 (traverse (nav/parse-string "^:a (+ () 2 3)")
           '(+ () 2 3)))
=> '(+ () 2 3)

(source
 (traverse (nav/parse-string "^:a (hello)")
           '(hello)))
=> '(hello)
raw docstring

traverse-cursor-formclj

(traverse-cursor-form {:keys [source pattern op] :as pos})

traversing cursor form

traversing cursor form
raw docstring

traverse-cursor-levelclj

(traverse-cursor-level {:keys [source pattern op] :as pos})

traversing cursor level

traversing cursor level
raw docstring

traverse-delete-formclj

(traverse-delete-form {:keys [source pattern op] :as pos})

traversing deletion form

traversing deletion form
raw docstring

traverse-delete-levelclj

(traverse-delete-level {:keys [source pattern op] :as pos})

traversing deletion level

traversing deletion level
raw docstring

traverse-delete-nodeclj

(traverse-delete-node {:keys [source pattern op] :as pos})

traversing deletion node

traversing deletion node
raw docstring

traverse-insert-formclj

(traverse-insert-form {:keys [source pattern op] :as pos})

traversing insertion form

traversing insertion form
raw docstring

traverse-insert-levelclj

(traverse-insert-level {:keys [source pattern op] :as pos})

traversing insertion level

traversing insertion level
raw docstring

traverse-insert-nodeclj

(traverse-insert-node {:keys [source pattern op] :as pos})

traversing insertion node

traversing insertion node
raw docstring

wrap-cursor-nextclj

(wrap-cursor-next f)

wrapper for locating cursor

wrapper for locating cursor
raw docstring

wrap-delete-nextclj

(wrap-delete-next f)

wrapper for deleting next element in the zip

wrapper for deleting next element in the zip
raw docstring

wrap-insert-nextclj

(wrap-insert-next f)

wrapper for insertion

wrapper for insertion
raw docstring

wrap-metaclj

(wrap-meta f)

helper for traversing meta tags

helper for traversing meta tags
raw docstring

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

× close