(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |