Function: java-ts-mode--standalone-predicate
java-ts-mode--standalone-predicate is a byte-compiled function defined
in java-ts-mode.el.gz.
Signature
(java-ts-mode--standalone-predicate NODE)
Documentation
Java's standalone predicate.
Return t if NODE is on the start of a line.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/java-ts-mode.el.gz
(defun java-ts-mode--standalone-predicate (node)
"Java's standalone predicate.
Return t if NODE is on the start of a line."
(save-excursion
(goto-char (treesit-node-start node))
(if (looking-back (rx bol (* whitespace) (? ".")) (pos-bol))
t
(back-to-indentation)
(when (eq (char-after) ?.)
(point)))))