(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
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close