Structs§
Enums§
Functions§
- ts_
highlight_ ⚠buffer_ content - Get the HTML content of a
TSHighlightBuffer
instance as a raw pointer. - ts_
highlight_ ⚠buffer_ delete - Deletes a
TSHighlightBuffer
instance. - ts_
highlight_ ⚠buffer_ len - Get the length of the HTML content of a
TSHighlightBuffer
instance. - ts_
highlight_ ⚠buffer_ line_ count - Get the number of lines in a
TSHighlightBuffer
instance. - ts_
highlight_ ⚠buffer_ line_ offsets - Get the line offsets of a
TSHighlightBuffer
instance as a C-style array. - ts_
highlight_ buffer_ new - ts_
highlighter_ ⚠add_ language - Add a language to a
TSHighlighter
instance. - ts_
highlighter_ ⚠delete - Deletes a
TSHighlighter
instance. - ts_
highlighter_ ⚠highlight - Highlight a string of source code.
- ts_
highlighter_ ⚠new - Create a new
TSHighlighter
instance.