Function: c-ts-common-comment-start-after-first-star
c-ts-common-comment-start-after-first-star is a byte-compiled function
defined in c-ts-common.el.gz.
Signature
(c-ts-common-comment-start-after-first-star N PARENT &rest _)
Documentation
A tree-sitter simple indent anchor.
Finds the "/*" and returns the point after the "*". Assumes PARENT is a comment node.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/c-ts-common.el.gz
(defun c-ts-common-comment-start-after-first-star (_n parent &rest _)
"A tree-sitter simple indent anchor.
Finds the \"/*\" and returns the point after the \"*\".
Assumes PARENT is a comment node."
(save-excursion
(goto-char (treesit-node-start parent))
(if (looking-at (rx "/*"))
(match-end 0)
(point))))