Variable: c-ts-mode--emacs-c-range-query

c-ts-mode--emacs-c-range-query is a variable defined in c-ts-mode.el.gz.

Value

#<treesit-compiled-query>

Documentation

Query that finds a FOR_EACH_* macro with an unbracketed body.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/c-ts-mode.el.gz
(defvar c-ts-mode--emacs-c-range-query
  (when (treesit-available-p)
    (treesit-query-compile
     'c `(((declaration
            type: (macro_type_specifier
                   name: (identifier) @_name)
            @for-each-tail)
           (:match ,c-ts-mode--for-each-tail-regexp
                   @_name)))))
  "Query that finds a FOR_EACH_* macro with an unbracketed body.")