Skip to main content

position-span

function

rewrite-clj.zip/position-span

(position-span [zloc])
Returns the ones-based `[[start-row start-col] [end-row end-col]]` of the current node in `zloc`. `end-col` is exclusive. Throws if `zloc` was not created with [position tracking](/doc/01-user-guide.adoc#position-tracking).

No examples yet. Be the first to add one!