Function: java-ts-mode--first-line-on-multi-line-string
java-ts-mode--first-line-on-multi-line-string is a byte-compiled
function defined in java-ts-mode.el.gz.
Signature
(java-ts-mode--first-line-on-multi-line-string NODE PARENT BOL &rest _)
Documentation
Simple-indent matcher for the first line in a multi-line string block.
PARENT and BOL are the as in other matchers.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/java-ts-mode.el.gz
(defun java-ts-mode--first-line-on-multi-line-string (_node parent _bol &rest _)
"Simple-indent matcher for the first line in a multi-line string block.
PARENT and BOL are the as in other matchers."
(and (treesit-node-match-p parent "multiline_string_fragment")
(save-excursion
;; Less than 2 newlines between point and string start.
(not (search-backward "\n" (treesit-node-start parent) t 2)))))