TreeSitterNativeInputRead typedef
TreeSitterNativeInputRead =
List<int> Function(Object? payload, int byteOffset, TreeSitterPoint position)
Native TSInput.read callback shape.
The returned list is the borrowed byte buffer and its length; an empty list is the native zero-length end-of-input marker.
Implementation
typedef TreeSitterNativeInputRead =
List<int> Function(
Object? payload,
int byteOffset,
TreeSitterPoint position,
);