Function: go-ts-mode--struct-node-p
go-ts-mode--struct-node-p is a byte-compiled function defined in
go-ts-mode.el.gz.
Signature
(go-ts-mode--struct-node-p NODE)
Documentation
Return t if NODE is a struct.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/go-ts-mode.el.gz
(defun go-ts-mode--struct-node-p (node)
"Return t if NODE is a struct."
(and
(string-equal "type_declaration" (treesit-node-type node))
(treesit-search-subtree node "struct_type" nil nil 2)))