Function: go-ts-mode--method-elem-supported-p

go-ts-mode--method-elem-supported-p is a byte-compiled function defined in go-ts-mode.el.gz.

Signature

(go-ts-mode--method-elem-supported-p)

Documentation

Return t if Go grammar uses method_elem instead of method_spec.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/go-ts-mode.el.gz
;; tree-sitter-go changed method_spec to method_elem in
;; https://github.com/tree-sitter/tree-sitter-go/commit/b82ab803d887002a0af11f6ce63d72884580bf33
(defun go-ts-mode--method-elem-supported-p ()
  "Return t if Go grammar uses `method_elem' instead of `method_spec'."
  (ignore-errors
    (or (treesit-query-string "" '((method_elem) @cap) 'go) t)))