Function: php-ts-mode--parent-eol

php-ts-mode--parent-eol is a byte-compiled function defined in php-ts-mode.el.gz.

Signature

(php-ts-mode--parent-eol NODE PARENT &rest _)

Documentation

Find the last non-space characters of the PARENT of the current NODE.

NODE is the node to match and PARENT is its parent.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/php-ts-mode.el.gz
(defun php-ts-mode--parent-eol (_node parent &rest _)
  "Find the last non-space characters of the PARENT of the current NODE.

NODE is the node to match and PARENT is its parent."
  (save-excursion
    (goto-char (treesit-node-start parent))
    (line-end-position)))