Function: treesit-node-parser

treesit-node-parser is a function defined in treesit.c.

Signature

(treesit-node-parser NODE)

Documentation

Return the parser to which NODE belongs.

Other relevant functions are documented in the treesit group.

View in manual

Shortdoc

;; treesit
(treesit-node-parser node)
    e.g. => #<treesit-parser for c>

Source Code

// Defined in /usr/src/emacs/src/treesit.c
{
  CHECK_TS_NODE (node);
  return XTS_NODE (node)->parser;
}