Variable: treesit-sexp-type-regexp

treesit-sexp-type-regexp is a buffer-local variable defined in treesit.el.gz.

Documentation

A regexp that matches the node type of sexp nodes.

A sexp node is a node that is bigger than punctuation, and delimits medium sized statements in the source code. It is, however, smaller in scope than sentences. This is used by treesit-forward-sexp and friends.

Source Code

;; Defined in /usr/src/emacs/lisp/treesit.el.gz
(defvar-local treesit-sexp-type-regexp nil
  "A regexp that matches the node type of sexp nodes.

A sexp node is a node that is bigger than punctuation, and
delimits medium sized statements in the source code.  It is,
however, smaller in scope than sentences.  This is used by
`treesit-forward-sexp' and friends.")