Function: treesit--linecol-cache-set
treesit--linecol-cache-set is a function defined in treesit.c.
Signature
(treesit--linecol-cache-set LINE COL BYTEPOS)
Documentation
Set the linecol cache for the current buffer.
This is used for internal testing and debugging ONLY.
Source Code
// Defined in /usr/src/emacs/src/treesit.c
{
CHECK_FIXNUM (line);
CHECK_FIXNUM (col);
CHECK_FIXNUM (bytepos);
struct ts_linecol linecol;
linecol.line = XFIXNUM (line);
linecol.col = XFIXNUM (col);
linecol.bytepos = XFIXNUM (bytepos);
SET_BUF_TS_LINECOL_POINT (current_buffer, linecol);
return Qnil;
}