Function: treesit--node-length

treesit--node-length is a byte-compiled function defined in treesit.el.gz.

Signature

(treesit--node-length NODE)

Documentation

Return the length of the text of NODE.

Source Code

;; Defined in /usr/src/emacs/lisp/treesit.el.gz
(defsubst treesit--node-length (node)
  "Return the length of the text of NODE."
  (- (treesit-node-end node) (treesit-node-start node)))