TreeSitterHighlightBuffer class final
Dart ownership wrapper for the C facade's TSHighlightBuffer.
Like the native struct, each buffer owns one reusable highlighter and one reusable renderer for its entire live lifetime.
Constructors
Properties
Methods
-
dispose(
) → void - Releases the owned buffers. Native use-after-delete is undefined; Dart reports it deterministically as StateError.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
Iterable< TreeSitterHighlightEvent> events, List<int> source, TreeSitterHighlightAttributeCallback attributeCallback) → void -
reset(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited