Liking cljdoc? Tell your friends :D

refactor-nrepl.s-expressions


all-zlocsclj

(all-zlocs zipper)

Generate a seq of all zlocs in a depth-first manner

Generate a seq of all zlocs in a depth-first manner
sourceraw docstring

get-enclosing-sexpclj

(get-enclosing-sexp file-content line column)
(get-enclosing-sexp file-content line column level)

Extracts the sexp enclosing point at LINE and COLUMN in FILE-CONTENT, and optionally LEVEL.

A string is not treated as a sexp by this function. If LEVEL is provided finds the enclosing sexp up to level. LEVEL defaults to 1 for the immediate enclosing sexp.

Both line and column are indexed from 0.

Extracts the sexp enclosing point at LINE and COLUMN in FILE-CONTENT,
and optionally LEVEL.

A string is not treated as a sexp by this function. If LEVEL is
provided finds the enclosing sexp up to level. LEVEL defaults to 1
for the immediate enclosing sexp.

Both line and column are indexed from 0.
sourceraw docstring

get-first-sexpclj

(get-first-sexp file-content)
source

get-last-sexpclj

(get-last-sexp file-content)
source

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

× close