Liking cljdoc? Tell your friends :D

clojure-lsp.refactor.edit


back-to-mark-or-nilclj

(back-to-mark-or-nil zloc marker)
source

find-formsclj

(find-forms zloc p?)

Find last node (if more than one node) that is in range of pos and satisfying the given predicate depth first from initial zipper location.

Find last node (if more than one node) that is in range of pos and
satisfying the given predicate depth first from initial zipper
location.
sourceraw docstring

find-function-usage-name-locclj

(find-function-usage-name-loc zloc)
source

find-last-by-posclj

(find-last-by-pos zloc pos)
source

find-namespaceclj

(find-namespace zloc)
source

find-namespace-nameclj

(find-namespace-name zloc)
source

find-opclj

(find-op zloc)
source

find-ops-upclj

(find-ops-up zloc & op-strs)
source

find-refer-nsclj

(find-refer-ns zloc)
source

find-var-definition-name-locclj

(find-var-definition-name-loc loc filename db)
source

in-range?clj

(in-range? {:keys [row col end-row end-col] :as form-pos}
           {r :row c :col er :end-row ec :end-col :as selection-pos})
source

inside-refer?clj

(inside-refer? zloc)
source

inside-require?clj

(inside-require? zloc)
source

join-letclj

(join-let let-loc)

if a let is directly above a form, will join binding forms and remove the inner let

if a let is directly above a form, will join binding forms and remove the inner let
sourceraw docstring

map-childrenclj

(map-children parent-zloc f)
source

mark-positionclj

(mark-position zloc marker)
source

mark-position-whenclj

(mark-position-when zloc marker p?)
source

parent-let?clj

(parent-let? zloc)
source

raiseclj

(raise zloc)

Delete siblings and raise node at zloc one level up

  • [1 [2 |3 4]] => [1 |3]
Delete siblings and raise node at zloc one level up
- `[1 [2 |3 4]] => [1 |3]`
sourceraw docstring

single-child?clj

(single-child? zloc)
source

to-topclj

(to-top loc)
source

top?clj

(top? loc)
source

var-name-loc-from-opclj

(var-name-loc-from-op loc)
source

wrap-aroundclj

(wrap-around zloc tag)
source

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

× close