Function: lua-ts--top-level-function-call-matcher
lua-ts--top-level-function-call-matcher is a byte-compiled function
defined in lua-ts-mode.el.gz.
Signature
(lua-ts--top-level-function-call-matcher NODE &rest _)
Documentation
Matches if NODE is within a top-level function call.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/lua-ts-mode.el.gz
(defun lua-ts--top-level-function-call-matcher (node &rest _)
"Matches if NODE is within a top-level function call."
(let* ((g-g-p (lua-ts--g-g-parent node))
(g-g-g-p (lua-ts--g-g-g-parent node)))
(and (equal "function_call" (treesit-node-type g-g-p))
(equal "chunk" (treesit-node-type g-g-g-p)))))