Function: meson-syntax-count-quotes
meson-syntax-count-quotes is a byte-compiled function defined in
meson-mode.el.
Signature
(meson-syntax-count-quotes &optional POINT LIMIT)
Documentation
Count number of quotes after point (max is 3).
POINT is the point where scan starts (defaults to current point), and LIMIT is used to limit the scan.
Source Code
;; Defined in /nix/store/57kn62wrv0z1jads9j9blmagdm8rh132-emacs-packages-deps/share/emacs/site-lisp/elpa/meson-mode-20240601.1647/meson-mode.el
(defsubst meson-syntax-count-quotes (&optional point limit)
"Count number of quotes after point (max is 3).
POINT is the point where scan starts (defaults to current point),
and LIMIT is used to limit the scan."
(let ((i 0)
(p (or point (point))))
(while (and (< i 3)
(or (not limit) (< (+ p i) limit))
(eq (char-after (+ p i)) ?\'))
(setq i (1+ i)))
i))